java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: The value of directory may not be null

openbravopos | bennylhy | 8 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

    PDI (Kettle) save job problem.

    openbravopos | 8 years ago | bennylhy
    java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: The value of directory may not be null
  2. 0

    1. Log into the EE repository 2.Open the \data-integration\plugins\spoon\agile-bi\platform\pentaho-solutions\system\instaview\templates\Local File\csv.ktr file 3. Save it to the EE repository. You get an error dialog Unable to save repository element [C:\Pentaho\PDI\pdi_ee_4.4nightly920\pdi-ee\data-integration\plugins\spoon\agile-bi\platform\pentaho-solutions\system\instaview\templates\Local File\my_csvnoselect.ktr : my_csvnoselect] Unable to save step information to the repository for id_step=null with the following details java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save repository element [C:\Pentaho\PDI\pdi_ee_4.4nightly920\pdi-ee\data-integration\plugins\spoon\agile-bi\platform\pentaho-solutions\system\instaview\templates\Local File\my_csvnoselect.ktr : my_csvnoselect] Unable to save step information to the repository for id_step=null at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:113) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run (SaveProgressDialog.java:78) at org.pentaho.di.repository.pur.PurRepository.save (SourceFile:1737) at org.pentaho.di.repository.pur.PurRepository.saveTrans (SourceFile:1946) at org.pentaho.di.repository.pur.PurRepository.saveTrans0 (SourceFile:1917) at org.pentaho.di.repository.pur.i.a (SourceFile:525) at org.pentaho.di.trans.steps.monetdbbulkloader.MonetDBBulkLoaderMeta.saveRep (MonetDBBulkLoaderMeta.java:389) at org.pentaho.di.repository.pur.RepositoryProxy.insertStepDatabase (SourceFile:369) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:82) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleException: Unable to save repository element [C:\Pentaho\PDI\pdi_ee_4.4nightly920\pdi-ee\data-integration\plugins\spoon\agile-bi\platform\pentaho-solutions\system\instaview\templates\Local File\my_csvnoselect.ktr : my_csvnoselect] Unable to save step information to the repository for id_step=null at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:113) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run (SaveProgressDialog.java:78) at org.pentaho.di.repository.pur.PurRepository.save (SourceFile:1737) at org.pentaho.di.repository.pur.PurRepository.saveTrans (SourceFile:1946) at org.pentaho.di.repository.pur.PurRepository.saveTrans0 (SourceFile:1917) at org.pentaho.di.repository.pur.i.a (SourceFile:525) at org.pentaho.di.trans.steps.monetdbbulkloader.MonetDBBulkLoaderMeta.saveRep (MonetDBBulkLoaderMeta.java:389) at org.pentaho.di.repository.pur.RepositoryProxy.insertStepDatabase (SourceFile:369) at org.pentaho.di.repository.pur.PurRepository.save(SourceFile:1759) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:78) ... 1 more Caused by: org.pentaho.di.core.exception.KettleException: Unable to save step information to the repository for id_step=null at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:113) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run (SaveProgressDialog.java:78) at org.pentaho.di.repository.pur.PurRepository.save (SourceFile:1737) at org.pentaho.di.repository.pur.PurRepository.saveTrans (SourceFile:1946) at org.pentaho.di.repository.pur.PurRepository.saveTrans0 (SourceFile:1917) at org.pentaho.di.repository.pur.i.a (SourceFile:525) at org.pentaho.di.trans.steps.monetdbbulkloader.MonetDBBulkLoaderMeta.saveRep (MonetDBBulkLoaderMeta.java:389) at org.pentaho.di.repository.pur.RepositoryProxy.insertStepDatabase (SourceFile:369) at org.pentaho.di.trans.steps.monetdbbulkloader.MonetDBBulkLoaderMeta.saveRep(MonetDBBulkLoaderMeta.java:393) at org.pentaho.di.repository.pur.i.a(SourceFile:525) at org.pentaho.di.repository.pur.PurRepository.saveTrans0(SourceFile:1917) at org.pentaho.di.repository.pur.PurRepository.saveTrans(SourceFile:1946) at org.pentaho.di.repository.pur.PurRepository.save(SourceFile:1737) ... 2 more Caused by: java.lang.NullPointerException at org.pentaho.di.repository.pur.RepositoryProxy.insertStepDatabase(SourceFile:369) at org.pentaho.di.trans.steps.monetdbbulkloader.MonetDBBulkLoaderMeta.saveRep(MonetDBBulkLoaderMeta.java:389) ... 6 more

    Pentaho BI Platform Tracking | 4 years ago | Golda David
    java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save repository element [C:\Pentaho\PDI\pdi_ee_4.4nightly920\pdi-ee\data-integration\plugins\spoon\agile-bi\platform\pentaho-solutions\system\instaview\templates\Local File\my_csvnoselect.ktr : my_csvnoselect] Unable to save step information to the repository for id_step=null at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:113) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run (SaveProgressDialog.java:78) at org.pentaho.di.repository.pur.PurRepository.save (SourceFile:1737) at org.pentaho.di.repository.pur.PurRepository.saveTrans (SourceFile:1946) at org.pentaho.di.repository.pur.PurRepository.saveTrans0 (SourceFile:1917) at org.pentaho.di.repository.pur.i.a (SourceFile:525) at org.pentaho.di.trans.steps.monetdbbulkloader.MonetDBBulkLoaderMeta.saveRep (MonetDBBulkLoaderMeta.java:389) at org.pentaho.di.repository.pur.RepositoryProxy.insertStepDatabase (SourceFile:369)
  3. 0

    Create a transformation with a table output step and give it a connection to a database. When you try to save the transformation you get the following error... java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save step info to the repository for id_transformation=1 Unable to save step information to the repository for id_step=2 at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:113) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run (SaveProgressDialog.java:73) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save (KettleDatabaseRepository.java:308) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save (KettleDatabaseRepository.java:327) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate.saveTransformation (KettleDatabaseRepositoryTransDelegate.java:207) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryStepDelegate.saveStepMeta (KettleDatabaseRepositoryStepDelegate.java:179) at org.pentaho.di.trans.steps.tableoutput.TableOutputMeta.saveRep (TableOutputMeta.java:582) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.insertStepDatabase (KettleDatabaseRepository.java:548) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:77) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleException: Unable to save step info to the repository for id_transformation=1 Unable to save step information to the repository for id_step=2 at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:113) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run (SaveProgressDialog.java:73) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save (KettleDatabaseRepository.java:308) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save (KettleDatabaseRepository.java:327) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate.saveTransformation (KettleDatabaseRepositoryTransDelegate.java:207) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryStepDelegate.saveStepMeta (KettleDatabaseRepositoryStepDelegate.java:179) at org.pentaho.di.trans.steps.tableoutput.TableOutputMeta.saveRep (TableOutputMeta.java:582) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.insertStepDatabase (KettleDatabaseRepository.java:548) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryStepDelegate.saveStepMeta(KettleDatabaseRepositoryStepDelegate.java:187) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate.saveTransformation(KettleDatabaseRepositoryTransDelegate.java:207) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:327) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:308) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:73) ... 1 more Caused by: org.pentaho.di.core.exception.KettleException: Unable to save step information to the repository for id_step=2 at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:113) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run (SaveProgressDialog.java:73) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save (KettleDatabaseRepository.java:308) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save (KettleDatabaseRepository.java:327) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate.saveTransformation (KettleDatabaseRepositoryTransDelegate.java:207) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryStepDelegate.saveStepMeta (KettleDatabaseRepositoryStepDelegate.java:179) at org.pentaho.di.trans.steps.tableoutput.TableOutputMeta.saveRep (TableOutputMeta.java:582) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.insertStepDatabase (KettleDatabaseRepository.java:548) at org.pentaho.di.trans.steps.tableoutput.TableOutputMeta.saveRep(TableOutputMeta.java:587) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryStepDelegate.saveStepMeta(KettleDatabaseRepositoryStepDelegate.java:179) ... 5 more Caused by: java.lang.NullPointerException at org.pentaho.di.repository.kdr.KettleDatabaseRepository.insertStepDatabase(KettleDatabaseRepository.java:548) at org.pentaho.di.trans.steps.tableoutput.TableOutputMeta.saveRep(TableOutputMeta.java:582) ... 6 more

    Pentaho BI Platform Tracking | 6 years ago | Rob Fellows
    java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save step info to the repository for id_transformation=1 Unable to save step information to the repository for id_step=2 at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:113) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run (SaveProgressDialog.java:73) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save (KettleDatabaseRepository.java:308) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save (KettleDatabaseRepository.java:327) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate.saveTransformation (KettleDatabaseRepositoryTransDelegate.java:207) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryStepDelegate.saveStepMeta (KettleDatabaseRepositoryStepDelegate.java:179) at org.pentaho.di.trans.steps.tableoutput.TableOutputMeta.saveRep (TableOutputMeta.java:582) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.insertStepDatabase (KettleDatabaseRepository.java:548)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.pentaho.di.core.exception.KettleException

      The value of directory may not be null

      at org.pentaho.di.job.entries.job.JobEntryJob.saveRep()
    2. org.pentaho.di
      SaveProgressDialog$1.run
      1. org.pentaho.di.job.entries.job.JobEntryJob.saveRep(JobEntryJob.java:297)
      2. org.pentaho.di.job.entry.JobEntryCopy.saveRep(JobEntryCopy.java:234)
      3. org.pentaho.di.job.JobMeta.saveRep(JobMeta.java:1141)
      4. org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:68)
      4 frames
    3. JFace
      ModalContext$ModalContextThread.run
      1. org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
      1 frame