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 161833

Summary: NullPointerException at org.netbeans.api.debugger.DebuggerManager.refreshDebuggerManagerListeners
Product: platform Reporter: rody <rody>
Component: Data SystemsAssignee: Jiri Skrivanek <jskrivanek>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=135215
Issue Type: DEFECT Exception Reporter: 135215
Attachments: stacktrace

Description rody 2009-04-03 05:10:42 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows Vista, 6.0, x86

User Comments:
GUEST: started a PHP project

rody: While opening persistance.xml on a web project



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.api.debugger.DebuggerManager.refreshDebuggerManagerListeners(DebuggerManager.java:1389)
        at org.netbeans.api.debugger.DebuggerManager.initDebuggerManagerListeners(DebuggerManager.java:1364)
        at org.netbeans.api.debugger.DebuggerManager.initBreakpoints(DebuggerManager.java:894)
        at org.netbeans.api.debugger.DebuggerManager.initBreakpoints(DebuggerManager.java:863)
        at org.netbeans.api.debugger.DebuggerManager.getBreakpoints(DebuggerManager.java:583)
        at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.annotate(BreakpointAnnotationProvider.java:139)
Comment 1 rody 2009-04-03 05:10:47 UTC
Created attachment 79337 [details]
stacktrace
Comment 2 Martin Entlicher 2009-04-03 09:37:00 UTC
From the XML log it's apparent that this is a defect of JavaFX debugger:

<exception>
	<message>
The service org.netbeans.modules.debugger.javafx.breakpoints.PersistenceManager not found.
</message>
</exception>
	<exception>
	<message>
java.lang.ClassNotFoundException: Will not load class
org.netbeans.modules.debugger.javafx.breakpoints.PersistenceManager arbitrarily from one of
org.netbeans.StandardModule$OneModuleClassLoader@5a3923[org.netbeans.modules.javafx.debug] and
org.netbeans.StandardModule$OneModuleClassLoader@1a7b0bf[org.netbeans.modules.debugger.javafx]; see
http://wiki.netbeans.org/DevFaqModuleCCE
</message>
Comment 3 Martin Entlicher 2009-04-03 09:37:23 UTC
Please add 6.7 version!
Comment 4 Adam Sotona 2009-04-03 10:57:49 UTC
org.netbeans.modules.debugger.javafx does not provide anything anymore
all the functionality has been moved to org.netbeans.modules.javafx.debug

the problem might be with serialized data in the user dir after update, please delete the user directory and try again
Comment 5 Adam Sotona 2009-04-10 12:25:52 UTC
org.netbeans.StandardModule$OneModuleClassLoader should be able to handle when some functionality has been moved from
one module to other without deleting the userdir after each update
Comment 6 Jiri Skrivanek 2009-04-22 10:10:51 UTC
There is placeholder now in org-netbeans-modules-api-debugger-javafx.jar which prevents such failures in NetBeans 6.7.