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 154312 - NullPointerException at org.netbeans.modules.j2ee.sun.ide.sunresources.beans.ResourceConfigurator.setAdditionalProps
Summary: NullPointerException at org.netbeans.modules.j2ee.sun.ide.sunresources.beans....
Status: RESOLVED DUPLICATE of bug 144512
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vince Kraemer
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 06:20 UTC by eolaoye
Modified: 2008-12-02 21:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 133894


Attachments
stacktrace (1.71 KB, text/plain)
2008-12-02 06:20 UTC, eolaoye
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eolaoye 2008-12-02 06:20:21 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Windows Vista, 6.0, x86

User Comments:
eolaoye: trying to create entity classes from a postgre sql database connection

eolaoye: trying to create entity classes from a postgre sql database connection



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.jee.sun.ide.sunresources.beans.ResourceConfigurator.setAdditionalProps(ResourceConfigurator.java:475)
        at org.netbeans.modules.jee.sun.ide.sunresources.beans.ResourceConfigurator.createCPPoolResource(ResourceConfigurator.java:980)
        at org.netbeans.modules.jee.sun.ide.sunresources.beans.ResourceConfigurator.createCheckForConnectionPool(ResourceConfigurator.java:1137)
        at org.netbeans.modules.jee.sun.ide.sunresources.beans.ResourceConfigurator.createDataSource(ResourceConfigurator.java:920)
        at org.netbeans.modules.jee.sun.share.configbean.SunONEDeploymentConfiguration.createDatasource(SunONEDeploymentConfiguration.java:338)
        at org.netbeans.modules.jee.sun.ide.jee.ModuleConfigurationImpl.createDatasource(ModuleConfigurationImpl.java:226)
Comment 1 eolaoye 2008-12-02 06:20:36 UTC
Created attachment 74378 [details]
stacktrace
Comment 2 Vince Kraemer 2008-12-02 21:03:29 UTC
it looks like this is a dup...

here is the justification...  The file looked like this
http://hg.netbeans.org/main/file/596cc5fb5bb2/j2ee.sun.appsrv/src/org/netbeans/modules/j2ee/sun/ide/sunresources/beans/ResourceConfigurator.java
when the issue was triggered.

Shortly after the issue was filed the file was changed to address issue 144512...
http://hg.netbeans.org/main/file/acefd142f39d/j2ee.sun.appsrv/src/org/netbeans/modules/j2ee/sun/ide/sunresources/beans/ResourceConfigurator.java

*** This issue has been marked as a duplicate of 144512 ***