ceylon/ceylon-ide-eclipse — Issue #179: NPE when a Java file is added to Ceylon project
Author: gavinking
Created: 2012-02-26 20:06:35+00:00
State: open
Labels: bug, high priority

I added a `.java` source file to a Ceylon project and got the following error:

```
java.lang.NullPointerException
at com.redhat.ceylon.eclipse.imp.builder.CeylonBuilder.incrementalBuild(CeylonBuilder.java:687)
at com.redhat.ceylon.eclipse.imp.builder.CeylonBuilder.build(CeylonBuilder.java:587)
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.resources.Workspace.buildInternal(Workspace.java:513)
at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422)
at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:180)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
```