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 95839 - Edit web service attributes : java.lang.NullPointerException
Summary: Edit web service attributes : java.lang.NullPointerException
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
: 89061 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-16 17:02 UTC by rdelaplante
Modified: 2007-03-02 03:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
My messages.log in case it helps (101.11 KB, text/plain)
2007-02-16 17:04 UTC, rdelaplante
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rdelaplante 2007-02-16 17:02:00 UTC
It used to work until I re-installed the application server.  I deployed a
project that caused the application server to never finish starting properly.
When reinstalling I used Java Application Platform SDK Update 2 which includes
access manager.  I told NetBeans about the new location of the App Server and am
able to deploy projects to it.

When I right click a web service or web service client and select "Edit Web
Service Attributes", I get the following stack dump:

java.lang.NullPointerException
	at
org.netbeans.modules.identity.profile.api.configurator.ProviderConfigurator.setModel(ProviderConfigurator.java:516)
	at
org.netbeans.modules.identity.profile.api.configurator.ProviderConfigurator.addModifier(ProviderConfigurator.java:189)
	at
org.netbeans.modules.identity.profile.ui.WSPSecurityPanel.<init>(WSPSecurityPanel.java:72)
	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:597)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 rdelaplante 2007-02-16 17:04:39 UTC
Created attachment 38624 [details]
My messages.log in case it helps
Comment 2 Peter Liu 2007-02-16 18:03:04 UTC
We need to provider better error handling when the IDE can't locate the am
installation.

Comment 3 rdelaplante 2007-02-16 18:44:25 UTC
In the mean time is there a workaround?  I've tried re-installing the entire IDE
and enterprise pack.  When I right click my web service and click "Edit Web
Service Attributes" I get the same problem.  I suspect the problem is some
settings in my project file(s).
Comment 4 rdelaplante 2007-02-16 20:52:15 UTC
I reinstalled the app server and entire netbeans suite several times with no
success initially.  The last time I did it I renamed the "C:\Documents and
Settings\ryan\.netbeans\5.5" folder before reinstalling.  This seems to have
gotten me back to a point where I can get to the "Edit Web Service Attributes"
screen without a NPE.

Also note that I used the tools setup that comes with netbeans, ent pack, app
server, access manager etc...  my previous attempts used the "Java Application
Platform SDK Update 2" setup without netbeans. 
Comment 5 Peter Liu 2007-03-01 04:43:30 UTC
*** Issue 89061 has been marked as a duplicate of this issue. ***
Comment 6 Peter Liu 2007-03-02 03:37:42 UTC
Fix checked into release551 branch.