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 108884 - NPE opening WSIT plugins
Summary: NPE opening WSIT plugins
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: WSIT (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-04 15:57 UTC by pgodot
Modified: 2007-07-18 14:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
WS WSDL that generated the NPE (3.22 KB, application/octet-stream)
2007-07-04 16:01 UTC, pgodot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pgodot 2007-07-04 15:57:05 UTC
Hi,

I have a NPE openeing WSIT plugin for a client WS generated by WCF. I cant send WSDL if you are interested.

The stack trace is:
*********** Exception occurred ************ at 4:31 PM on Jul 4, 2007
java.lang.NullPointerException
	at org.netbeans.modules.websvc.wsitconf.wsdlmodelext.SecurityPolicyModelHelper.getSecurityBindingTypeElement
(SecurityPolicyModelHelper.java:942)
	at org.netbeans.modules.websvc.wsitconf.wsdlmodelext.SecurityPolicyModelHelper.isIncludeTimestamp
(SecurityPolicyModelHelper.java:1077)
	at org.netbeans.modules.websvc.wsitconf.ui.client.ClientView.isClientAdvancedConfigRequired
(ClientView.java:218)
	at org.netbeans.modules.websvc.wsitconf.ui.client.ClientView.<init>(ClientView.java:175)
	at org.netbeans.modules.websvc.wsitconf.ui.client.ClientTopComponent.doInitialize(ClientTopComponent.java:95)
	at org.netbeans.modules.websvc.wsitconf.ui.client.ClientTopComponent.addNotify(ClientTopComponent.java:118)
	at java.awt.Container.addNotify(Container.java:2500)
	at javax.swing.JComponent.addNotify(JComponent.java:4478)
	at java.awt.Container.addNotify(Container.java:2500)
	at javax.swing.JComponent.addNotify(JComponent.java:4478)
	at java.awt.Container.addNotify(Container.java:2500)
	at javax.swing.JComponent.addNotify(JComponent.java:4478)
	at java.awt.Container.addNotify(Container.java:2500)
	at javax.swing.JComponent.addNotify(JComponent.java:4478)
	at java.awt.Container.addNotify(Container.java:2500)
	at javax.swing.JComponent.addNotify(JComponent.java:4478)
	at javax.swing.JRootPane.addNotify(JRootPane.java:680)
	at java.awt.Container.addNotify(Container.java:2500)
	at java.awt.Window.addNotify(Window.java:466)
	at java.awt.Dialog.addNotify(Dialog.java:379)
	at org.netbeans.core.windows.services.NbPresenter.addNotify(NbPresenter.java:328)
	at java.awt.Window.pack(Window.java:484)
	at org.netbeans.core.windows.services.NbPresenter.initialize(NbPresenter.java:184)
	at org.netbeans.core.windows.services.NbPresenter.<init>(NbPresenter.java:119)
	at org.netbeans.core.windows.services.NbDialog.<init>(NbDialog.java:42)
	at org.netbeans.core.windows.services.DialogDisplayerImpl$1.run(DialogDisplayerImpl.java:82)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:1178)
	at org.openide.util.Mutex.readAccess(Mutex.java:215)
	at org.netbeans.core.windows.services.DialogDisplayerImpl.createDialog(DialogDisplayerImpl.java:57)
	at org.netbeans.modules.websvc.core.wseditor.support.EditWSAttributesCookieImpl$1.run
(EditWSAttributesCookieImpl.java:86)
	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)


Thanks,
Phil
Comment 1 pgodot 2007-07-04 16:01:45 UTC
Created attachment 44713 [details]
WS WSDL that generated the NPE
Comment 2 Martin Grebac 2007-07-12 16:36:44 UTC
Would you please let me know which IDE you use and which version of the plugin? Or, please attach the log file. The log
file for the IDE is located as follows: $HOME\.netbeans\$release_num\var\log\message.log where .netbeans might be
substitued by your NetBeans user directory.
Comment 3 Martin Grebac 2007-07-18 14:55:20 UTC
Not able to reproduce and cannot fix or proceed without further input. Feel free to reopen with more data.