Environment - OS X Yosemite 10.10.1, java 8 u25.
If I open an sql window and run a statement nothing seems to happen. If I use the dropbox to select another connection (upper right of window) I get the following error and the dropbox now shows no connection.
java.lang.ClassCastException: oracle.dbtools.raptor.newscriptrunner.ScriptRunnerContext cannot be cast to oracle.dbtools.raptor.scriptrunner.GuiScriptRunnerContext
at oracle.dbtools.worksheet.editor.Worksheet$ConnOpenListener.connectionOpened(Worksheet.java:1702)
at oracle.dbtools.worksheet.editor.ConnComboBox$ConnectionTaskListener$2.run(ConnComboBox.java:358)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
If I try to run the sql statement with no connection selected I will get prompted to select a connection (which is what I'd expect) and when I select a connection the error flashes but the statement does run and I get results. Again the dropbox now shows no connection selected. Not sure if I'm making sense or not, if not I can create some screen shots. I see the same behavior if I open an sql script, try to run it as a script and get prompted for a connection - select one and get the error but the script runs.