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 240484 - ClassCastException: org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable cannot be cast to java.lang.String
Summary: ClassCastException: org.netbeans.modules.debugger.jpda.models.AbstractObjectV...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-15 09:22 UTC by Alexander Simon
Modified: 2014-01-15 12:47 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 202382


Attachments
stacktrace (8.13 KB, text/plain)
2014-01-15 09:22 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2014-01-15 09:22:03 UTC
Build: NetBeans IDE 7.4 (Build 20131204-d7efa1bcda5e)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: SunOS

User Comments:
tacomait: I was debugging. Only looking for.

petrk: Just tried to see value of StringBuilder

alexvsimon: debug application




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable cannot be cast to java.lang.String
   at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.setValueAt(VariablesFormatterFilter.java:543)
   at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.setValueAt(VariablesTreeModelFilter.java:580)
   at org.netbeans.spi.viewmodel.Models$CompoundTableModel.setValueAt(Models.java:1510)
   at org.netbeans.modules.debugger.jpda.ui.models.BoldVariablesTableModelFilter.setValueAt(BoldVariablesTableModelFilter.java:211)
   at org.netbeans.spi.viewmodel.Models$CompoundTableModel.setValueAt(Models.java:1510)
   at org.netbeans.modules.debugger.jpda.models.PendingActionsFilter.setValueAt(PendingActionsFilter.java:140)
Comment 1 Alexander Simon 2014-01-15 09:22:05 UTC
Created attachment 143973 [details]
stacktrace
Comment 2 Martin Entlicher 2014-01-15 12:47:16 UTC
This does not occur in NB 8.0. It was apparently fixed already.