java.lang.ClassCastException: java.lang.String cannot be cast to org.pentaho.di.trans.step.StepMeta

Pentaho BI Platform Tracking | David Smiley | 5 years ago
  1. 0

    I built Kettle 4.2.0-RC from source control, and I was poking around in Spoon, previewing "XML Input Stream StAX Test 3 -- Attribute Groups". And the error below occurred. It should be an easy fix to have StepMeta.equals(obj) examine the target class to see if its an instance of StepMeta. 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : java.lang.ClassCastException: java.lang.String cannot be cast to org.pentaho.di.trans.step.StepMeta 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.pentaho.di.trans.step.StepMeta.equals(StepMeta.java:407) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:716) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:189) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1169) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6843) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at java.lang.reflect.Method.invoke(Method.java:597) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at java.lang.reflect.Method.invoke(Method.java:597) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at apple.launcher.LaunchRunner.run(LaunchRunner.java:116) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

    Pentaho BI Platform Tracking | 5 years ago | David Smiley
    java.lang.ClassCastException: java.lang.String cannot be cast to org.pentaho.di.trans.step.StepMeta
  2. 0

    I built Kettle 4.2.0-RC from source control, and I was poking around in Spoon, previewing "XML Input Stream StAX Test 3 -- Attribute Groups". And the error below occurred. It should be an easy fix to have StepMeta.equals(obj) examine the target class to see if its an instance of StepMeta. 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : java.lang.ClassCastException: java.lang.String cannot be cast to org.pentaho.di.trans.step.StepMeta 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.pentaho.di.trans.step.StepMeta.equals(StepMeta.java:407) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:716) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:189) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1169) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6843) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at java.lang.reflect.Method.invoke(Method.java:597) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at java.lang.reflect.Method.invoke(Method.java:597) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at apple.launcher.LaunchRunner.run(LaunchRunner.java:116) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51) 2011/08/03 13:03:24 - Spoon - ERROR (version 4.2.0-RC1, build 1 from 2011-08-01 17.45.25 by dsmiley) : at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

    Pentaho BI Platform Tracking | 5 years ago | David Smiley
    java.lang.ClassCastException: java.lang.String cannot be cast to org.pentaho.di.trans.step.StepMeta
  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

    Passing ArrayList<String> from ActivityA to ActivityB

    Stack Overflow | 2 months ago | user5425093
    java.lang.RuntimeException: Unable to start activity ComponentInfo{tanav.sharma/tanav.sharma.TanavActivityOrder}: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.String[]
  6. 0

    rhino class aliasing

    GitHub | 3 years ago | perimosocordiae
    java.lang.ExceptionInInitializerError

    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.pentaho.di.trans.step.StepMeta

      at org.pentaho.di.trans.step.StepMeta.equals()
    2. org.pentaho.di
      TransGraph.mouseDoubleClick
      1. org.pentaho.di.trans.step.StepMeta.equals(StepMeta.java:407)
      2. org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:716)
      2 frames
    3. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:189)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
      7. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187)
      8. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622)
      9. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277)
      9 frames
    4. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1169)
      2. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6843)
      3. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553)
      3 frames
    5. 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
    6. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
      1 frame
    7. Java RT
      JavaApplicationLauncher.launch
      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)
      5. apple.launcher.LaunchRunner.run(LaunchRunner.java:116)
      6. apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51)
      7. apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
      7 frames