Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Babel » NPE when using archived 0.13.1 update site with tycho
NPE when using archived 0.13.1 update site with tycho [message #1751455] Tue, 10 January 2017 14:00 Go to next message
Kristine Jetzke is currently offline Kristine JetzkeFriend
Messages: 8
Registered: May 2016
Junior Member
I get the following exception when using the archived babel 0.13.1 update site (http://archive.eclipse.org/technology/babel/update-site/R0.13.1/mars) in a tycho build.

14:14:23 [ERROR] Internal error: java.lang.NullPointerException -> [Help 1]
14:14:23 org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
14:14:23 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
14:14:23 	at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
14:14:23 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:14:23 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
14:14:23 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
14:14:23 	at java.lang.reflect.Method.invoke(Method.java:483)
14:14:23 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
14:14:23 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
14:14:23 	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:181)
14:14:23 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:14:23 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
14:14:23 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
14:14:23 	at java.lang.reflect.Method.invoke(Method.java:483)
14:14:23 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:133)
14:14:23 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:68)
14:14:23 	at hudson.remoting.UserRequest.perform(UserRequest.java:120)
14:14:23 	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
14:14:23 	at hudson.remoting.Request$2.run(Request.java:326)
14:14:23 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
14:14:23 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
14:14:23 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
14:14:23 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
14:14:23 	at java.lang.Thread.run(Thread.java:745)
14:14:23 Caused by: java.lang.NullPointerException
14:14:23 	at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:666)
14:14:23 	at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:591)
14:14:23 	at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:723)
14:14:23 	at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromOneMirror(RepositoryArtifactProvider.java:229)
14:14:23 	at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnyMirror(RepositoryArtifactProvider.java:212)
14:14:23 	at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.access$1(RepositoryArtifactProvider.java:207)
14:14:23 	at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider$1.perform(RepositoryArtifactProvider.java:187)
14:14:23 	at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:707)
14:14:23 	at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifacts(SimpleArtifactRepository.java:778)
14:14:23 	at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnyChildRepository(RepositoryArtifactProvider.java:199)
14:14:23 	at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnyFormatAvailableInRepository(RepositoryArtifactProvider.java:168)
14:14:23 	at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnySource(RepositoryArtifactProvider.java:154)
14:14:23 	at org.eclipse.tycho.repository.p2base.artifact.provider.CompositeArtifactProviderBaseImpl.getArtifact(CompositeArtifactProviderBaseImpl.java:52)
14:14:23 	at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadCanonicalArtifact(MirroringArtifactProvider.java:244)
14:14:23 	at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadMostSpecificNeededFormatOfArtifact(MirroringArtifactProvider.java:237)
14:14:23 	at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadArtifact(MirroringArtifactProvider.java:222)
14:14:23 	at org.eclipse.tycho.repository.local.MirroringArtifactProvider.makeOneFormatLocallyAvailable(MirroringArtifactProvider.java:211)
14:14:23 	at org.eclipse.tycho.repository.local.MirroringArtifactProvider.makeLocallyAvailable(MirroringArtifactProvider.java:182)
14:14:23 	at org.eclipse.tycho.repository.local.MirroringArtifactProvider.getArtifactFile(MirroringArtifactProvider.java:121)
14:14:23 	at org.eclipse.tycho.repository.p2base.artifact.provider.CompositeArtifactProvider.getArtifactFile(CompositeArtifactProvider.java:85)
14:14:23 	at org.eclipse.tycho.p2.target.TargetPlatformBaseImpl.getLocalArtifactFile(TargetPlatformBaseImpl.java:128)
14:14:23 	at org.eclipse.tycho.p2.resolver.P2ResolverImpl.addUnit(P2ResolverImpl.java:254)
14:14:23 	at org.eclipse.tycho.p2.resolver.P2ResolverImpl.toResolutionResult(P2ResolverImpl.java:217)
14:14:23 	at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:209)
14:14:23 	at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:116)
14:14:23 	at org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies(P2DependencyResolver.java:367)
14:14:23 	at org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies(P2DependencyResolver.java:335)
14:14:23 	at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:117)
14:14:23 	at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:95)
14:14:23 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
14:14:23 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
14:14:23 	... 22 more


I assume it is a problem with the mirrors - similar to the problems reported in https://www.eclipse.org/forums/index.php/t/1071313/ - because it works if I disable the p2 mirrors with
-Dtycho.disableP2Mirrors=true
.
Re: NPE when using archived 0.13.1 update site with tycho [message #1751514 is a reply to message #1751455] Wed, 11 January 2017 01:51 Go to previous messageGo to next message
Kit Lo is currently offline Kit LoFriend
Messages: 120
Registered: July 2009
Senior Member
Did you try the latest language packs?
http://download.eclipse.org/technology/babel/babel_language_packs/R0.14.1/mars/mars.php
Re: NPE when using archived 0.13.1 update site with tycho [message #1751520 is a reply to message #1751514] Wed, 11 January 2017 06:27 Go to previous message
Kristine Jetzke is currently offline Kristine JetzkeFriend
Messages: 8
Registered: May 2016
Junior Member
Yes, and it works but I need to keep using the archived 0.13.1 site for non-technical reasons.
Previous Topic:Babel Language Packs R0.14.1 are now available!
Next Topic:Missing weekly integration build for Mars
Goto Forum:
  


Current Time: Tue Aug 21 11:55:41 GMT 2018

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

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

Back to the top