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.
hudson #2424, jdk6u2 -when I try to open Edit WS Attributes dialog from the ws client node in EJB module project I get: java.lang.NullPointerException at org.netbeans.modules.xml.wsdl.model.visitor.FindReferencedVisitor.visitChildren(FindReferencedVisitor.java:118) at org.netbeans.modules.xml.wsdl.model.visitor.FindReferencedVisitor.find(FindReferencedVisitor.java:55) at org.netbeans.modules.xml.wsdl.model.impl.WSDLModelImpl.findComponentByName(WSDLModelImpl.java:205) at org.netbeans.modules.websvc.wsitconf.wsdlmodelext.PolicyModelHelper.getBinding(PolicyModelHelper.java:259) at org.netbeans.modules.websvc.wsitconf.ui.client.ClientView.isCallBackConfigRequired(ClientView.java:202) at org.netbeans.modules.websvc.wsitconf.ui.client.ClientView.<init>(ClientView.java:141) at org.netbeans.modules.websvc.wsitconf.ui.client.ClientTopComponent.doInitialize(ClientTopComponent.java:92) at org.netbeans.modules.websvc.wsitconf.ui.client.ClientTopComponent.addNotify(ClientTopComponent.java:115) at java.awt.Container.addNotify(Container.java:2592) ... -workaround for me was to open WSDL file in the editor (double click on the ws client node) - then the NPE above disapperars and I was able to open Edit WS Attributes dialog
Created attachment 46564 [details] projects
I don't have clear steps to reproduce this yet. I was just preparing project for testing WSIT features (see attached projects and try to re-create them from scratch) and then I followed: http://wiki.netbeans.org/wiki/view/TS_60_WSIT BTW: be aware of issue 112736
wsdl model issue
I can't reproduce this issue. Hudson build #2424 is quite old? I can notice the mismatched line number in the description stack. Anyway, from the stack I can tell that the given WSDL model was not well-formed because its root is null. The UI (ClientTopComponent) should check for the condition, display proper error and prevent user interaction further down that cause this NPE. Reassign to websvc/wsitconf.
Note that model factory getModel(ModelSource source) does not throw IOException, so client of the call should check the state VALID before rendering.
I'm not able to reproduce. I've been fixing an issue with ejb project some time ago, so I assume it's fixed already. Feel free to reopen if it's still there.
v.