| Summary: | npe with bad input file | ||
|---|---|---|---|
| Product: | [Technology] CBI | Reporter: | David Williams <david_williams> |
| Component: | CBI p2 Repository Aggregator | Assignee: | Project Inbox <b3.aggregator-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | thomas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
BTW, with a very similar error in input, I get a more reasonable message ...
So, the NPE may occur when at "end of list" or "two missing" or something odd.
Sorry I can't provide complete input ... but the files have already changed (heavy edit day).
[exec] The build model file is obsolete, using the default transformation
[exec] Build failed! Exception was org.eclipse.core.runtime.CoreException: java.lang.RuntimeException: Category EclipseRT Target Platform Components references feature org.eclipse.jetty.sdk which belongs to a missing contribution Jetty
[exec] Caused by: java.lang.RuntimeException: Category EclipseRT Target Platform Components references feature org.eclipse.jetty.sdk which belongs to a missing contribution Jetty
[exec] java.lang.RuntimeException: Category EclipseRT Target Platform Components references feature org.eclipse.jetty.sdk which belongs to a missing contribution Jetty
I'm not able to provoke the NPE with the new model so I'm closing this. Feel free to reopen if it happens again. In general I think that editing using a text-editor is hazardous given the nature of the edited material. [Bookkeeping change only. Moving bugs to the new "home" of aggregator, CBI. No change to assignee for resolved and verified bugs.] |
During some quick fix editing, I accidentally left in a <features href="jetty.build#//@features.2"/> instead of commenting it out, and should have been commented out, since the jetty 'contribution' had been commented out, of helios.build file. When I tried to run, I simply got a NPE during the "transform" of old model to new. Seems that shouldn't happen, and ideally a more meaningful message printed. [exec] Starting application: 2449 [exec] The build model file is obsolete, using the default transformation [exec] Build failed! Exception was org.eclipse.core.runtime.CoreException: java.lang.NullPointerException [exec] Caused by: java.lang.NullPointerException: [exec] java.lang.NullPointerException [exec] Caused by: Eclipse: [exec] No exit data available. [exec] Eclipse: [exec] Java was started but returned exit code=13