Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Can't install any plugins(java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty)
Can't install any plugins [message #1718767] Wed, 30 December 2015 00:52 Go to next message
Seppo Hovi is currently offline Seppo HoviFriend
Messages: 1
Registered: December 2015
Junior Member
Fought with this all night and tried pretty much everything. About to lose hope and switch to IntelliJ, as the plugins are what keep Eclipse a top choice for me.

Unable to read repository at https://raw.github.com/mystilleef/eclipse-smartclose-updatesite/master/com.laboki.eclipse.updatesite.smartclose/content.xml.
java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty


I'm running
Ubuntu 15.10
java version "1.8.0_66" (oracle)

Eclipse IDE for Java Developers

Version: Mars.1 Release (4.5.1)
Build id: 20150924-1200

This is the vm args part of my eclipse.ini

-vmargs
-Dosgi.requiredJavaVersion=1.8

-XX:MaxPermSize=256m
-Xms256m
-Xmx2048m
-javaagent:/home/jp/eclipse/lombok.jar
-Djava.net.preferIPv4Stack=true
-Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts

Added the last 2 lines after googling this issue, no other changes in eclipse.ini.




This is a rather fresh install. Before I tried to install any plug ins, I tried to use java 9 early access, but that caused lot of issues so fell back to java 8. So the java9 install might have fucked some certs up or someting, although I did do my best to rule that out.

So far I have tried:

- Removing all instances of java and installing JDK8.
- sudo update-ca-certificates -f
- sudo apt-get install --reinstall ca-certificates-java
- doing the 2 above again after I had manually deleted /etc/ssl/certs/java/cacerts




Re: Can't install any plugins [message #1718772 is a reply to message #1718767] Wed, 30 December 2015 04:10 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3413
Registered: July 2009
Senior Member

Is it a problem for any plug-in as the subject says, or just the "Smart Close" plug-in?

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Can't install any plugins [message #1718776 is a reply to message #1718767] Wed, 30 December 2015 05:33 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30203
Registered: July 2009
Senior Member
Seppo,

When I open that link in the browser, it looks like this is not well
formed xml. Looking at the source of that page, it looks as if it's
just the string "Not Found". So something isn't right about this site.

On 30/12/2015 5:07 AM, Seppo Hovi wrote:
> Fought with this all night and tried pretty much everything. About to
> lose hope and switch to IntelliJ, as the plugins are what keep Eclipse
> a top choice for me.
>
> Unable to read repository at
> https://raw.github.com/mystilleef/eclipse-smartclose-updatesite/master/com.laboki.eclipse.updatesite.smartclose/content.xml.
> java.lang.RuntimeException: Unexpected error:
> java.security.InvalidAlgorithmParameterException: the trustAnchors
> parameter must be non-empty
>
>
> I'm running Ubuntu 15.10
> java version "1.8.0_66" (oracle)
>
> Eclipse IDE for Java Developers
>
> Version: Mars.1 Release (4.5.1)
> Build id: 20150924-1200
>
> This is the vm args part of my eclipse.ini
>
> -vmargs
> -Dosgi.requiredJavaVersion=1.8
>
> -XX:MaxPermSize=256m
> -Xms256m
> -Xmx2048m
> -javaagent:/home/jp/eclipse/lombok.jar
> -Djava.net.preferIPv4Stack=true
> -Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts
>
> Added the last 2 lines after googling this issue, no other changes in
> eclipse.ini.
>
>
>
>
> This is a rather fresh install. Before I tried to install any plug
> ins, I tried to use java 9 early access, but that caused lot of issues
> so fell back to java 8. So the java9 install might have fucked some
> certs up or someting, although I did do my best to rule that out.
>
> So far I have tried:
> - Removing all instances of java and installing JDK8.
> - sudo update-ca-certificates -f
> - sudo apt-get install --reinstall ca-certificates-java
> - doing the 2 above again after I had manually deleted
> /etc/ssl/certs/java/cacerts
>
>
>
>
>
Previous Topic:Uninstall Eclipse Mars
Next Topic:Eclipse Job custom ProgressMonitorDialog instance
Goto Forum:
  


Current Time: Mon Jun 17 01:58:15 GMT 2019

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

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

Back to the top