| Summary: | Protect EARUtilities.getJ2EEModuleReferences from NPE | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Jason Sholl <jsholl> | ||||
| Component: | jst.j2ee | Assignee: | Jason Sholl <jsholl> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ccc | ||||
| Version: | 3.2 | Flags: | cbridgha:
review+
|
||||
| Target Milestone: | 3.2.2 P | ||||||
| Hardware: | PC | ||||||
| OS: | Windows Server 2003 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 179335 [details]
patch
Protects against above NPE, and all others, and also updates javadoc. No change in behavior.
approved code checked into 32M and HEAD for WTP 3.2.3 and 3.3 respectively. Committed to R3_2_2_patches |
Slight change in behavior from previous versions is now causing the following NPE: java.lang.NullPointerException at org.eclipse.jst.j2ee.project.EarUtilities.getEARLibDir(EarUtilities.java:413) at org.eclipse.jst.j2ee.project.EarUtilities.getJ2EEModuleReferences(EarUtilities.java:86)