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

Summary: NullPointerException at com.sun.tools.jdi.ReferenceTypeImpl.visibleFields
Product: debugger Reporter: alied <alied>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 193980
Attachments: stacktrace

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).