java.lang.ClassCastException: org.pentaho.di.job.JobMeta cannot be cast to org.pentaho.di.trans.TransMeta

Pentaho BI Platform Tracking | Sean Flatley | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    To reproduce: 1. Create a new JOB- don;t bother adding any entries or steps 2. Create a new slave server - information does not have to be 100% correct - we are not connecting to it. Close dialog. 3. right click on the save server in the "View" tab. Click share. Exception is thrown: Dialog with message is displayed: org.pentaho.di.job.JobMeta cannot be cast to org.pentaho.di.trans.TransMeta Details are: java.lang.ClassCastException: org.pentaho.di.job.JobMeta cannot be cast to org.pentaho.di.trans.TransMeta at org.pentaho.di.ui.spoon.Spoon.shareObject(Spoon.java:2173) at org.pentaho.di.ui.spoon.Spoon.shareObject(Spoon.java:2516) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:321) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:306) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:27) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:77) 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:1157) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6711) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:545) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)

    Pentaho BI Platform Tracking | 6 years ago | Sean Flatley
    java.lang.ClassCastException: org.pentaho.di.job.JobMeta cannot be cast to org.pentaho.di.trans.TransMeta
  2. 0

    To reproduce: 1. Create a new JOB- don;t bother adding any entries or steps 2. Create a new slave server - information does not have to be 100% correct - we are not connecting to it. Close dialog. 3. right click on the save server in the "View" tab. Click share. Exception is thrown: Dialog with message is displayed: org.pentaho.di.job.JobMeta cannot be cast to org.pentaho.di.trans.TransMeta Details are: java.lang.ClassCastException: org.pentaho.di.job.JobMeta cannot be cast to org.pentaho.di.trans.TransMeta at org.pentaho.di.ui.spoon.Spoon.shareObject(Spoon.java:2173) at org.pentaho.di.ui.spoon.Spoon.shareObject(Spoon.java:2516) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:321) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:306) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:27) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:77) 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:1157) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6711) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:545) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)

    Pentaho BI Platform Tracking | 6 years ago | Sean Flatley
    java.lang.ClassCastException: org.pentaho.di.job.JobMeta cannot be cast to org.pentaho.di.trans.TransMeta

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.pentaho.di.job.JobMeta cannot be cast to org.pentaho.di.trans.TransMeta

      at org.pentaho.di.ui.spoon.Spoon.shareObject()
    2. org.pentaho.di
      Spoon.shareObject
      1. org.pentaho.di.ui.spoon.Spoon.shareObject(Spoon.java:2173)
      2. org.pentaho.di.ui.spoon.Spoon.shareObject(Spoon.java:2516)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. org.pentaho.ui
      SwtMenuitem$1.widgetSelected
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:321)
      2. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:306)
      3. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135)
      4. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123)
      5. org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:27)
      6. org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:77)
      6 frames
    5. 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
    6. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1157)
      2. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6711)
      3. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:545)
      3 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)
      1 frame