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 249982 - NullPointerException at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getLineNumber
Summary: NullPointerException at org.netbeans.modules.debugger.jpda.models.CallStackFr...
Status: VERIFIED DUPLICATE of bug 249974
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.1
Hardware: All All
: P1 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-23 15:07 UTC by Vladimir Riha
Modified: 2015-01-23 16:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 214980


Attachments
stacktrace (7.69 KB, text/plain)
2015-01-23 15:07 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-01-23 15:07:06 UTC
Build: NetBeans IDE Dev (Build 201501230002)
VM: Java HotSpot(TM) Client VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17
OS: Linux

User Comments:
vriha: happened when I started to debug unit test




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getLineNumber(CallStackFrameImpl.java:165)
   at org.netbeans.modules.debugger.jpda.ui.models.CallStackNodeModel.getCSFName(CallStackNodeModel.java:264)
   at org.netbeans.modules.debugger.jpda.ui.models.DebuggingNodeModel$1.run(DebuggingNodeModel.java:445)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1425)
   at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:59)
   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:294)
Comment 1 Vladimir Riha 2015-01-23 15:07:08 UTC
Created attachment 151650 [details]
stacktrace
Comment 2 Vladimir Riha 2015-01-23 15:20:55 UTC
It causes line breakpoints to be "ignored" and kind of makes debug action to be more of a run action :). This happened to me when debugging test in Maven web application
Comment 3 Jiri Kovalsky 2015-01-23 15:42:21 UTC
Maybe a duplicate of #249972?
Comment 4 Martin Entlicher 2015-01-23 15:53:16 UTC
Yes, a duplicate of issue #249974.

*** This bug has been marked as a duplicate of bug 249974 ***
Comment 5 Jiri Kovalsky 2015-01-23 16:02:54 UTC
Verified as duplicate.