| Summary: | NPE in ProblemHandler.handle during some background build | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Marcel Bruch <marcel.bruch> |
| Component: | Core | Assignee: | shankha banerjee <shankhba> |
| Status: | VERIFIED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jarthana, shankhba, srikanth_sankaran |
| Version: | 4.5 | ||
| Target Milestone: | 4.5 M2 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
|
Description
Marcel Bruch
Hmm.. I wonder how the CompilationResult#compilationUnit can ever be null. These are the times I think we should start using null analysis in our code. Do you find any error/warning that should be reported in the workspace but not? If you find something strange or have more information about this, please let us know. (In reply to Jayaprakash Arthanareeswaran from comment #1) > Do you find any error/warning that should be reported in the workspace but > not? As said, I get this error message whenever I activate an invalid target platform that does not contain all required jar dependencies. There is an error preceding the build error: org.eclipse.core.runtime.CoreException: Problems occurred getting the plug-ins in this container at org.eclipse.pde.internal.core.PluginModelManager.getExternalBundles(PluginModelManager.java:604) at org.eclipse.pde.internal.core.PluginModelManager.initializeTable(PluginModelManager.java:525) at org.eclipse.pde.internal.core.PluginModelManager.targetReloaded(PluginModelManager.java:473) at org.eclipse.pde.core.target.LoadTargetDefinitionJob.resetPlatform(LoadTargetDefinitionJob.java:229) at org.eclipse.pde.core.target.LoadTargetDefinitionJob.runInWorkspace(LoadTargetDefinitionJob.java:150) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Contains: Unable to locate installable unit org.eclipse.m2e.feature.feature.group Contains: Unable to locate installable unit org.eclipse.m2e.feature.feature.group Contains: Unable to locate installable unit org.eclipse.m2e.feature.feature.group Contains: Unable to locate installable unit org.eclipse.m2e.feature.feature.group Contains: Unable to locate installable unit org.eclipse.m2e.feature.feature.group Contains: Unable to locate installable unit org.eclipse.m2e.feature.feature.group Contains: Unable to locate installable unit org.eclipse.m2e.feature.feature.group Contains: Unable to locate installable unit org.eclipse.m2e.feature.feature.group Contains: Unable to locate installable unit org.eclipse.m2e.feature.feature.group Contains: Unable to locate installable unit org.eclipse.m2e.feature.feature.group To some extend this is reproducible for me and our workspace setup. I'm not sure this can reduced to a simple example. If you really need this, I could try. It will take a few hours to create a reproducible small setup I think. FWIW, I'm discussing the PDE related part in Bug 442427. > If you find something strange or have more information about this, > please let us know. Please see Bug 442755 for a test case. Looks like they are duplicates. Bug 407376 could also be related. (In reply to shankha banerjee from comment #3) > Bug 407376 could also be related. Bug 407376 is a different issue. Same as bug 442755 *** This bug has been marked as a duplicate of bug 442755 *** Verified for 4.5 M2 using build I20140916-2000 |