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 229502 - NullPointerException at java.lang.ProcessBuilder.start
Summary: NullPointerException at java.lang.ProcessBuilder.start
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-08 12:13 UTC by Afonso
Modified: 2013-06-12 02:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 200503


Attachments
stacktrace (796 bytes, text/plain)
2013-05-08 12:14 UTC, Afonso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Afonso 2013-05-08 12:13:59 UTC
Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) Client VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_11-b21
OS: Windows Vista

User Comments:
Afonso: Tried to calibrate the profiler.




Stacktrace: 
java.lang.NullPointerException
   at java.lang.ProcessBuilder.start(ProcessBuilder.java:1010)
   at java.lang.Runtime.exec(Runtime.java:615)
   at org.netbeans.lib.profiler.TargetAppRunner.startTargetVM(TargetAppRunner.java:827)
   at org.netbeans.lib.profiler.TargetAppRunner.runJVMToCalibrateInstrumentation(TargetAppRunner.java:660)
   at org.netbeans.lib.profiler.TargetAppRunner.calibrateInstrumentationCode(TargetAppRunner.java:285)
   at org.netbeans.modules.profiler.NetBeansProfiler.runCalibration(NetBeansProfiler.java:1321)
Comment 1 Afonso 2013-05-08 12:14:01 UTC
Created attachment 134221 [details]
stacktrace
Comment 2 Jiri Sedlacek 2013-06-10 12:55:28 UTC
Caused by calibrating uninstalled/moved Java platform (displayed as invalid in Tools | Java Platforms).
Comment 3 Jiri Sedlacek 2013-06-10 13:07:45 UTC
Disabled calibrating invalid Java platforms.

Fixed by http://hg.netbeans.org/profiler-main/rev/ff71614d2c1c.
Comment 4 Quality Engineering 2013-06-12 02:00:57 UTC
Integrated into 'main-golden', will be available in build *201306112301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ff71614d2c1c
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #229502 - do not try to calibrate invalid Java platform