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 99967 - [DEBUGGER] NPE from o.n.m.ruby.debugger.breakpoints.PersistenceManager
Summary: [DEBUGGER] NPE from o.n.m.ruby.debugger.breakpoints.PersistenceManager
Status: VERIFIED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-04 13:26 UTC by Tomas Danek
Modified: 2007-09-14 14:59 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 Tomas Danek 2007-04-04 13:26:49 UTC
No steps to reproduce, sorry:(

Caused by: java.lang.NullPointerException
    at
org.netbeans.modules.ruby.debugger.breakpoints.PersistenceManager.initBreakpoints(PersistenceManager.java:41)
    at
org.netbeans.api.debugger.DebuggerManager.initBreakpoints(DebuggerManager.java:783)
    at
org.netbeans.api.debugger.DebuggerManager.initBreakpoints(DebuggerManager.java:728)
    at
org.netbeans.api.debugger.DebuggerManager.getBreakpoints(DebuggerManager.java:497)
    at
org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider.annotate(BreakpointAnnotationProvider.java:43)
    at
org.openide.text.CloneableEditorSupport.ensureAnnotationsLoaded(CloneableEditorSupport.java:340)
    at org.openide.text.CloneableEditor.initialize(CloneableEditor.java:251)
    at org.openide.text.CloneableEditor.componentShowing(CloneableEditor.java:149)
    at org.openide.windows.WindowManager.componentShowing(WindowManager.java:320)
Comment 1 Martin Krauskopf 2007-04-04 14:39:34 UTC
I do not know exactly why. I've prevented NPE, used logging and put TODO marker
into the code.

Checking in PersistenceManager.java;
new revision: 1.3; previous revision: 1.2
Comment 2 Jiri Kovalsky 2007-07-03 14:07:49 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 3 Jiri Kovalsky 2007-07-03 14:46:59 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.
Comment 4 Tomas Danek 2007-09-14 14:59:46 UTC
thanks. verified.