| Summary: | NPE during build (J2EEDeployableFactory.clearCache()) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Patric Rufflar <patric> | ||||
| Component: | jst.j2ee | Assignee: | Roberto Sanchez Herrera <shr31223> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ccc, thatnitind | ||||
| Version: | 3.2.3 | Flags: | cbridgha:
review+
|
||||
| Target Milestone: | 3.2.4 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 261914 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Patric Rufflar
The code to clear the cache was added as part of bug 261914 Line 238 is:
if (module.getProject().equals(project)) {
My assumption would be that module.getProject() returns null.
This code should check for null, since the IModule interface specifically states that null will be returned if the project is outside of the workspace.
Created attachment 193049 [details]
Check for null
approve Committed to R3_2_maintenance and HEAD for WTP 3.2.4 and WTP 3.3 M7 |