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 86072 - NullPointerException when trying to Edit Web Service Attributes
Summary: NullPointerException when trying to Edit Web Service Attributes
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-28 16:25 UTC by _ gsporar
Modified: 2006-09-28 18:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
message log file (25.97 KB, text/plain)
2006-09-28 16:26 UTC, _ gsporar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gsporar 2006-09-28 16:25:25 UTC
I'm trying to follow this tutorial:
http://www.netbeans.org/kb/55/amsecurity-liberty.html and am using daily builds
of the IDE and Enterprise Pack from Sept 25.

In the "Securing Web Services Using a Liberty Security Mechanism" section, step
2 says to edit the web service attributes.  When I select Edit Web Services
Attribute from the context menu, the dialog box does not display.  Instead, I
get a NullPointerException (message log file is attached).

FWIW, after I dismissed the exception dialog, I tried again and got a different
exception:

java.lang.IllegalArgumentException: setSelectedIndex: 0 out of bounds
	at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:595)
	at
org.netbeans.modules.identity.profile.api.configurator.ProviderConfigurator.setModel(ProviderConfigurator.java:517)
	at
org.netbeans.modules.identity.profile.api.configurator.ProviderConfigurator.addModifier(ProviderConfigurator.java:189)
	at
org.netbeans.modules.identity.profile.ui.WSPSecurityPanel.<init>(WSPSecurityPanel.java:71)
	at
org.netbeans.modules.identity.profile.ui.WSPSectionNode.createNodeInnerPanel(WSPSectionNode.java:58)
	at
org.netbeans.modules.xml.multiview.SectionNode.createInnerPanel(SectionNode.java:93)
	at
org.netbeans.modules.xml.multiview.ui.SectionNodePanel.createInnerpanel(SectionNodePanel.java:96)
	at
org.netbeans.modules.xml.multiview.ui.SectionPanel.openInnerPanel(SectionPanel.java:180)
	at
org.netbeans.modules.xml.multiview.ui.SectionNodePanel.openInnerPanel(SectionNodePanel.java:106)
	at
org.netbeans.modules.xml.multiview.ui.SectionNodePanel.setExpandedViewMode(SectionNodePanel.java:72)
	at
org.netbeans.modules.xml.multiview.ui.SectionNodePanel.<init>(SectionNodePanel.java:48)
	at
org.netbeans.modules.xml.multiview.SectionNode.getSectionNodePanel(SectionNode.java:165)
	at
org.netbeans.modules.xml.multiview.ui.SectionNodeView.setRootNode(SectionNodeView.java:73)
	at
org.netbeans.modules.identity.profile.ui.WSPSecurityView.<init>(WSPSecurityView.java:36)
	at
org.netbeans.modules.identity.profile.ui.editor.SecurityWSEditor.setUpSecurityPanel(SecurityWSEditor.java:154)
	at
org.netbeans.modules.identity.profile.ui.editor.SecurityWSEditor.createWSEditorComponent(SecurityWSEditor.java:85)
	at
org.netbeans.modules.websvc.core.wseditor.support.EditWSAttributesTopComponent.addTabs(EditWSAttributesTopComponent.java:48)
[catch] 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)
	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 _ gsporar 2006-09-28 16:26:00 UTC
Created attachment 34667 [details]
message log file
Comment 2 Peter Liu 2006-09-28 18:49:06 UTC
The sept 25 build was broken due to installer switch and required manual
modification in order for the identity features to work propertly.

I just tried the build from sept 25 our milestone build 21 which has this
problem fixed and I don't see the problem you report.  Please use this build for
your testing.