Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: PDI4 - Exception when saving transformation to repository

  1. #1
    Join Date
    Apr 2007
    Posts
    2,010

    Default PDI4 - Exception when saving transformation to repository

    Hi,

    I've noticed this exception when saving migrated transformations to the repository from time to time.

    the only workaround is to copy and paste all the steps into a clean transformation and save as a different name!

    Anyone else seen this? is the exception enough info to fix it? ( i doubt it!)

    Dan


    java.lang.reflect.InvocationTargetException
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495)
    at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog.open(SaveProgressDialog.java:85)
    at org.pentaho.di.ui.spoon.Spoon.saveToRepository(Spoon.java:4451)
    at org.pentaho.di.ui.spoon.Spoon.saveToRepository(Spoon.java:4310)
    at org.pentaho.di.ui.spoon.Spoon.saveToFile(Spoon.java:4278)
    at org.pentaho.di.ui.spoon.Spoon.saveFile(Spoon.java:4257)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
    at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139)
    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:1169)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6943)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to org.pentaho.di.trans.step.StepMeta
    at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate.insertTransformation(KettleDatabaseRepositoryTransDelegate.java:1094)
    at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate.saveTransformation(KettleDatabaseRepositoryTransDelegate.java:227)
    at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:334)
    at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:311)
    at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:73)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

  2. #2
    Join Date
    Sep 2009
    Posts
    810

    Default

    Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to org.pentaho.di.trans.step.StepMeta
    at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate.insertTransformation(KettleDatabaseRepositoryTransDelegate.java:1094)
    Hey Dan,
    would you file a jira for this, the exception seems to include enough info to try and reproduce the effect. Are you using custom plugins in your setup?

    Cheers
    Slawo

  3. #3
    Join Date
    Apr 2007
    Posts
    2,010

    Default

    excellent thanks slawo - done!
    http://jira.pentaho.com/browse/PDI-6869

    Let me know if i can get any more info!

  4. #4
    Join Date
    Dec 2011
    Posts
    124

    Default

    Hi,

    i am getting same issue, while running etl's using pdi-ce-4.2.1-stable version. i don't understand your conversation for this issue, could you please explaing brifly, so that i can also run my etl's.

    Here what i am not understanding is Jira , you used words like :- (would you file a jira for this), what it means ?

    Are we need to place any Jira related files under PDI folder strucutre.

    Thanks
    Ramireddy


    Quote Originally Posted by slawomir.chodnicki View Post
    Hey Dan,
    would you file a jira for this, the exception seems to include enough info to try and reproduce the effect. Are you using custom plugins in your setup?

    Cheers
    Slawo

  5. #5
    Join Date
    Apr 2007
    Posts
    2,010

    Default

    just use the latest 4.3 version, it's fixed there.
    Or check your logging. In the logging tab you'll be referring to a step which doesnt exist.

  6. #6

    Default EVen I am getting same issue

    Quote Originally Posted by codek View Post
    just use the latest 4.3 version, it's fixed there.
    Or check your logging. In the logging tab you'll be referring to a step which doesnt exist.
    Hello every one c

    I am also getting above error may I know what do you mean by JIra

  7. #7
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    Jira is the tracking system used by Pentaho (and many others).
    So long, and thanks for all the fish.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.