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 267360

Summary: NullPointerException at org.netbeans.modules.debugger.ui.annotations.WatchAnnotationProvider$StickyPanel.adjustSize
Product: debugger Reporter: ytn01
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 225507
Attachments: stacktrace

Description ytn01 2016-07-29 18:52:37 UTC
Build: NetBeans IDE Dev (Build 201607270002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14
OS: Windows 10

User Comments:
ytn01: I was debuggin a java project, then stopped the debug session.
Then started closing some source files that were opened during debug step-ins. (including some meta source files from jars)
While closing source file, exception got thrown.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.ui.annotations.WatchAnnotationProvider$StickyPanel.adjustSize(WatchAnnotationProvider.java:603)
   at org.netbeans.modules.debugger.ui.annotations.WatchAnnotationProvider$StickyPanel.access$1000(WatchAnnotationProvider.java:333)
   at org.netbeans.modules.debugger.ui.annotations.WatchAnnotationProvider$StickyPanel$1$1.run(WatchAnnotationProvider.java:390)
   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 ytn01 2016-07-29 18:52:39 UTC
Created attachment 161496 [details]
stacktrace
Comment 2 Martin Entlicher 2016-08-05 14:40:41 UTC
Fixed by changeset:   299891:cbe3440a56d5
http://hg.netbeans.org/core-main/rev/cbe3440a56d5
Comment 3 Quality Engineering 2016-08-06 02:26:43 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/cbe3440a56d5
User: mentlicher@netbeans.org
Log: #267360: Component changes to null when the UI is uninstalled.