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 155933 - IllegalStateException: java.lang.UnsupportedOperationException
Summary: IllegalStateException: java.lang.UnsupportedOperationException
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL: http://statistics.netbeans.org/except...
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-12-22 13:31 UTC by Martin Krauskopf
Modified: 2010-04-29 09:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 144612


Attachments
stacktrace (2.18 KB, text/plain)
2008-12-22 13:32 UTC, Martin Krauskopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Krauskopf 2008-12-22 13:31:26 UTC
Build: NetBeans IDE Dev (Build 081222)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-9-generic, i386

User Comments:
mkrauskopf: Getting the exception each time I do a step during debugging $NB_SRC/ruby module



Stacktrace: 
java.lang.IllegalStateException: java.lang.UnsupportedOperationException
        at org.netbeans.modules.debugger.jpda.jdi.ReferenceTypeWrapper.constantPool(ReferenceTypeWrapper.java:227)
        at org.netbeans.modules.debugger.jpda.ExpressionPool.createExpressionAt(ExpressionPool.java:166)
        at org.netbeans.modules.debugger.jpda.ExpressionPool.getExpressionAt(ExpressionPool.java:101)
        at org.netbeans.modules.debugger.jpda.actions.StepActionProvider.setLastOperation(StepActionProvider.java:443)
        at org.netbeans.modules.debugger.jpda.actions.StepActionProvider.setLastOperation(StepActionProvider.java:413)
        at org.netbeans.modules.debugger.jpda.actions.StepActionProvider.exec(StepActionProvider.java:308)
Comment 1 Martin Krauskopf 2008-12-22 13:32:01 UTC
Created attachment 75243 [details]
stacktrace
Comment 2 Martin Krauskopf 2008-12-22 13:46:13 UTC
The debugger is actually unusable, since I cannot do a single step (P1). For simple J2SE project it works. So might be
related somehow to NetBeans modules.
Comment 3 Martin Entlicher 2008-12-22 20:02:11 UTC
We must check the VM capabilities...
Comment 4 Martin Entlicher 2008-12-22 21:38:32 UTC
The problem is fixed in changeset:   112445:f93c3e70a420
http://hg.netbeans.org/main/rev/f93c3e70a420
Comment 5 Quality Engineering 2008-12-23 17:10:29 UTC
Integrated into 'main-golden', will be available in build *200812231401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f93c3e70a420
User: mentlicher@netbeans.org
Log: #155933 - Check the VM capabilities - if we can retrieve the constant pool.
Comment 6 Quality Engineering 2010-04-29 09:46:10 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.