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 159205 - NPE when starting a Rails app on V3 prelude
Summary: NPE when starting a Rails app on V3 prelude
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-26 12:43 UTC by Erno Mononen
Modified: 2009-03-02 20:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2009-02-26 12:43:50 UTC
Product Version: NetBeans IDE Dev (Build 200902251401)
Java: 1.6.0_10-beta; Java HotSpot(TM) 64-Bit Server VM 11.0-b11
System: Linux version 2.6.27-11-generic running on amd64; UTF-8; en_US (nb)

(Ruby only build)

Steps:
1. create a rails app with default values (i.e. built-in jruby, glassfish v3)
2. go to Tools -> Servers -> GF V3
3. click on the Java tab, but don't do any changes and close the dialog
4. try to run the app => the server doesn't start, and the following NPE gets logged:

java.lang.NullPointerException
	at org.netbeans.modules.glassfish.common.StartTask.readJvmArgs(StartTask.java:419)
	at org.netbeans.modules.glassfish.common.StartTask.createProcessDescriptor(StartTask.java:295)
	at org.netbeans.modules.glassfish.common.StartTask.createProcess(StartTask.java:388)
	at org.netbeans.modules.glassfish.common.StartTask.call(StartTask.java:153)
	at org.netbeans.modules.glassfish.common.StartTask.call(StartTask.java:78)
Comment 1 Vince Kraemer 2009-02-26 18:00:21 UTC
good catch. thanks.
Comment 2 Vince Kraemer 2009-02-26 19:33:07 UTC
http://hg.netbeans.org/main/rev/10acccd41e6f
Comment 3 Quality Engineering 2009-03-02 20:57:14 UTC
Integrated into 'main-golden', will be available in build *200903021401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/10acccd41e6f
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #159205 : empty string creeps through to cause an NPE