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 262219 - NullPointerException at org.netbeans.modules.profiler.v2.ProfilerWindow.updateSession
Summary: NullPointerException at org.netbeans.modules.profiler.v2.ProfilerWindow.updat...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-25 12:40 UTC by fillumina
Modified: 2016-05-26 01:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 224203


Attachments
stacktrace (1.29 KB, text/plain)
2016-05-25 12:40 UTC, fillumina
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fillumina 2016-05-25 12:40:05 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: OpenJDK 64-Bit Server VM, 25.91-b14, OpenJDK Runtime Environment, 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14
OS: Linux

User Comments:
fillumina: The debugger just seemed stuck on a line without being able to proceed forward.
(java maven application)




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.profiler.v2.ProfilerWindow.updateSession(ProfilerWindow.java:169)
   at org.netbeans.modules.profiler.v2.ProfilerSession$5.run(ProfilerSession.java:338)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:709)
Comment 1 fillumina 2016-05-25 12:40:07 UTC
Created attachment 159870 [details]
stacktrace
Comment 2 Jiri Sedlacek 2016-05-25 13:15:17 UTC
NPE fixed by http://hg.netbeans.org/profiler-main/rev/43005e9cbf08.
Comment 3 Quality Engineering 2016-05-26 01:57:45 UTC
Integrated into 'main-silver', will be available in build *201605260002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/43005e9cbf08
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #262219 - make sure the Profile button has already been created when updating it