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 267693 - NullPointerException at org.netbeans.modules.debugger.jpda.jdi.StringReferenceWrapper.value
Summary: NullPointerException at org.netbeans.modules.debugger.jpda.jdi.StringReferenc...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-25 01:18 UTC by emiddio
Modified: 2016-08-26 01:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 167313


Attachments
stacktrace (956 bytes, text/plain)
2016-08-25 01:18 UTC, emiddio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emiddio 2016-08-25 01:18:51 UTC
Build: NetBeans IDE Dev (Build 201608230002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14
OS: Windows 7

User Comments:
emiddio: debugging




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.jpda.jdi.StringReferenceWrapper.value(StringReferenceWrapper.java:74)
   at org.netbeans.modules.debugger.jpda.expr.InvocationExceptionTranslated.getStackTraceElement(InvocationExceptionTranslated.java:548)
   at org.netbeans.modules.debugger.jpda.expr.InvocationExceptionTranslated.getOurStackTrace(InvocationExceptionTranslated.java:485)
   at org.netbeans.modules.debugger.jpda.expr.InvocationExceptionTranslated.printStackTrace(InvocationExceptionTranslated.java:417)
   at org.netbeans.modules.debugger.jpda.ui.JPDACodeEvaluator$EvaluateTask.run(JPDACodeEvaluator.java:201)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
Comment 1 emiddio 2016-08-25 01:18:53 UTC
Created attachment 161760 [details]
stacktrace
Comment 2 Martin Entlicher 2016-08-25 06:25:50 UTC
Fixed by changeset:   300249:faa15c7ec6d0
http://hg.netbeans.org/core-main/rev/faa15c7ec6d0
Comment 3 Quality Engineering 2016-08-26 01:49:53 UTC
Integrated into 'main-silver', will be available in build *201608260002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/faa15c7ec6d0
User: mentlicher@netbeans.org
Log: #267693: Prevent from NPE when null method name is returned.