This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
build20060925: To reproduce: 1. create an enterprise1.5 application. 2. add a webservice to its ejb project. 3. add an operation to the webservice. 4. create another enterprise1.5 application. 5. add a webservice client using the previous created webservice. 6. edit the webservice client's attributes. 7. enable the ws security attributes. 8. ok to close the editor window. observe the following exception thrown: java.lang.NullPointerException at org.netbeans.modules.identity.profile.ui.support.J2eeProjectHelper.getAMSecurityRole(J2eeProjectHelper.java:822) at org.netbeans.modules.identity.profile.ui.support.J2eeProjectHelper.removeAMSecurityConstraint(J2eeProjectHelper.java:804) at org.netbeans.modules.identity.profile.ui.support.J2eeProjectHelper.disableLiberty(J2eeProjectHelper.java:752) at org.netbeans.modules.identity.profile.ui.support.J2eeProjectHelper.enableWSCSecurity(J2eeProjectHelper.java:670) at org.netbeans.modules.identity.profile.ui.WSCSecurityPanel.save(WSCSecurityPanel.java:207) at org.netbeans.modules.identity.profile.ui.WSCSectionNode.save(WSCSectionNode.java:53) at org.netbeans.modules.identity.profile.ui.SecurityView.save(SecurityView.java:74) at org.netbeans.modules.identity.profile.ui.editor.SecurityWSEditor.save(SecurityWSEditor.java:100) [catch] at org.netbeans.modules.websvc.core.wseditor.support.EditWSAttributesCookieImpl$1.run(EditWSAttributesCookieImpl.java:90) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
same happened with webapp1.5.
Fixed in release 55: Checking in J2eeProjectHelper.java; /cvs/identity/profileui/src/org/netbeans/modules/identity/profile/ui/support/Attic/J2eeProjectHelper.java,v <-- J2eeProjectHelper.java new revision: 1.1.2.28; previous revision: 1.1.2.27 done
verified in build20060925_1.