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 267448 - NullPointerException at org.netbeans.modules.debugger.jpda.ui.models.PinWatchValueProvider.getHeadActions
Summary: NullPointerException at org.netbeans.modules.debugger.jpda.ui.models.PinWatch...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-05 14:40 UTC by Charlie3D
Modified: 2016-08-06 02:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 225630


Attachments
stacktrace (1.45 KB, text/plain)
2016-08-05 14:40 UTC, Charlie3D
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie3D 2016-08-05 14:40:43 UTC
Build: NetBeans IDE Dev (Build 201606140002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 8

User Comments:
Charlie3D: Debugging step-by-step using F8...




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.jpda.ui.models.PinWatchValueProvider.getHeadActions(PinWatchValueProvider.java:203)
   at org.netbeans.spi.debugger.ui.PinWatchUISupport$DelegatingValueProvider.getHeadActions(PinWatchUISupport.java:256)
   at org.netbeans.modules.debugger.ui.annotations.WatchAnnotationProvider$StickyPanel$1$1.run(WatchAnnotationProvider.java:386)
   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)
Comment 1 Charlie3D 2016-08-05 14:40:45 UTC
Created attachment 161570 [details]
stacktrace
Comment 2 Martin Entlicher 2016-08-05 15:10:28 UTC
Thanks, it was a stupid bug.
Fixed by changeset:   299893:2d143917d3d1
http://hg.netbeans.org/core-main/rev/2d143917d3d1
Comment 3 Quality Engineering 2016-08-06 02:26:28 UTC
Integrated into 'main-silver', will be available in build *201608060002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2d143917d3d1
User: mentlicher@netbeans.org
Log: #267448: Use the checked variable instead of retrieving the variable again.