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.
Build: NetBeans IDE Dev (Build 201003081350) VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04 OS: Windows Server 2008 User Comments: sunbiz: Steps to reproduce: 1.) Create EJB Client or Sample -> InterceptorStateless and open Configuration Files 2.) Open sun-application-client.xml 3.) Web Services tab -> Add Service Reference 4.) clear the Service Reference Name field and press Add Port Information button. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.NamedBeanGroupNode.getParentNodeName(NamedBeanGroupNode.java:548) at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.PortInfoGroupNode.getModelReader(PortInfoGroupNode.java:116) at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.NamedBeanGroupNode.readDescriptor(NamedBeanGroupNode.java:515) at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.NamedBeanGroupNode.computeBindingSet(NamedBeanGroupNode.java:363) at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.NamedBeanGroupNode$2.run(NamedBeanGroupNode.java:229) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1356)
Created attachment 95461 [details] stacktrace
Parent node is just checked for blank and not null... Should be a simplefix. I can add a patch as part of NetFIX[1] [1] http://wiki.netbeans.org/NetFIX
Created attachment 96609 [details] a quickfix
I'd like to fix this simple bug.
Andrey, could you please review this patch and integrate it if you don't find any problems? Thanks a lot!
The patch looks fine. Integrated into the web-main repository. Changeset: 57bcf2165488
Thanks Andrey for the review & integration and especially thanks Saptarshi for your patch!
Integrated into 'main-golden', will be available in build *201004090201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/57bcf2165488 User: Andrey Yamkovoy <kaktus@netbeans.org> Log: #182399 - NullPointerException at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.NamedBeanGroupNode.getParentNodeName