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 - NullPointerException at org.netbeans.api.debugger.DebuggerManager.refreshDebuggerManagerListeners
Summary: NullPointerException at org.netbeans.api.debugger.DebuggerManager.refreshDebu...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Skrivanek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-03 05:10 UTC by rody
Modified: 2009-04-22 10:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 135215


Attachments
stacktrace (1.14 KB, text/plain)
2009-04-03 05:10 UTC, rody
Details

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