java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 4.1 EA1 - Unable to use worksheet
    via by Jim Smith,
  • SQL Developer 4.1 - query problem
    via by 1012120,
    • java.lang.ClassCastException: oracle.dbtools.raptor.newscriptrunner.ScriptRunnerContext cannot be cast to oracle.dbtools.raptor.scriptrunner.GuiScript RunnerContext at oracle.dbtools.worksheet.editor.Worksheet.createWorksheetContext(Worksheet.java:1095) at oracle.dbtools.worksheet.editor.Worksheet$WorksheetController.update(Worksheet.java:669) at oracle.ide.controller.IdeAction.updateAction(IdeAction.java:783) at oracle.ide.controller.IdeAction.updateAction(IdeAction.java:745) at oracle.ide.view.View.updateAction(View.java:390) at oracle.ide.view.View.updateToolbarActions(View.java:384) at oracle.ide.view.View.updateVisibleActions(View.java:214) at com.oracle.jdeveloper.nbwindowsystem.NbMainWindow$UpdateVisibleActions.fireUpdate(NbMainWindow.java:1794) at com.oracle.jdeveloper.nbwindowsystem.NbMainWindow$UpdateVisibleActions.actionPerformed(NbMainWindow.java:1779) at javax.swing.Timer.fireActionPerformed(Timer.java:313) at javax.swing.Timer$DoPostEvent.run(Timer.java:245) 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)
    No Bugmate found.