Summary: | NullPointerException on binary import | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Ed Burnette <ed.burnette> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.1 | ||
Target Milestone: | 2.1 RC1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Ed Burnette
2003-02-07 16:57:27 EST
Fixed the PDE NPE. There also seems to be a JDT core NPE. Moving to JDT Core... To reproduce the first NPE: 1. Create simple project P1 2. Create folder lib in P1 3. Create Java project P2 with rt.jar as external library (not as a JRE System library) 4. Add P1/lib in the classpath of P2 5. Exit/restart workbench 6. Delete P1 Observe: You get the first NPE. Fixed DeltaProcessor.initializeRoots() to initialize oldRoots with a new HashMap if the previous roots were not set. Added regression test JavaElementDeltaTests.testRemoveNonJavaProjectUpdateDependent3() Verified. |