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 Dev (Build 201201070601) VM: Java HotSpot(TM) 64-Bit Server VM, 20.4-b02-402, Java(TM) SE Runtime Environment, 1.6.0_29-b11-402-11M3610 OS: Mac OS X User Comments: johnsonlau: Add a new Oracle WebLogic server instance. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.weblogic9.deploy.WLJpa2SwitchSupport.isEnabledViaSmartUpdate(WLJpa2SwitchSupport.java:324) at org.netbeans.modules.j2ee.weblogic9.deploy.WLJpa2SwitchSupport.isEnabledViaSmartUpdate(WLJpa2SwitchSupport.java:316) at org.netbeans.modules.j2ee.weblogic9.ui.wizard.ServerPropertiesVisual.updateJpa2Button(ServerPropertiesVisual.java:339) at org.netbeans.modules.j2ee.weblogic9.ui.wizard.WLInstantiatingIterator.setServerRoot(WLInstantiatingIterator.java:244) at org.netbeans.modules.j2ee.weblogic9.ui.wizard.ServerLocationVisual.valid(ServerLocationVisual.java:141) at org.netbeans.modules.j2ee.weblogic9.ui.wizard.ServerLocationPanel.isValid(ServerLocationPanel.java:84)
Created attachment 114982 [details] stacktrace
I had the same problem with netbeans 7.1 and 7.1.1 on Windows XP with JDK 1.7.0_03. It looks like it is not possible to add more than one instance of WLS. The problem might be with the config file: weblogic9.properties in %USER_PROFILE%\.netbeans\7.1\config\Preferences\org\netbeans\modules\j2ee\ Once I deleted this file, I was able to add a new WLS instance, but not a second one. Removing a WLS instance through the netbeans IDE GUI does not removes this file, so to add a new WLS instance, you have to remove this file too.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=184492
*** This bug has been marked as a duplicate of bug 209400 ***