IllegalStateException recovery [message #613430] |
Fri, 30 June 2006 15:54 |
Eclipse User |
|
|
|
I'm using Callisto.
I've got a Swing JTable, and I've set a model on it that will provide
data. I had not configured the data source, so I got an
IllegalStateException. However, the exception screws up the visual
editor view so that none of the visuals draw. I can see the frame
outline, and I can hover over components and see the hover text, but
none of them draw correctly. If I have configured my data source
correctly for the JTable, all of the widgets draw correctly.
1. Maybe exceptions are bubbling out too far? Trace below.
2. If I correct the source code (by commenting out the setModel() call)
and close/reopen the VisualEditor instance, the visuals in the view are
still broken. I seem to have to restart my Eclipse session to fix it.
Any ideas?
Thanks,
Ernest
+++ Warning +++: Fri Jun 30 15:26:33 EDT 2006 Project (sdf)-VM for
sdf:err>
Exception in thread "AWT-EventQueue-0"
java.lang.IllegalStateException: The statement could not execute.
at com.sas.storage.jdbc.JDBCAdapter.init(JDBCAdapter.java:405)
at
com.sas.storage.jdbc.JDBCRowCountAdapter.calculateCurrentMax RowCount(JDBCRowCountAdapter.java:146)
at
com.sas.storage.jdbc.JDBCToTableModelAdapter.getRowCount(JDB CToTableModelAdapter.java:354)
at javax.swing.JTable.getRowCount(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.createTableSize(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.getPreferredSize(Unknown
Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.JTable.setWidthsFromPreferredWidths(Unknown Source)
at javax.swing.JTable.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at
org.eclipse.ve.internal.jfc.vm.ImageDataCollector$1.run(Imag eDataCollector.java:119)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknow n
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
|
|
|
Powered by
FUDForum. Page generated in 0.08360 seconds