| Summary: | NPE when removing an EAR reference with no archiveName attribute defined | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Aidyl Kareh <amkareh> | ||||||
| Component: | jst.j2ee | Assignee: | Aidyl Kareh <amkareh> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | amkareh, ccc, jsholl | ||||||
| Version: | 3.2 | Flags: | cbridgha:
review+
jsholl: review+ |
||||||
| Target Milestone: | 3.2.2 P | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Aidyl Kareh
Created attachment 179793 [details] Proposed Patch Same patch as bug 326458. Updated RemoveComponentFromEnterpriseApplicationOperation.updateEARDD() method so that it avoids using the dependentObject if it has no id set. Also added check to make sure the getArchiveName() method returned a non-null value before using it to get the matching module. approved - more junit coverage needed Created attachment 179855 [details] Updated Patch Patch has been updated to replace using the <String>.isEmpty() method, which is Java 6 specific, with a Java 5 equivalent. Patch for bug 326458 was also updated. Committed to R3_2_2_patches |