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 237330

Summary: IllegalArgumentException: Attempt to use non-static field with ReferenceType
Product: debugger Reporter: Exceptions Reporter <exceptions_reporter>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 204711
Attachments: stacktrace

Description Exceptions Reporter 2013-10-18 17:55:58 UTC
This bug was originally marked as duplicate of bug 141378, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Windows XP

Stacktrace: 
java.lang.IllegalArgumentException: Attempt to use non-static field with ReferenceType
   at com.sun.tools.jdi.ReferenceTypeImpl.getValues(ReferenceTypeImpl.java:636)
   at com.sun.tools.jdi.ReferenceTypeImpl.getValue(ReferenceTypeImpl.java:596)
   at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitMemberSelect(EvaluatorVisitor.java:2534)
   at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitMemberSelect(EvaluatorVisitor.java:194)
   at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1686)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:49)
Comment 1 Exceptions Reporter 2013-10-18 17:55:59 UTC
Created attachment 141274 [details]
stacktrace
Comment 2 Martin Entlicher 2013-11-06 17:14:52 UTC
In current trunk the problem is at line 2822.
Fixed by changeset:   266961:37cb2dee10eb
http://hg.netbeans.org/core-main/rev/37cb2dee10eb