java.lang.ClassCastException: oracle.dbtools.raptor.newscriptrunner.ScriptRunnerContext cannot be cast to oracle.dbtools.raptor.scriptrunner.GuiScript RunnerContext

Oracle Community | Jim Smith | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    4.1 EA1 - Unable to use worksheet

    Oracle Community | 2 years ago | Jim Smith
    java.lang.ClassCastException: oracle.dbtools.raptor.newscriptrunner.ScriptRunnerContext cannot be cast to oracle.dbtools.raptor.scriptrunner.GuiScript RunnerContext
  2. 0

    SQL Developer 4.1 - query problem

    Oracle Community | 2 years ago | 1012120
    java.lang.ClassCastException: oracle.dbtools.raptor.newscriptrunner.ScriptRunnerContext cannot be cast to oracle.dbtools.raptor.scriptrunner.GuiScriptRunnerContext

    Root Cause Analysis

    1. 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()
    2. oracle.dbtools.worksheet
      Worksheet$WorksheetController.update
      1. oracle.dbtools.worksheet.editor.Worksheet.createWorksheetContext(Worksheet.java:1095)
      2. oracle.dbtools.worksheet.editor.Worksheet$WorksheetController.update(Worksheet.java:669)
      2 frames
    3. oracle.ide.controller
      IdeAction.updateAction
      1. oracle.ide.controller.IdeAction.updateAction(IdeAction.java:783)
      2. oracle.ide.controller.IdeAction.updateAction(IdeAction.java:745)
      2 frames
    4. oracle.ide.view
      View.updateVisibleActions
      1. oracle.ide.view.View.updateAction(View.java:390)
      2. oracle.ide.view.View.updateToolbarActions(View.java:384)
      3. oracle.ide.view.View.updateVisibleActions(View.java:214)
      3 frames
    5. com.oracle.jdeveloper
      NbMainWindow$UpdateVisibleActions.actionPerformed
      1. com.oracle.jdeveloper.nbwindowsystem.NbMainWindow$UpdateVisibleActions.fireUpdate(NbMainWindow.java:1794)
      2. com.oracle.jdeveloper.nbwindowsystem.NbMainWindow$UpdateVisibleActions.actionPerformed(NbMainWindow.java:1779)
      2 frames
    6. Java RT
      EventQueue.dispatchEvent
      1. javax.swing.Timer.fireActionPerformed(Timer.java:313)
      2. javax.swing.Timer$DoPostEvent.run(Timer.java:245)
      3. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      4. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
      5. java.awt.EventQueue.access$400(EventQueue.java:97)
      6. java.awt.EventQueue$3.run(EventQueue.java:697)
      7. java.awt.EventQueue$3.run(EventQueue.java:691)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      10. java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
      10 frames
    7. oracle.javatools.internal
      EventQueueWrapper.dispatchEvent
      1. oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      2. oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      2 frames
    8. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames