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 - IllegalArgumentException: Attempt to use non-static field with ReferenceType
Summary: IllegalArgumentException: Attempt to use non-static field with ReferenceType
Status: RESOLVED FIXED
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: 2013-10-18 17:55 UTC by Exceptions Reporter
Modified: 2013-11-06 17:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 204711


Attachments
stacktrace (2.81 KB, text/plain)
2013-10-18 17:55 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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