Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Error with Latest P2

What jdk version and vendor do you use? Make sure it is at least java 7

-- 
Regards,
Igor

On Tue, Apr 14, 2015, at 09:40 AM, Cristiano Gavião wrote:
> Hi,
> 
> I've set eclipse to use latest p2 following this page: 
> https://www.eclipse.org/m2e/m2e-downloads.html
> 
> But I'm getting an error using this address: 
> https://otto.takari.io/content/sites/m2e.extras/m2e/1.6.0/N/LATEST/
> 
> org.eclipse.equinox.p2.ui
> Error
> Tue Apr 14 10:35:13 BRT 2015
> Unable to read repository at 
> https://otto.takari.io/content/sites/m2e.extras/m2e/1.6.0/N/LATEST/content.xml.
> 
> org.eclipse.equinox.p2.core.ProvisionException: Unable to read 
> repository at 
> https://otto.takari.io/content/sites/m2e.extras/m2e/1.6.0/N/LATEST/content.xml.
>      at 
> org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:192)
>      at 
> org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:66)
>      at 
> org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:88)
>      at 
> org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
>      at 
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:768)
>      at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
>      at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      at java.lang.reflect.Method.invoke(Method.java:497)
>      at 
> org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:116)
>      at 
> org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:328)
>      at 
> org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:141)
>      at 
> org.eclipse.oomph.p2.internal.core.CachingRepositoryManager$Metadata.loadRepository(CachingRepositoryManager.java:378)
>      at 
> org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
>      at 
> org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
>      at 
> org.eclipse.equinox.p2.ui.ProvisioningUI.loadMetadataRepository(ProvisioningUI.java:440)
>      at 
> org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getMetadataRepository(MetadataRepositoryElement.java:126)
>      at 
> org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getRepository(MetadataRepositoryElement.java:115)
>      at 
> org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getQueryable(MetadataRepositoryElement.java:109)
>      at 
> org.eclipse.equinox.internal.p2.ui.QueryProvider.getQueryDescriptor(QueryProvider.java:88)
>      at 
> org.eclipse.equinox.internal.p2.ui.model.QueriedElement.fetchChildren(QueriedElement.java:101)
>      at 
> org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.fetchChildren(MetadataRepositoryElement.java:77)
>      at 
> org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:34)
>      at 
> org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:232)
>      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: 
> Unexpected error: java.security.InvalidAlgorithmParameterException: the 
> trustAnchors parameter must be non-empty
>      at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
>      at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1937)
>      at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1894)
>      at 
> sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1877)
>      at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1398)
>      at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1375)
>      at 
> org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:535)
>      at 
> org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:403)
>      at 
> org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
>      at 
> org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
>      at 
> org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
>      at 
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
>      at 
> org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
>      at 
> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
>      at 
> org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:259)
>      at 
> org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
>      ... 1 more
> Caused by: java.lang.RuntimeException: Unexpected error: 
> java.security.InvalidAlgorithmParameterException: the trustAnchors 
> parameter must be non-empty
>      at
>      sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:90)
>      at sun.security.validator.Validator.getInstance(Validator.java:179)
>      at 
> sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:312)
>      at 
> sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:171)
>      at 
> sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:184)
>      at 
> sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
>      at 
> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1460)
>      at 
> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
>      at sun.security.ssl.Handshaker.processLoop(Handshaker.java:969)
>      at sun.security.ssl.Handshaker.process_record(Handshaker.java:904)
>      at
>      sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050)
>      at 
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)
>      at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1391)
>      ... 12 more
> Caused by: java.security.InvalidAlgorithmParameterException: the 
> trustAnchors parameter must be non-empty
>      at 
> java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200)
>      at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120)
>      at 
> java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:104)
>      at
>      sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:88)
>      ... 24 more
> 
> 
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top