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 - NullPointerException at org.netbeans.api.debugger.DebuggerManager.refreshDebuggerManagerListeners
Summary: NullPointerException at org.netbeans.api.debugger.DebuggerManager.refreshDebu...
Status: RESOLVED INVALID
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-07 13:04 UTC by misterm
Modified: 2014-02-10 09:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 207382


Attachments
stacktrace (1.19 KB, text/plain)
2014-02-07 13:04 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
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.