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 220703 - NullPointerException at com.sun.tools.jdi.ReferenceTypeImpl.visibleFields
Summary: NullPointerException at com.sun.tools.jdi.ReferenceTypeImpl.visibleFields
Status: RESOLVED WONTFIX
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-24 02:36 UTC by alied
Modified: 2012-10-24 09:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 193980


Attachments
stacktrace (2.76 KB, text/plain)
2012-10-24 02:36 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2012-10-24 02:36:47 UTC
This bug was originally marked as duplicate of bug 179469, 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 201210210002)
VM: Java HotSpot(TM) Client VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows XP

User Comments:
alied: debugging a JME application in the Nokia SDK 2.0.
placed a breakpoint and tried to examine a variable's value with the tooltip.




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.jdi.ReferenceTypeImpl.visibleFields(ReferenceTypeImpl.java:394)
   at com.sun.tools.jdi.ReferenceTypeImpl.fieldByName(ReferenceTypeImpl.java:440)
   at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitIdentifier(EvaluatorVisitor.java:1931)
   at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitIdentifier(EvaluatorVisitor.java:190)
   at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1714)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:49)
Comment 1 alied 2012-10-24 02:36:49 UTC
Created attachment 126424 [details]
stacktrace
Comment 2 Martin Entlicher 2012-10-24 09:44:40 UTC
In internal defect at com.sun.tools.jdi.ReferenceTypeImpl.visibleFields(ReferenceTypeImpl.java:394)
It's likely caused by a faulty implementation in Nokia SDK, at least one item returned from inheritedTypes() had to be null.
It's likely, that
JDWP.ReferenceType.Interfaces.process(vm, this).interfaces
returned an array with null element(s).