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 241542

Summary: NullPointerException at org.netbeans.api.debugger.DebuggerManager.refreshDebuggerManagerListeners
Product: debugger Reporter: misterm <misterm>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207382
Attachments: stacktrace

Description misterm 2014-02-07 13:04:47 UTC
This bug was originally marked as duplicate of bug 161833, 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 20140127-bdc560a151f2)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7

User Comments:
misterm: Just booted the IDE




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.debugger.DebuggerManager.refreshDebuggerManagerListeners(DebuggerManager.java:1529)
   at org.netbeans.api.debugger.DebuggerManager.initDebuggerManagerListeners(DebuggerManager.java:1504)
   at org.netbeans.api.debugger.DebuggerManager.initBreakpoints(DebuggerManager.java:990)
   at org.netbeans.api.debugger.DebuggerManager.initBreakpoints(DebuggerManager.java:959)
   at org.netbeans.api.debugger.DebuggerManager.getBreakpoints(DebuggerManager.java:597)
   at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.annotate(BreakpointAnnotationProvider.java:158)
Comment 1 misterm 2014-02-07 13:04:49 UTC
Created attachment 144911 [details]
stacktrace
Comment 2 Martin Entlicher 2014-02-10 09:33:11 UTC
This is caused by java.lang.ClassCastException: Cannot cast org.netbeans.modules.web.javascript.debugger.breakpoints.WebBreakpointsActiveService to org.netbeans.api.debugger.LazyDebuggerManagerListener

This is an invalid bug, because this can not occur in production build.
Please always clean sources before building them.
WebBreakpointsActiveService was registered as a LazyDebuggerManagerListener, but is not any more.