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 182399 - NullPointerException at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.NamedBeanGroupNode.getParentNodeName
Summary: NullPointerException at
Alias: None
Product: javaee
Classification: Unclassified
Component: DD Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Andrey Yamkovoy
Depends on:
Reported: 2010-03-19 20:55 UTC by sunbiz
Modified: 2010-04-09 04:44 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 166710

stacktrace (4.96 KB, text/plain)
2010-03-19 20:55 UTC, sunbiz
a quickfix (1004 bytes, patch)
2010-04-02 14:18 UTC, sunbiz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2010-03-19 20:55:00 UTC
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.

   at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.NamedBeanGroupNode.getParentNodeName(
   at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.PortInfoGroupNode.getModelReader(
   at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.NamedBeanGroupNode.readDescriptor(
   at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.NamedBeanGroupNode.computeBindingSet(
   at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.NamedBeanGroupNode$
   at org.openide.util.RequestProcessor$
Comment 1 sunbiz 2010-03-19 20:55:04 UTC
Created attachment 95461 [details]
Comment 2 sunbiz 2010-04-02 13:58:23 UTC
Parent node is just checked for blank and not null... Should be a simplefix. I can add a patch as part of NetFIX[1]

Comment 3 sunbiz 2010-04-02 14:18:18 UTC
Created attachment 96609 [details]
a quickfix
Comment 4 vezzoni 2010-04-05 21:31:09 UTC
I'd like to fix this simple bug.
Comment 5 Jiri Kovalsky 2010-04-07 13:05:06 UTC
Andrey, could you please review this patch and integrate it if you don't find any problems? Thanks a lot!
Comment 6 Andrey Yamkovoy 2010-04-08 06:31:54 UTC
The patch looks fine.

Integrated into the web-main repository.
Changeset: 57bcf2165488
Comment 7 Jiri Kovalsky 2010-04-08 07:10:24 UTC
Thanks Andrey for the review & integration and especially thanks Saptarshi for your patch!
Comment 8 Quality Engineering 2010-04-09 04:44:41 UTC
Integrated into 'main-golden', will be available in build *201004090201* on (upload may still be in progress)
User: Andrey Yamkovoy <>
Log: #182399 -  NullPointerException at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.NamedBeanGroupNode.getParentNodeName