Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » NPE non-deterministic build
NPE non-deterministic build [message #513542] Wed, 10 February 2010 14:28 Go to next message
Niels Bech Nielsen is currently offline Niels Bech NielsenFriend
Messages: 16
Registered: July 2009
Junior Member
When I build my project using 3.4.2, I get occasionally NPE errors around 40% of the time.

I think it may be related to conflicting dependencies, but I am not really certain.

I have tried reading through verbose build outputs, but it is not easy to find any authoritive answer.

Does anybody have any idea?

Of course there is no problem on 3.5.1, but our build server (and target) is 3.4.2, so we need to find out.

Regares
/Niels

java.lang.NullPointerException
at org.eclipse.osgi.internal.module.GroupingChecker$PackageRoot s.subSet(GroupingChecker.java:337)
at org.eclipse.osgi.internal.module.GroupingChecker$PackageRoot s.superSet(GroupingChecker.java:352)
at org.eclipse.osgi.internal.module.GroupingChecker.createPacka geRoots(GroupingChecker.java:185)
at org.eclipse.osgi.internal.module.GroupingChecker.getPackageR oots(GroupingChecker.java:129)
at org.eclipse.osgi.internal.module.GroupingChecker$PackageRoot s.isConsistentClassSpace(GroupingChecker.java:285)
at org.eclipse.osgi.internal.module.GroupingChecker.isConsisten tInternal(GroupingChecker.java:103)
at org.eclipse.osgi.internal.module.GroupingChecker.isConsisten tInternal(GroupingChecker.java:67)
at org.eclipse.osgi.internal.module.GroupingChecker.isConsisten tInternal(GroupingChecker.java:75)
at org.eclipse.osgi.internal.module.GroupingChecker.isConsisten t(GroupingChecker.java:52)
at org.eclipse.osgi.internal.module.ResolverImpl.addConflicts(R esolverImpl.java:720)
at org.eclipse.osgi.internal.module.ResolverImpl.getConflicts(R esolverImpl.java:711)
at org.eclipse.osgi.internal.module.ResolverImpl.findBestCombin ation(ResolverImpl.java:585)
at org.eclipse.osgi.internal.module.ResolverImpl.checkUsesConst raints(ResolverImpl.java:539)
at org.eclipse.osgi.internal.module.ResolverImpl.resolveBundles 0(ResolverImpl.java:535)
at org.eclipse.osgi.internal.module.ResolverImpl.resolveBundles (ResolverImpl.java:501)
at org.eclipse.osgi.internal.module.ResolverImpl.resolve(Resolv erImpl.java:388)
at org.eclipse.osgi.internal.resolver.StateImpl.resolve(StateIm pl.java:428)
at org.eclipse.osgi.internal.resolver.StateImpl.resolve(StateIm pl.java:488)
at org.eclipse.pde.internal.build.site.BuildTimeSite.getRegistr y(BuildTimeSite.java:140)
at org.eclipse.pde.internal.build.BuildScriptGenerator.generate Features(BuildScriptGenerator.java:237)
at org.eclipse.pde.internal.build.BuildScriptGenerator.generate (BuildScriptGenerator.java:102)
at org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTas k.run(BuildScriptGeneratorTask.java:91)
at org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTas k.execute(BuildScriptGeneratorTask.java:79)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
Re: NPE non-deterministic build [message #513926 is a reply to message #513542] Thu, 11 February 2010 17:04 Go to previous message
Niels Bech Nielsen is currently offline Niels Bech NielsenFriend
Messages: 16
Registered: July 2009
Junior Member
Found it. Had a duplicate package name in two different bundles, so case closed
Previous Topic:my nature methods are never executed
Next Topic:produce baseLocation from target definition
Goto Forum:
  


Current Time: Tue May 23 15:02:39 GMT 2017

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

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