evanchsa/eik — Issue #2: NPE Creating New "Apache Karaf Installation"
Author: kwesterfeld
Created: 2011-10-12 15:21:42+00:00
State: open

I am using a snapshot build of EIK but it is based on trunk.

I am getting the NPE listed below most of the time when importing a new Karaf target platform. I have no idea why it works sometimes and not others, but most of the time it is broken.

!STACK 0
java.lang.NullPointerException
at info.evanchik.eclipse.karaf.ui.project.KarafProjectBuilder.createTargetDefinitionFile(KarafProjectBuilder.java:334)
at info.evanchik.eclipse.karaf.ui.project.KarafProjectBuilder.createTargetPlatform(KarafProjectBuilder.java:349)
at info.evanchik.eclipse.karaf.ui.project.KarafProjectBuilder.fullBuild(KarafProjectBuilder.java:166)
at info.evanchik.eclipse.karaf.ui.project.KarafProjectBuilder.build(KarafProjectBuilder.java:78)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)