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.
NullPointerException when register SDK V3 47a build to NB 6.7 on Mac OS X machine version 10.5.6 with jdk1.6.0_13 Steps To Reproduce: 1. Install V3 SDK build from http://javaweb.sfbay.sun.com/java/re/glassfish/v3/promoted/preview/b47a/archive/bundles/ (File: java_ee_sdk-6-preview-b03a-unix.sh) 1. Install NB 6.7 Trunk build (05/07/2009) on Mac OSX 10.5.6 with jdk1.6.0_13 2. Start the NB IDE > install GlassFish V3 Enabler 3. Right-click at Servers nodde, select Add Server > GlassFish V3 > enter the location where SDK V3 b47a build installed Note: A message appears to complain that the SDK V3 does not have a valid default domain Select Next button BUG: java.lang.NullPointerException at org.netbeans.modules.glassfish.common.wizards.AddDomainLocationVisualPanel.initModels(AddDomainLocationVisualPanel.java:87) at org.netbeans.modules.glassfish.common.wizards.AddDomainLocationPanel.readSettings(AddDomainLocationPanel.java:212) at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:886) at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:837) at org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard.updateState(AddServerInstanceWizard.java:207) at org.openide.WizardDescriptor.goToNextStep(WizardDescriptor.java:1041) at org.openide.WizardDescriptor.access$1200(WizardDescriptor.java:127) at org.openide.WizardDescriptor$Listener$1.run(WizardDescriptor.java:1997) at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1448) at org.openide.WizardDescriptor.access$1300(WizardDescriptor.java:127) at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:2016) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:450) Caused: java.lang.reflect.UndeclaredThrowableException at $Proxy13.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6301) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:6066) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4667) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4497) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4600) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4264) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4194) at java.awt.Container.dispatchEventImpl(Container.java:2129) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4497)
Created attachment 81775 [details] Error Message
Created attachment 81776 [details] Error Message
Created attachment 81777 [details] messages.log file
After I cleanup my system. Re-install NB 6.7 and SDK V3 build, the problem does not happen. Downgrade the bug to P4 to observe for a while
could not replicate with 6.7 rc1 bits and sdk 3d bits on solaris.
it looks like I missed closing this issue, since the qa ping went onto issue 164424... http://hg.netbeans.org/main-golden/rev/d0584b0f1f3f