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 116821

Summary: java.lang.NullPointerException
Product: xml Reporter: nouar38 <nouar38>
Component: WSDL ModelAssignee: Shivanand Kini <skini>
Status: RESOLVED WONTFIX    
Severity: blocker CC: dante, javadev1
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=5354
Issue Type: DEFECT Exception Reporter: 5354
Attachments: stacktrace
server.log for GF v2 domain1
messages.log
stacktrace

Description nouar38 2007-09-26 13:57:40 UTC
Build: NetBeans IDE Dev (Build 200709250000)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: SunOS, 5.10, sparc

User Comments: 
create new SecureCalculator project
SecureCalculatorApp build, deploy to GF v2
SecureCalculatorClientApp, refresh web service ref, deploy and run,
see the authentication error.
update in client (Edit Web Service attribute : set wsitUser password to be as adminadmin)
add wsitUser as realm (file) with password adminadmin (admin GUI)
run SecureCalculatorClientApp : ok
stop/start server: ok
rerun client: ok
undeploy all, deploy web service and the client, disable web service, run client, enable and run client.
keep both deployed.
CalculatorWS Edit the web service attribute and uncheck
the Secure Service box , and got the exception
Comment 1 nouar38 2007-09-26 13:57:48 UTC
Created attachment 49564 [details]
stacktrace
Comment 2 nouar38 2007-09-26 14:09:40 UTC
Created attachment 49565 [details]
server.log for GF v2 domain1
Comment 3 nouar38 2007-09-26 14:13:45 UTC
Created attachment 49566 [details]
messages.log
Comment 4 Shivanand Kini 2007-10-16 00:42:33 UTC
I am not able to reproduce this with the given steps on 20071011 build.
Comment 5 Martin Grebac 2008-07-29 16:02:02 UTC
I just got the same error (see automated stack trace reporter) in 6.5 recent build from today.
Comment 6 Martin Grebac 2008-07-30 14:04:12 UTC
Build: NetBeans IDE Dev (Build 080730)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-237
OS: Mac OS X, 10.5.4, i386

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.xml.wsdl.model.spi.WSDLComponentBase.populateChildren(WSDLComponentBase.java:84)
        at org.netbeans.modules.xml.xam.AbstractComponent._getChildren(AbstractComponent.java:154)
        at org.netbeans.modules.xml.xam.AbstractComponent.getChildren(AbstractComponent.java:138)
        at org.netbeans.modules.xml.wsdl.ui.view.treeeditor.WSDLElementNode.cleanupPrefixes(WSDLElementNode.java:589)
        at org.netbeans.modules.xml.wsdl.ui.view.treeeditor.WSDLElementNode.cleanupPrefixes(WSDLElementNode.java:590)
        at org.netbeans.modules.xml.wsdl.ui.view.treeeditor.WSDLElementNode.cleanupPrefixes(WSDLElementNode.java:590)
Comment 7 Martin Grebac 2008-07-30 14:04:29 UTC
Created attachment 66053 [details]
stacktrace
Comment 8 Martin Grebac 2008-07-30 14:06:18 UTC
I just got this when I tried to do some changes in WSIT dialog. Raising priority. To my best knowledge, the WSIT code
doesn't do anything incorrect. If you need any more information, please ask for it. Thanks.
Comment 9 Martin Grebac 2008-07-30 14:08:40 UTC
decreasing priority back to P3, because this only happens when the wsit configuration file is opened in the editor and
at the same time changes are made through the wsit dialog
Comment 10 Sergey Lunegov 2008-10-01 15:10:23 UTC
Changed target milestone.
Comment 11 Martin Balin 2016-07-07 09:56:37 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss