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 14072 - NullPointerException when using F4 (Step to cursor)
Summary: NullPointerException when using F4 (Step to cursor)
Status: CLOSED WORKSFORME
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-31 14:52 UTC by _ gtzabari
Modified: 2001-10-04 11:24 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 _ gtzabari 2001-07-31 14:52:23 UTC
dev build 200107190100
Sun JDK 1.3.1

I go over my source-code and the editor and hit F4 and get the following 
exception:

Tue Jul 31 09:49:47 EDT 2001: java.lang.NullPointerException: Posted StackTrace
Annotation: Exception occurred in Request Processor
org.openide.util.RequestProcessor$Holder: Posted StackTrace(task 
org.netbeans.core.ModuleActions$1@6a346a [-2974, 1, -1])
        at org.openide.util.RequestProcessor$Task.createHolder
(RequestProcessor.java:322)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:100)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:73)
        at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:98)
        at org.netbeans.core.windows.frames.NbFocusManager.processKeyStroke
(NbFocusManager.java:231)
        at org.netbeans.core.windows.frames.NbFocusManager.processEvent
(NbFocusManager.java:192)
        at org.netbeans.core.windows.frames.NbFocusManager$1.run
(NbFocusManager.java:159)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:131)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
 
Tue Jul 31 09:49:47 EDT 2001: java.lang.NullPointerException: null
java.lang.NullPointerException
        at org.netbeans.modules.debugger.support.BreakpointSupport.setLine
(BreakpointSupport.java:328)
        at 
org.netbeans.modules.debugger.support.DebuggerSupport.createBreakpoint
(DebuggerSupport.java:248)
        at org.openide.actions.GoToCursorAction.performAction
(GoToCursorAction.java:121)
        at org.openide.util.actions.NodeAction.performAction(NodeAction.java:95)
        at org.openide.util.actions.NodeAction.actionPerformed
(NodeAction.java:86)
        at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:85)
        at org.openide.util.Task.run(Task.java:152)
[catch] at org.openide.util.RequestProcessor$ProcessorThread.run
(RequestProcessor.java:611)
Comment 1 _ gtzabari 2001-07-31 14:52:46 UTC
Changed version to 'current'
Comment 2 Marian Petras 2001-09-24 15:41:16 UTC
Cannot reproduce this bug (RH Linux 7.1, JDK 1.3.1). Cause of this bug
was probably fixed together with fix of bug #15236.

If you still can reproduce the bug with the current build, reopen this
bug and provide with precise steps how to reproduce it.
Comment 3 Jan Stola 2001-10-04 11:24:36 UTC
Worksforme -> Closed.