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 202838

Summary: [71cat] ClassCastException: org.netbeans.modules.db.dataview.table.SQLConstantsCellRenderer cannot be cast to javax.swing.text.JTextComponent
Product: db Reporter: schkovich <schkovich>
Component: Show DataAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED DUPLICATE    
Severity: normal CC: schkovich
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 181494
Attachments: stacktrace
stacktrace

Description schkovich 2011-09-29 17:33:33 UTC
Build: NetBeans IDE Dev (Build 201109260601)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Linux

User Comments:
schkovich: try to referesh query result in database result set view




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.db.dataview.table.SQLConstantsCellRenderer cannot be cast to javax.swing.text.JTextComponent
   at javax.swing.text.html.EditableView.paint(EditableView.java:76)
   at javax.swing.text.BoxView.paintChild(BoxView.java:161)
   at javax.swing.text.BoxView.paint(BoxView.java:433)
   at javax.swing.text.BoxView.paintChild(BoxView.java:161)
   at javax.swing.text.BoxView.paint(BoxView.java:433)
   at javax.swing.text.ParagraphView.paint(ParagraphView.java:587)
Comment 1 schkovich 2011-09-29 17:33:38 UTC
Created attachment 111327 [details]
stacktrace
Comment 2 schkovich 2011-09-29 17:38:42 UTC
Created attachment 111328 [details]
stacktrace

right click on table and select view data
Comment 3 Marian Mirilovic 2011-10-13 17:25:58 UTC

*** This bug has been marked as a duplicate of bug 202401 ***