| Summary: | NPE in EMF2DOMAdapterImpl | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Common Tools | Reporter: | Dimitar Giormov <dimitar.giormov> | ||||||
| Component: | wst.common | Assignee: | Roberto Sanchez Herrera <shr31223> | ||||||
| Status: | RESOLVED INVALID | QA Contact: | Carl Anderson <ccc> | ||||||
| Severity: | normal | ||||||||
| Priority: | P2 | CC: | Dimo.Stoilov, kaloyan | ||||||
| Version: | 3.2 | ||||||||
| Target Milestone: | 3.2.3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Dimitar Giormov
Created attachment 171643 [details]
junit test
Created attachment 171644 [details]
NPE stacktrace.
Assigning to Chuck for initial investigation. Looks like the SecurityRole wouldn't have an Adapter, so adapter.getNode() would cause an NPE. Raising priority. This bug causes a set of our adopter unit test to fail. It turns out the test is not quite correct. It creates security roles but doesn't attach them to the ejb assembly descriptor. After correcting this by adding the following line right after roles creation: methodPerm.getAssemblyDescriptor().getSecurityRoles().add(roles[i]); then the test passed. Roberto you can close the bug report. |