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 252256

Summary: NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.NativeBreakpoint.showAnnotationsFor
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: DebuggerAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal CC: alexvsimon
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217069
Attachments: stacktrace

Description Exceptions Reporter 2015-05-06 04:58:02 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 7

User Comments:
GUEST: fas




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.NativeBreakpoint.showAnnotationsFor(NativeBreakpoint.java:1981)
   at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerImpl.activate(NativeDebuggerImpl.java:1055)
   at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.activate(GdbDebuggerImpl.java:5321)
   at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerManager$4.run(NativeDebuggerManager.java:617)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
Comment 1 Exceptions Reporter 2015-05-06 04:58:04 UTC
Created attachment 153532 [details]
stacktrace
Comment 2 henk89 2015-05-06 17:31:22 UTC
*** Bug 252255 has been marked as a duplicate of this bug. ***
Comment 3 Alexander Simon 2015-07-09 16:26:33 UTC
It looks like as duplicate of bug #248903 (lack of synchronization).
Comment 4 Alexander Simon 2015-07-09 16:53:27 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/3f8cf78159ba
- additional fix to make synchronized access to array.
Comment 5 Quality Engineering 2015-07-10 01:17:08 UTC
Integrated into 'main-silver', will be available in build *201507100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3f8cf78159ba
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #252256 NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.NativeBreakpoint.showAnnotationsFor