Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » NPE during target.fragments.source action
NPE during target.fragments.source action [message #1232779] Fri, 17 January 2014 18:11 Go to next message
Axel Guckelsberger is currently offline Axel Guckelsberger
Messages: 224
Registered: July 2009
Senior Member
Hi all,

I have a working Jenkins job which builds a p2 site and afterwards three
products. These are based on several shared features which are provided by
p2 repositories built by other jobs.

Now I added another feature containing German locale fragments for a number
of plug-ins to the product feature. This leads to the following problem:

init actor: 
copyTargetFragments[org.example.helloworld:osgi.bundle$1.0.0.qualifier#target.fragments.source]
Action 
org.example.helloworld:osgi.bundle$1.0.0.qualifier#target.fragments.source 
using 'up to date' policy ACTOR: Rebuild needed: Actor decision
INFO:  [start 
org.example.helloworld:osgi.bundle$1.0.0.qualifier#target.fragments.source]
  Product alias = action.output
  Product base = ${buckminster.output}/fragments.source/
  buckminster.component=org.example.helloworld
  workspace.root=/var/lib/jenkins/jobs/HelloWorldProduct/workspace
  buckminster.temp=/var/lib/jenkins/jobs/HelloWorldProduct/workspace/buckminster.temp/org.example.helloworld_1.0.0-
osgi.bundle/temp
  fragment.attribute=source.bundle.jar
  buckminster.home=/var/lib/jenkins/jobs/HelloWorldProduct/workspace/refProduct/org.example.helloworld/
  buckminster.output=/var/lib/jenkins/jobs/HelloWorldProduct/workspace/buckminster.output/org.example.helloworld_1.0.0-
osgi.bundle
  generator.buildTimestamp.format=2014-01-17T18:00:15.903+0000
  buckminster.component.type=osgi.bundle
  buckminster.version=1.0.0.qualifier
  org.example.helloworld.unqualified.owner.version=1.0.1
  eclipse.home=/var/.../buckminster-headless
  target.location=/var/lib/jenkins/jobs/HelloWorldProduct/workspace/.buckminster/tp
Doing full workspace refresh

Cancel jobs that are known to run indefinitely...
CANCELED JOB: (org.eclipse.core.internal.resources.DelayedSnapshotJob) 
Periodic workspace save.(7)
Waiting for jobs to end
org.eclipse.core.runtime.CoreException: java.lang.NullPointerException
        at 
org.eclipse.buckminster.runtime.BuckminsterException.fromMessage(BuckminsterException.java:57)
        at 
org.eclipse.buckminster.runtime.BuckminsterException.wrap(BuckminsterException.java:123)
        at 
org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:205)
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager$DirectActionInvocation.execute(PerformManager.java:143)
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:454)
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:305)
        at 
org.eclipse.buckminster.core.commands.Perform.internalRun(Perform.java:108)
        at 
org.eclipse.buckminster.core.commands.WorkspaceCommand.run(WorkspaceCommand.java:86)
        at 
org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:200)
        at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:343)
        at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:284)
        at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:358)
        at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: java.lang.NullPointerException
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager.addAttributeChildren(PerformManager.java:320)
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager.getOrderedActionList(PerformManager.java:414)
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:435)
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
        at 
org.eclipse.buckminster.pde.internal.actor.FragmentsActor.internalPerform(FragmentsActor.java:190)
        at 
org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:195)
        ... 23 more
java.lang.NullPointerException
Caused by: java.lang.NullPointerException
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager.addAttributeChildren(PerformManager.java:320)
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager.getOrderedActionList(PerformManager.java:414)
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:435)
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
        at 
org.eclipse.buckminster.pde.internal.actor.FragmentsActor.internalPerform(FragmentsActor.java:190)
        at 
org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:195)
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager$DirectActionInvocation.execute(PerformManager.java:143)
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:454)
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
        at 
org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:305)
        at 
org.eclipse.buckminster.core.commands.Perform.internalRun(Perform.java:108)
        at 
org.eclipse.buckminster.core.commands.WorkspaceCommand.run(WorkspaceCommand.java:86)
        at 
org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:200)
        at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:343)
        at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:284)
        at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:358)
        at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1426)



Does anybody have an idea about what could be the problem here?

Regards,
Axel

[Updated on: Fri, 17 January 2014 18:16]

Report message to a moderator

