Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by RoboMan, 1 year ago
oracle.dbtools.raptor.newscriptrunner.ScriptRunnerContext cannot be cast to oracle.dbtools.raptor.scriptrunner.GuiScriptRunnerContext
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)