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 249974 - NullPointerException at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getLineNumber
Summary: NullPointerException at org.netbeans.modules.debugger.jpda.models.CallStackFr...
Status: VERIFIED FIXED
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:
: 249982 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-23 11:22 UTC by akobberup
Modified: 2015-01-26 11:07 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 214974


Attachments
stacktrace (2.87 KB, text/plain)
2015-01-23 11:22 UTC, akobberup
Details
stacktrace (2.87 KB, text/plain)
2015-01-23 12:15 UTC, Martin Entlicher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description akobberup 2015-01-23 11:22:04 UTC
Build: NetBeans IDE Dev (Build 201501220002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 8

User Comments:
akobberup: Attached debugger to process




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.CurrentThreadAnnotationListener$AllThreadsAnnotator.run(CurrentThreadAnnotationListener.java:653)
   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 akobberup 2015-01-23 11:22:05 UTC
Created attachment 151638 [details]
stacktrace
Comment 2 Martin Entlicher 2015-01-23 12:11:44 UTC
Reproduced.
Comment 3 Martin Entlicher 2015-01-23 12:15:49 UTC
Created attachment 151645 [details]
stacktrace

Occured during debugging.
Comment 4 Martin Entlicher 2015-01-23 12:27:53 UTC
Fixed by changeset:   283182:6257f164fa7d
http://hg.netbeans.org/core-main/rev/6257f164fa7d
Comment 5 Martin Entlicher 2015-01-23 15:53:16 UTC
*** Bug 249982 has been marked as a duplicate of this bug. ***
Comment 6 Martin Entlicher 2015-01-23 15:54:30 UTC
*** Bug 249972 has been marked as a duplicate of this bug. ***
Comment 7 Jiri Kovalsky 2015-01-23 16:00:55 UTC
Verified as duplicate.
Comment 8 Jiri Kovalsky 2015-01-23 16:02:23 UTC
Oops, please ignore my previous action and comment. This should have gone to #249982.
Comment 9 Quality Engineering 2015-01-24 02:35:04 UTC
Integrated into 'main-silver', will be available in build *201501240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6257f164fa7d
User: mentlicher@netbeans.org
Log: #249974: Prevent from NPE when there are no strata providers.
Comment 10 Jiri Kovalsky 2015-01-26 11:07:34 UTC
Product Version: NetBeans IDE Dev (Build 201501260002)
Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17
System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb)

It is possible to debug normally again. Thanks for the quick fix.