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 122210 - NullPointerException at org.netbeans.modules.ant.debugger.breakpoints.PersistenceManager.initBreakpoints
Summary: NullPointerException at org.netbeans.modules.ant.debugger.breakpoints.Persist...
Status: CLOSED DUPLICATE of bug 121915
Alias: None
Product: debugger
Classification: Unclassified
Component: Ant (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-17 16:31 UTC by telespalla_filone
Modified: 2010-04-29 09:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description telespalla_filone 2007-11-17 16:31:57 UTC
After updating from NB RC1 to Dev200711161200 i get this exception message at the opening of the IDE

java.lang.NullPointerException
	at org.netbeans.modules.ant.debugger.breakpoints.PersistenceManager.initBreakpoints(PersistenceManager.java:74)
	at org.netbeans.api.debugger.DebuggerManager.initBreakpoints(DebuggerManager.java:877)
	at org.netbeans.api.debugger.DebuggerManager.initBreakpoints(DebuggerManager.java:819)
	at org.netbeans.api.debugger.DebuggerManager.getBreakpoints(DebuggerManager.java:565)
	at org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.annotate(BreakpointAnnotationProvider.java:109)
	at org.openide.text.CloneableEditorSupport.ensureAnnotationsLoaded(CloneableEditorSupport.java:366)
	at org.openide.text.CloneableEditor.initialize(CloneableEditor.java:254)
	at org.openide.text.CloneableEditor.componentShowing(CloneableEditor.java:152)
	at org.openide.windows.WindowManager.componentShowing(WindowManager.java:330)
Caused: java.lang.IllegalStateException: [Winsys] TopComponent org.netbeans.modules.java.JavaDataObject$JavaEditor
throws runtime exception from its componentShowing() method.
Please repair it! Probable cause is at
org.netbeans.modules.ant.debugger.breakpoints.PersistenceManager.initBreakpoints(PersistenceManager.java:74)
	at org.openide.windows.WindowManager.logThrowable(WindowManager.java:361)
	at org.openide.windows.WindowManager.componentShowing(WindowManager.java:332)
	at org.netbeans.core.windows.WindowManagerImpl.componentShowing(WindowManagerImpl.java:1016)
	at org.netbeans.core.windows.WindowManagerImpl.specialPersistenceCompShow(WindowManagerImpl.java:1023)
	at org.netbeans.core.windows.PersistenceHandler.load(PersistenceHandler.java:236)
	at org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:69)
[catch] at org.netbeans.core.NonGui$3.run(NonGui.java:205)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

I run NB on Windows XP pro using Java 1.6_U3.
Thanks
Comment 1 telespalla_filone 2007-11-23 19:14:44 UTC
May be could help, it happens (for sure in Dev200711220000 I'm using now) at every first opening of a java file in the
editor. Neither RC1 nor RC2 are affected by the problem. 
Thanks, regards

Filippo Mariotti
Comment 2 Martin Entlicher 2007-12-12 18:20:21 UTC

*** This issue has been marked as a duplicate of 121915 ***
Comment 3 Quality Engineering 2010-04-29 09:37:11 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.