| Summary: | NPE in EarUtilities.getReferencingEARProjects() | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Szymon Ptaszkiewicz <sptaszkiewicz> | ||||||
| Component: | jst.j2ee | Assignee: | Carl Anderson <ccc> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | ccc, christopher.paul | ||||||
| Version: | 3.0.5 | Flags: | cbridgha:
review+
|
||||||
| Target Milestone: | 3.0.5 P | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Szymon Ptaszkiewicz
Szymon, what version of Eclipse are you using? It looks like the original bug was opened against Eclipse 3.5.1 (which corresponds to WTP 3.1.1). (In reply to comment #1) > Szymon, what version of Eclipse are you using? It looks like the original bug > was opened against Eclipse 3.5.1 (which corresponds to WTP 3.1.1). Yes, the original bug was opened against 3.5.1 but one of the duplicates was against 3.4.2. I updated the version of Eclipse accordingly there. The version of WTP is 3.0.5. Carl, could you tell what the root cause of this exception may be? Adding myself to CC list Created attachment 182071 [details]
Ensure null entries are not added to the list
The cause of the NPE is the fact that the list of referencing components returned from VirtualComponent.getReferencingComponents() could contain a null. The patch will prevent the null entry from being added to the list.
approve Committed to R3_0_5_patches |