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.

Bug 85603 - NPE while open edit ws attributes editor
Summary: NPE while open edit ws attributes editor
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Srividhya Narayanan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-22 22:12 UTC by _ hlu
Modified: 2006-10-20 02:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ hlu 2006-09-22 22:12:51 UTC
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)
Comment 1 Srividhya Narayanan 2006-09-22 22:19:04 UTC
Put a check to see if there is a non null InstanceProperties from
J2eeModuleProvider before retrieving its properties.
Comment 2 _ hlu 2006-10-20 02:35:38 UTC
verified.