Re: NPE during target.fragments.source action [message #1233783 is a reply to message #1232779] Mon, 20 January 2014 13:06 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
Hi Axel,

Please report this in a bugzilla. An NPE should always be considered a bug.

- thomas

On 2014-01-17 19:11, Axel Guckelsberger wrote:
> Hi all,
>
> I have a working Jenkins job which builds a p2 site and afterwards three
> products. These are based on several shared features which are provided by
> p2 repositories built by other jobs.
>
> Now I added another feature containing German locale fragments for a number
> of plug-ins to the product feature. This leads to the following problem:
>
>
> init actor:
> copyTargetFragments[org.example.helloworld:osgi.bundle$1.0.0.qualifier#target.fragments.source]
> Action
> org.example.helloworld:osgi.bundle$1.0.0.qualifier#target.fragments.source
> using 'up to date' policy ACTOR: Rebuild needed: Actor decision
> INFO: [start
> org.example.helloworld:osgi.bundle$1.0.0.qualifier#target.fragments.source]
> Product alias = action.output
> Product base = ${buckminster.output}/fragments.source/
> buckminster.component=org.example.helloworld
> workspace.root=/var/lib/jenkins/jobs/HelloWorldProduct/workspace
> buckminster.temp=/var/lib/jenkins/jobs/HelloWorldProduct/workspace/buckminster.temp/org.example.helloworld_1.0.0-
> osgi.bundle/temp
> fragment.attribute=source.bundle.jar
> buckminster.home=/var/lib/jenkins/jobs/HelloWorldProduct/workspace/refProduct/org.example.helloworld/
> buckminster.output=/var/lib/jenkins/jobs/HelloWorldProduct/workspace/buckminster.output/org.example.helloworld_1.0.0-
> osgi.bundle
> generator.buildTimestamp.format=2014-01-17T18:00:15.903+0000
> buckminster.component.type=osgi.bundle
> buckminster.version=1.0.0.qualifier
> org.example.helloworld.unqualified.owner.version=1.0.1
> eclipse.home=/var/.../buckminster-headless
> target.location=/var/lib/jenkins/jobs/HelloWorldProduct/workspace/.buckminster/tp
> Doing full workspace refresh
>
> Cancel jobs that are known to run indefinitely...
> CANCELED JOB: (org.eclipse.core.internal.resources.DelayedSnapshotJob)
> Periodic workspace save.(7)
> Waiting for jobs to end
> org.eclipse.core.runtime.CoreException: java.lang.NullPointerException
> at
> org.eclipse.buckminster.runtime.BuckminsterException.fromMessage(BuckminsterException.java:57)
> at
> org.eclipse.buckminster.runtime.BuckminsterException.wrap(BuckminsterException.java:123)
> at
> org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:205)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager$DirectActionInvocation.execute(PerformManager.java:143)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:454)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:305)
> at
> org.eclipse.buckminster.core.commands.Perform.internalRun(Perform.java:108)
> at
> org.eclipse.buckminster.core.commands.WorkspaceCommand.run(WorkspaceCommand.java:86)
> at
> org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:200)
> at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:343)
> at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:284)
> at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:358)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.addAttributeChildren(PerformManager.java:320)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.getOrderedActionList(PerformManager.java:414)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:435)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
> at
> org.eclipse.buckminster.pde.internal.actor.FragmentsActor.internalPerform(FragmentsActor.java:190)
> at
> org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:195)
> ... 23 more
> java.lang.NullPointerException
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.addAttributeChildren(PerformManager.java:320)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.getOrderedActionList(PerformManager.java:414)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:435)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
> at
> org.eclipse.buckminster.pde.internal.actor.FragmentsActor.internalPerform(FragmentsActor.java:190)
> at
> org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:195)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager$DirectActionInvocation.execute(PerformManager.java:143)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:454)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:305)
> at
> org.eclipse.buckminster.core.commands.Perform.internalRun(Perform.java:108)
> at
> org.eclipse.buckminster.core.commands.WorkspaceCommand.run(WorkspaceCommand.java:86)
> at
> org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:200)
> at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:343)
> at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:284)
> at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:358)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
>
>
>
> Does anybody have an idea about what could be the problem here?
>
> Regards,
> Axel
>
Re: NPE during target.fragments.source action [message #1234196 is a reply to message #1233783] Tue, 21 January 2014 12:52 Go to previous message
Axel Guckelsberger is currently offline Axel Guckelsberger
Messages: 224
Registered: July 2009
Senior Member
Done: bug 426240
Previous Topic:inconsistent xtext version ranges for binary dependencies during materialization
Next Topic:Headless build for Java-8 applications
Goto Forum:
  


Current Time: Thu Oct 02 16:34:04 GMT 2014

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

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