java.lang.ClassCastException: java.lang.String cannot be cast to org.eclipse.swt.widgets.MenuItem

Pentaho BI Platform Tracking | Matt Casters | 4 years ago
  1. 0

    Result of 4.4 forward porting of code: java.lang.ClassCastException: org.eclipse.jface.action.MenuManager cannot be cast to org.eclipse.swt.widgets.Menu at org.pentaho.di.ui.spoon.job.JobGraph.setMenu(JobGraph.java:1899) at org.pentaho.di.ui.spoon.job.JobGraph.mouseDown(JobGraph.java:646) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1270) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7151) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8412) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:598) or for the new step/job entry right click popup-menu: java.lang.ClassCastException: java.lang.String cannot be cast to org.eclipse.swt.widgets.MenuItem at org.pentaho.di.ui.spoon.job.JobGraph.setMenu(JobGraph.java:1781) at org.pentaho.di.ui.spoon.job.JobGraph.mouseDown(JobGraph.java:646) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1270) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7151) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8412) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:598)

    Pentaho BI Platform Tracking | 4 years ago | Matt Casters
    java.lang.ClassCastException: java.lang.String cannot be cast to org.eclipse.swt.widgets.MenuItem
  2. 0

    Result of 4.4 forward porting of code: java.lang.ClassCastException: org.eclipse.jface.action.MenuManager cannot be cast to org.eclipse.swt.widgets.Menu at org.pentaho.di.ui.spoon.job.JobGraph.setMenu(JobGraph.java:1899) at org.pentaho.di.ui.spoon.job.JobGraph.mouseDown(JobGraph.java:646) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1270) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7151) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8412) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:598) or for the new step/job entry right click popup-menu: java.lang.ClassCastException: java.lang.String cannot be cast to org.eclipse.swt.widgets.MenuItem at org.pentaho.di.ui.spoon.job.JobGraph.setMenu(JobGraph.java:1781) at org.pentaho.di.ui.spoon.job.JobGraph.mouseDown(JobGraph.java:646) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1270) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7151) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8412) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:598)

    Pentaho BI Platform Tracking | 4 years ago | Matt Casters
    java.lang.ClassCastException: java.lang.String cannot be cast to org.eclipse.swt.widgets.MenuItem
  3. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String
  6. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to org.eclipse.swt.widgets.MenuItem

      at org.pentaho.di.ui.spoon.job.JobGraph.setMenu()
    2. org.pentaho.di
      JobGraph.mouseDown
      1. org.pentaho.di.ui.spoon.job.JobGraph.setMenu(JobGraph.java:1781)
      2. org.pentaho.di.ui.spoon.job.JobGraph.mouseDown(JobGraph.java:646)
      2 frames
    3. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    4. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1270)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7151)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8412)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:598)
      4 frames