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 249972

Summary: NullPointerException at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getLineNumber
Product: debugger Reporter: Tomas Stupka <tstupka>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: VERIFIED FIXED    
Severity: normal CC: akobberup, kalwi, ovrabec
Priority: P1    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 214970
Attachments: stacktrace
stacktrace
stacktrace

Description Tomas Stupka 2015-01-23 10:52:04 UTC
Build: NetBeans IDE Dev (Build 20150123-a2d14ddbec38)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_65-b20
OS: Mac OS X

User Comments:
tstupka: noidea




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getLineNumber(CallStackFrameImpl.java:165)
   at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl.getLineNumber(JPDAThreadImpl.java:285)
   at org.netbeans.modules.debugger.jpda.ui.BreakpointOutput.substitute(BreakpointOutput.java:339)
   at org.netbeans.modules.debugger.jpda.ui.BreakpointOutput.substituteAndPrintText(BreakpointOutput.java:161)
   at org.netbeans.modules.debugger.jpda.ui.BreakpointOutput.breakpointReached(BreakpointOutput.java:154)
   at org.netbeans.api.debugger.jpda.JPDABreakpoint.fireJPDABreakpointChange(JPDABreakpoint.java:300)
Comment 1 Tomas Stupka 2015-01-23 10:52:06 UTC
Created attachment 151636 [details]
stacktrace
Comment 2 Tomas Stupka 2015-01-23 11:02:10 UTC
unable to debug  - raising prio
Comment 3 Ondrej Vrabec 2015-01-23 11:56:32 UTC
please martin, can you look at this promptly? I cannot debug at all.
Comment 4 Ondrej Vrabec 2015-01-23 11:57:49 UTC
Created attachment 151642 [details]
stacktrace

I cannot debug at all. I add a breakpoint, debugger does not stop on the line and i am repeatedly getting this exception.
Comment 5 akobberup 2015-01-23 12:12:49 UTC
Created attachment 151644 [details]
stacktrace

Thes exception happens when a breakpoint should be hit!
Comment 6 Martin Entlicher 2015-01-23 15:54:30 UTC
I'm sorry for that, it's already fixed. Exception reporter is submitting duplicate issues. :-(

*** This bug has been marked as a duplicate of bug 249974 ***
Comment 7 Jiri Kovalsky 2015-01-23 16:00:29 UTC
Verified as duplicate.