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 165537 - NullPointerException at org.netbeans.modules.glassfish.common.Util.appearsToBeJdk6OrBetter
Summary: NullPointerException at org.netbeans.modules.glassfish.common.Util.appearsToB...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vince Kraemer
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 20:14 UTC by _ pcw
Modified: 2009-05-20 19:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 151463


Attachments
stacktrace (6.00 KB, text/plain)
2009-05-19 20:14 UTC, _ pcw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ pcw 2009-05-19 20:14:11 UTC
Build: NetBeans IDE Dev (Build 090514)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: SunOS, 5.10, x86

User Comments:
pcw: Open <Properties> on a V3 Prelude server instance.
Type in the path to "java" from JDK 5 in the java field.
Click <Browse>...



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.glassfish.common.Util.appearsToBeJdk6OrBetter(Util.java:68)
        at org.netbeans.modules.glassfish.common.ui.VmCustomizer$3.accept(VmCustomizer.java:275)
        at javax.swing.JFileChooser.setFileFilter(JFileChooser.java:1410)
        at org.netbeans.modules.glassfish.common.ui.VmCustomizer.openInstallChooser(VmCustomizer.java:269)
        at org.netbeans.modules.glassfish.common.ui.VmCustomizer.access$100(VmCustomizer.java:53)
        at org.netbeans.modules.glassfish.common.ui.VmCustomizer$2.actionPerformed(VmCustomizer.java:206)
Comment 1 _ pcw 2009-05-19 20:14:18 UTC
Created attachment 82421 [details]
stacktrace
Comment 2 Vince Kraemer 2009-05-19 21:34:08 UTC
good catch.
Comment 3 Vince Kraemer 2009-05-20 06:22:55 UTC
http://hg.netbeans.org/web-main/rev/6acf83940f5b
Comment 4 Quality Engineering 2009-05-20 19:15:06 UTC
Integrated into 'main-golden', will be available in build *200905201401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6acf83940f5b
User: vince kraemer <vkraemer@netbeans.org>
Log: #165537: NPE due to bad test at a bad time