Every buckminster action fails with NPE [message #1451135] |
Thu, 23 October 2014 11:38  |
Eclipse User |
|
|
|
Hello
After updating the buckminster feature to 1.6.0.v20140801-0035 every action fails. Even buckminster.clean fails with a NPE.
Has anyone seen this error? Anything I can do about it?
org.eclipse.core.runtime.CoreException: BUILD FAILED
at org.eclipse.buckminster.ant.AntRunner.handleInvocationTargetException(AntRunner.java:167)
at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:322)
at org.eclipse.buckminster.ant.actor.AntActor.internalPerform(AntActor.java:254)
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.ui.InvokeActionJob.runInWorkspace(InvokeActionJob.java:67)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:459)
at org.apache.tools.ant.PropertyHelper.setUserProperty(PropertyHelper.java:750)
at org.apache.tools.ant.Project.setUserProperty(Project.java:563)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.setProperties(InternalAntRunner.java:267)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:632)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:525)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:318)
... 9 more
BUILD FAILED: java.lang.NullPointerException
Thanks!
Christoph
|
|
|
Re: Every buckminster action fails with NPE [message #1451148 is a reply to message #1451135] |
Thu, 23 October 2014 12:03   |
Eclipse User |
|
|
|
Using the DEBUG Logging, I noticed that right before the build fails buckminster attempts to set an ant property:
[ant] Setting ro project property: eclipse.buildId -> 4.4.1.M20140925-0400
[ant] Setting ro project property: osgi.configuration.area.default -> null
org.eclipse.core.runtime.CoreException: BUILD FAILED
The workaround I found to keep my build working was to add the following empty property declarations the configuration/config.ini of my eclipse installation.
osgi.configuration.area.default=
osgi.user.area.default=
osgi.user.area=
This seems like a bug to me, so I filed Bug 448478.
|
|
|
Re: Every buckminster action fails with NPE [message #1451162 is a reply to message #1451148] |
Thu, 23 October 2014 12:23   |
Eclipse User |
|
|
|
Hi
What version of ANT are you using?
I've noticed that 1.9.4 is now available and it causes some XSLT scripts
to fail under Buckminster 4.2 with apparently undefined variables. I've
yet to diagnose the problem, but bad variable defaults seems
suspiciously similar to your issue.
Regards
Ed Willink
On 23/10/2014 13:03, Christoph Keimel wrote:
> Using the DEBUG Logging, I noticed that right before the build fails
> buckminster attempts to set an ant property:
>
> [ant] Setting ro project property: eclipse.buildId -> 4.4.1.M20140925-0400
> [ant] Setting ro project property: osgi.configuration.area.default -> null
> org.eclipse.core.runtime.CoreException: BUILD FAILED
>
> The workaround I found to keep my build working was to add the following
> empty property declarations the configuration/config.ini of my eclipse
> installation.
>
> osgi.configuration.area.default=
> osgi.user.area.default=
> osgi.user.area=
>
> This seems like a bug to me, so I filed
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=448478.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05585 seconds