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 164742 - NPE occurs when register SDK V3 on Mac OS
Summary: NPE occurs when register SDK V3 on Mac OS
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P4 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-08 01:21 UTC by davisn
Modified: 2009-10-22 07:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Error Message (65.19 KB, text/plain)
2009-05-08 01:23 UTC, davisn
Details
Error Message (65.19 KB, image/png)
2009-05-08 01:24 UTC, davisn
Details
messages.log file (43.96 KB, text/plain)
2009-05-08 01:25 UTC, davisn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2009-05-08 01:21:28 UTC
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)
Comment 1 davisn 2009-05-08 01:23:58 UTC
Created attachment 81775 [details]
Error Message
Comment 2 davisn 2009-05-08 01:24:19 UTC
Created attachment 81776 [details]
Error Message
Comment 3 davisn 2009-05-08 01:25:52 UTC
Created attachment 81777 [details]
messages.log file
Comment 4 davisn 2009-05-08 19:39:57 UTC
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 
Comment 5 Vince Kraemer 2009-05-28 17:37:32 UTC
could not replicate with 6.7 rc1 bits and sdk 3d bits on solaris.
Comment 6 Vince Kraemer 2009-10-22 07:01:18 UTC
it looks like I missed closing this issue, since the qa ping went onto issue 164424...

http://hg.netbeans.org/main-golden/rev/d0584b0f1f3f