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 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Windows Vista, 6.0, x86 User Comments: nagabalaji: I'm trying to setup JNDI datasource by adding a new JDBC resource. When the new file wizard opens, I'm selecting Categories as "Glassfish" and selecting "JDBC resource". I'. getting the exception when i clicked "Next". nagabalaji: I'm trying to setup JNDI datasource by adding a new JDBC resource. When the new file wizard opens, I'm selecting Categories as "Glassfish" and selecting "JDBC resource". I'. getting the exception when i clicked "Next". Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.sun.ide.sunresources.wizards.CommonAttributePanel.isValid(CommonAttributePanel.java:196) at java.awt.Component.invalidateIfValid(Component.java:2740) at java.awt.Component.setLocale(Component.java:1810) at javax.swing.JComponent.<init>(JComponent.java:595) at javax.swing.JPanel.<init>(JPanel.java:65) at javax.swing.JPanel.<init>(JPanel.java:92)
Created attachment 76589 [details] stacktrace
*** Issue 158349 has been marked as a duplicate of this issue. ***
Fixed in trunk
http://hg.netbeans.org/main/rev/e28f6d49ea16
Integrated into 'main-golden', will be available in build *200902180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e28f6d49ea16 User: nityad@netbeans.org Log: #157965 : Fixes for NPE in isValid calls
*** Issue 159070 has been marked as a duplicate of this issue. ***
Fixed also in 6.5.1/patch3: http://hg.netbeans.org/release65_fixes/rev/9ee0bd06d434
When verified Issue 158349 with Netbean 6.7 trunk build (3/26/2009), I also verified this bug with NB 6.5.1 latest build (3/28/2009)
verified in NB6.5.1 with Win Vista and JDK1.6.0_13