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.
This bug was originally marked as duplicate of bug 165528, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.1 RC2 (Build 201111302200) VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows 7 Stacktrace: java.lang.NullPointerException at org.netbeans.modules.websvc.wsitconf.wsdlmodelext.WSITModelSupport.removePolicyElements(WSITModelSupport.java:636) at org.netbeans.modules.websvc.wsitconf.wsdlmodelext.WSITModelSupport.removePolicies(WSITModelSupport.java:594) at org.netbeans.modules.websvc.wsitconf.wsdlmodelext.WSITModelSupport.copyImports(WSITModelSupport.java:309) at org.netbeans.modules.websvc.wsitconf.wsdlmodelext.WSITModelSupport.getModelForClient(WSITModelSupport.java:239) at org.netbeans.modules.websvc.wsitconf.wsdlmodelext.WSITModelSupport.getModelForClient(WSITModelSupport.java:208) at org.netbeans.modules.websvc.wsitconf.wsdlmodelext.WSITModelSupport.getModel(WSITModelSupport.java:147)
Created attachment 114272 [details] stacktrace
Please provide steps to reproduce. I cannot identify the reason of NPE without these steps. The NPE appears as result of null value of definitions in the WSDL model. But this is not valid WSDL file. As I see from the NPE you are opening WS client attributes. So you have some WS client created based on some WSDL file, right ? Then you invoke "Edit Web Service Attributes..." on the client node, right ? So please give me the URL of the WSDL file you use. And please check this file locally ( you can open it in the editor via double click on the client node ) : does it have the same content as remote URL ? Please attach its local content to the issue.