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.
build20a: The following NPE throws while openning ws attribute which in a broken webapp whose target appserver is removed: *********** Exception occurred ************ at 12:04 PM on Sep 22, 2006 java.lang.NullPointerException at org.netbeans.modules.identity.profile.api.bridgeapi.RuntimeBridge.isAppServerSun(RuntimeBridge.java:48) at org.netbeans.modules.identity.profile.ui.support.J2eeProjectHelper.isAppServerSun(J2eeProjectHelper.java:602) at org.netbeans.modules.identity.profile.ui.editor.SecurityWSEditor.createWSEditorComponent(SecurityWSEditor.java:59) at org.netbeans.modules.websvc.core.wseditor.support.EditWSAttributesTopComponent.addTabs(EditWSAttributesTopComponent.java:48) at org.netbeans.modules.websvc.core.wseditor.support.EditWSAttributesCookieImpl$1.run(EditWSAttributesCookieImpl.java:83) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) [catch] 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)
Put a check to see if there is a non null InstanceProperties from J2eeModuleProvider before retrieving its properties.
verified.