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 254032 - NullPointerException at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getLineNumber
Summary: NullPointerException at org.netbeans.modules.debugger.jpda.models.CallStackFr...
Status: RESOLVED INVALID
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-31 11:54 UTC by Jaroslav Havlin
Modified: 2015-07-31 12:54 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 218890


Attachments
stacktrace (1.33 KB, text/plain)
2015-07-31 11:54 UTC, Jaroslav Havlin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Havlin 2015-07-31 11:54:21 UTC
This bug was originally marked as duplicate of bug 249972, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 20150731-0f4c61a19fcc)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 7

User Comments:
GUEST: jdk8_40ea
cannot set a debug-breakpoint
alwas get this exception

akobberup: Thes exception happens when a breakpoint should be hit!

jhavlin: Debugging custom Netbeans build (from custom NetBeans build)

kalwi: Breakpoint hit while debugging a remote application.

ovrabec: I cannot debug at all. I add a breakpoint, debugger does not stop on the line and i am repeatedly getting this exception.




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 Jaroslav Havlin 2015-07-31 11:54:24 UTC
Created attachment 155082 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-07-31 12:10:56 UTC
Note: Debugging works fine in NetBeans IDE 8.1 Beta (Build 201507302201) (#8c0614143f8e) for me.
Comment 3 Jaroslav Havlin 2015-07-31 12:54:14 UTC
I'm sorry, I was mistakenly using some old revision.
Closing.