Java problem on TMC Settings

508 views
Skip to first unread message

turatt...@gmail.com

unread,
Oct 7, 2016, 4:47:40 AM10/7/16
to mooc.fi
Hi,

I'm having this problem when click on "Refresh list" in the TMC Settings window:

Course refresh failed. Download failed: java.lang.RuntimeException Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

I'm running tmc-netbeans_mooc_tmcbeans-windows.exe on a ubuntu OS 14.04 LTS, and with OpenJDKPortable 7 Update 9 b02.
Thanks in advice for the help!

turatt...@gmail.com

unread,
Oct 7, 2016, 4:54:54 AM10/7/16
to mooc.fi, turatt...@gmail.com
Actually I don't know exactly what is the JDK version installed because i'm running netbeans form a portable folder that i copied to this pc from my windows pc.
To run the program ubuntu runs wine, and i think i have JDK 7 installed on the windows partition

Gianni Turatta

unread,
Oct 7, 2016, 4:57:18 AM10/7/16
to mooc.fi, turatt...@gmail.com
Ok i've just checked i have the JDK version jdk-7u79-windows-x64

mooc.fi

unread,
Oct 9, 2016, 7:31:52 AM10/9/16
to mooc.fi, turatt...@gmail.com
Most likely reason for this error is that there is a permission issue with the Java installation. Are you sure that NetBeans/TMCbeans is properly using the portable java installation?

Basically it fails to check the ssl certificates for a properly secured connection.

One really bad solution would be to use http://insecure.testmycode.io/mooc as the server address. However it does make all messages between TMC plugin and server clear text and easily readable for anyone sniffing your internet traffic. Thus exposing your password and submissions...


Gianni Turatta

unread,
Oct 10, 2016, 5:23:04 PM10/10/16
to mooc.fi, turatt...@gmail.com, moo...@googlegroups.com
Gonna check if it is properly using the portable java installation, thanks man
Reply all
Reply to author
Forward
0 new messages