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 247826 - NullPointerException at org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher$AntLauncher.launch
Summary: NullPointerException at org.netbeans.modules.profiler.nbimpl.actions.Profiler...
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-09 09:36 UTC by Jiri Skrivanek
Modified: 2014-10-14 10:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 212590


Attachments
stacktrace (1.60 KB, text/plain)
2014-10-09 09:36 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2014-10-09 09:36:33 UTC
This bug was originally marked as duplicate of bug 246817, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201410090001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 7

User Comments:
jskrivanek: Really annoying. Please, fix it.

jskrivanek: I just start to profile AnagramGame project.

jskrivanek: Again appeared.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher$AntLauncher.launch(ProfilerLauncher.java:434)
   at org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher$Session.run(ProfilerLauncher.java:349)
   at org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher$ProfilerSessionImpl.start(ProfilerLauncher.java:148)
   at org.netbeans.modules.profiler.v2.ProfilerSession.doStart(ProfilerSession.java:219)
   at org.netbeans.modules.profiler.v2.ProfilerWindow$10.run(ProfilerWindow.java:432)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
Comment 1 Jiri Skrivanek 2014-10-09 09:36:34 UTC
Created attachment 149807 [details]
stacktrace
Comment 2 Jiri Sedlacek 2014-10-09 20:19:13 UTC
Hopefully fixed by http://hg.netbeans.org/profiler-main/rev/53846a57803d, but still not sure why the exception is being thrown.
Comment 3 Quality Engineering 2014-10-11 11:29:19 UTC
Integrated into 'main-silver', will be available in build *201410110714* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/53846a57803d
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #247826, ProfilerSession.getProfiler() should never return null