Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » "trustAnchors parameter must be non-empty" during plugin installation
"trustAnchors parameter must be non-empty" during plugin installation [message #1774203] Wed, 11 October 2017 15:59 Go to next message
ecl ecl is currently offline ecl eclFriend
Messages: 9
Registered: October 2017
Junior Member
After I upgraded from 4.7.1 to 4.7.1a, I received to following error message when checking for updates for the EGradle Editor 2.1.0 plugin:

Quote:
Unable to read repository at https://dl.bintray.com/de-jcup/egradle/content.xml
java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty


I tried to uninstall and reinstall the plugin. Unfortunately, it was possible to uninstall the plugin, but now I can not reinstall it and receive the same error message.

There are three further observations:

  1. Link status: If you check https://dl.bintray.com/de-jcup/egradle/content.xml, there seems indeed to be no valid repository. This is strange, because minutes before upgrading to 4.7.1a checking for updates of the very same repository worked. Maybe this is just a coincidence?
  2. The error message suggests some security problem. Why is that?
  3. There was an error message during the upgrade to 4.7.1a involving some p2 folder, which I unfortunately do not remember and can not reproduce. Could it help to carefully delete some content of the $HOME/.eclipse or $HOME/.p2 folders?

[Updated on: Thu, 12 October 2017 13:04]

Report message to a moderator

Re: "trustAnchors parameter must be non-empty" during plugin installation [message #1774239 is a reply to message #1774203] Thu, 12 October 2017 06:02 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
It works for me. Sometimes these kinds of validation issues depend on the certificates in Java's certificate store or on having the latest security implementations so I'd try to install the latest Java 8 or Java 9 to see if that fixes the problem. You might also try http://dl.bintray.com/de-jcup/egradle/ (without the https)...

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: "trustAnchors parameter must be non-empty" during plugin installation [message #1774252 is a reply to message #1774239] Thu, 12 October 2017 08:52 Go to previous message
ecl ecl is currently offline ecl eclFriend
Messages: 9
Registered: October 2017
Junior Member
Thank you very much for your helpful reply, Ed!

I think the problem has indeed to do with certificate issues.

Both the http repository with OpenJDK Java 9+181 and the https repository with Oracle Java 9+181 work fine.

It seems that this issue https://github.com/docker-library/openjdk/issues/145 is relevant. Apparently, the cacerts file in jdk-9/lib/security/ of OpenJDK 9 is bugged. You can substitute/link this file either from OpenJDK Java 8 or Oracle Java 9.
Previous Topic:Unable to launch Eclipse on Mac - Application Error
Next Topic:No plug-ins or fragments to import
Goto Forum:
  


Current Time: Tue Apr 23 11:06:35 GMT 2024

Powered by FUDForum. Page generated in 3.33689 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top