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 176765 - NullPointerException at org.netbeans.modules.glassfish.jruby.ui.JRubyServerCustomizer.getDefaultPlatform
Summary: NullPointerException at org.netbeans.modules.glassfish.jruby.ui.JRubyServerCu...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-13 02:49 UTC by arcnor
Modified: 2010-03-04 22:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 149537


Attachments
stacktrace (6.25 KB, text/plain)
2009-11-13 02:49 UTC, arcnor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description arcnor 2009-11-13 02:49:29 UTC
Build: NetBeans IDE Dev (Build 200911091156)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-92, Java(TM) SE Runtime Environment, 1.6.0_15-b03-226
OS: Mac OS X, 10.5.8, x86_64

User Comments:
arcnor: Tried to get properties of one of my servers (Glassfish)



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.glassfish.jruby.ui.JRubyServerCustomizer.getDefaultPlatform(JRubyServerCustomizer.java:84)
        at org.netbeans.modules.glassfish.jruby.ui.JRubyServerCustomizer.initFields(JRubyServerCustomizer.java:73)
        at org.netbeans.modules.glassfish.jruby.ui.JRubyServerCustomizer.addNotify(JRubyServerCustomizer.java:116)
        at java.awt.Container.addNotify(Container.java:2622)
        at javax.swing.JComponent.addNotify(JComponent.java:4685)
        at java.awt.Container.addImpl(Container.java:1068)
Comment 1 arcnor 2009-11-13 02:49:32 UTC
Created attachment 90975 [details]
stacktrace
Comment 2 Vince Kraemer 2009-11-16 11:01:04 UTC
this is not a 6.8 stopper... though the fix is pretty easy.
Comment 3 Quality Engineering 2010-03-04 22:12:08 UTC
Integrated into 'main-golden', will be available in build *201003050200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5276653e3ea1
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #176765: prevent an NPE
Comment 4 Vince Kraemer 2010-03-04 22:23:50 UTC
in the trunk