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 164294 - NullPointerException at org.netbeans.modules.glassfish.eecommon.api.DomainEditor.createSampleDatasource
Summary: NullPointerException at org.netbeans.modules.glassfish.eecommon.api.DomainEdi...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-01 23:27 UTC by Vince Kraemer
Modified: 2009-05-21 18:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 150465


Attachments
stacktrace (2.02 KB, text/plain)
2009-05-01 23:27 UTC, Vince Kraemer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vince Kraemer 2009-05-01 23:27:18 UTC
Build: NetBeans IDE Dev (Build 200905010201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.glassfish.eecommon.api.DomainEditor.createSampleDatasource(DomainEditor.java:596)
        at org.netbeans.modules.glassfish.eecommon.api.DomainEditor.updateWithSampleDataSource(DomainEditor.java:571)
        at org.netbeans.modules.glassfish.eecommon.api.DomainEditor.createSampleDatasource(DomainEditor.java:555)
        at org.netbeans.modules.glassfish.javaee.db.ResourcesHelper.addSampleDatasource(ResourcesHelper.java:91)
        at org.netbeans.modules.glassfish.javaee.ModuleConfigurationImpl.<init>(ModuleConfigurationImpl.java:85)
        at org.netbeans.modules.glassfish.javaee.Hk2ModuleConfigFactory.create(Hk2ModuleConfigFactory.java:61)
Comment 1 Vince Kraemer 2009-05-01 23:27:26 UTC
Created attachment 81392 [details]
stacktrace
Comment 2 Vince Kraemer 2009-05-02 00:46:00 UTC
please investigate

the app targets a v3 b47 install.
Comment 3 Nitya Doraisamy 2009-05-21 02:00:55 UTC
Fixed
http://hg.netbeans.org/web-main/rev/30cbc15d619d
Comment 4 Quality Engineering 2009-05-21 18:44:41 UTC
Integrated into 'main-golden', will be available in build *200905211401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/30cbc15d619d
User: nityad@netbeans.org
Log: #164294 : Fix NPE - add check for existence of nodes while creating sample datasource