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 6.5 Beta (Build 200808111757) VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.sun.ide.j2ee.DomainEditor.createSampleDatasource(DomainEditor.java:621) at org.netbeans.modules.j2ee.sun.ide.j2ee.DomainEditor.updateWithSampleDataSource(DomainEditor.java:592) at org.netbeans.modules.j2ee.sun.ide.j2ee.DomainEditor.createSampleDatasource(DomainEditor.java:564) at org.netbeans.modules.j2ee.sun.ide.dm.SunDeploymentManager.createSampleDataSourceinDomain(SunDeploymentManager.java:1516) at org.netbeans.modules.j2ee.sun.ide.sunresources.beans.ResourceUtils.createSampleDataSource(ResourceUtils.java:1040) at org.netbeans.modules.j2ee.sun.ide.j2ee.ModuleConfigurationImpl.<init>(ModuleConfigurationImpl.java:120)
Created attachment 67599 [details] stacktrace
This appears to be same as or related to IZ 139773. Investigating.
Plugin attempts to create a sample pool using pre-existing server datasource 'DerbyPool'. This issue happens when 'DerbyPool' is not present. Simple fix, check for presence of pools and use one of them as the template
Fixed. http://hg.netbeans.org/main?cmd=changeset;node=42f4334b4e6b
Integrated into 'main-golden', available in build *200808210201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/42f4334b4e6b User: nityad@netbeans.org Log: #144145 Handle case when resource DerbyPool is not present. Causes NPE