#977 java.lang.ClassCastException

snapshot
open
Colin Bell
Core (461)
5
2012-12-29
2011-04-25
Anonymous
No

Error running any query:

Registrado por net.sourceforge.squirrel_sql.client.session.MessagePanel as 25/04/11 13:43:

privateShowMessage: Exception was net.sourceforge.squirrel_sql.client.session.mainpanel.CancelPanel

java.lang.ClassCastException: net.sourceforge.squirrel_sql.client.session.mainpanel.CancelPanel
at net.sourceforge.squirrel_sql.client.session.mainpanel.SQLResultExecuterPanel.closeResultTabAt(SQLResultExecuterPanel.java:809)
at net.sourceforge.squirrel_sql.client.session.mainpanel.SQLResultExecuterPanel.checkResultTabLimit(SQLResultExecuterPanel.java:801)
at net.sourceforge.squirrel_sql.client.session.mainpanel.SQLResultExecuterPanel.addResultsTab(SQLResultExecuterPanel.java:745)
at net.sourceforge.squirrel_sql.client.session.mainpanel.SQLResultExecuterPanel.access$1400(SQLResultExecuterPanel.java:56)
at net.sourceforge.squirrel_sql.client.session.mainpanel.SQLResultExecuterPanel$5.run(SQLResultExecuterPanel.java:685)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at net.sourceforge.squirrel_sql.client.Main$1.dispatchEvent(Main.java:93)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:175)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:162)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Discussion

  • Hi,
    there is a similar/same bug report with ID 3183001, which occurs by running the query against a DB2.

    But I can't reproduce this with my Oracle Instances.
    Please, answer this questions:
    - Which DB did you use?
    - How many result tabs are open?
    - Did you use scrollable tabbed panes for result tabs? (Global Prefs)
    - Did you limit the number of result tabs? (Session Properties - SQL)
    - How can we reproduce this?

    thanks
    Stefan