java.lang.reflect.InvocationTargetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Attached is a transformation that was originally created in PDI 2.5. It will import into PDI 3.0 fine, but when you go to save it to the repository, it errors out and seems to swallow the underlying exception. Here is the stack trace I get: java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Error saving transformation to repository! Error updating batch Batch entry 435 INSERT INTO R_STEP_ATTRIBUTE(ID_STEP_ATTRIBUTE, ID_TRANSFORMATION, ID_STEP, NR, CODE, VALUE_NUM, VALUE_STR) VALUES ( 663, 2, 7, 0, field_precision, 0.0, N) was aborted. Call getNextException to see the cause. at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:59) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleException: Error saving transformation to repository! Error updating batch Batch entry 435 INSERT INTO R_STEP_ATTRIBUTE(ID_STEP_ATTRIBUTE, ID_TRANSFORMATION, ID_STEP, NR, CODE, VALUE_NUM, VALUE_STR) VALUES ( 663, 2, 7, 0, field_precision, 0.0, N) was aborted. Call getNextException to see the cause. at org.pentaho.di.trans.TransMeta.saveRep(TransMeta.java:1888) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:55) ... 1 more Caused by: org.pentaho.di.core.exception.KettleDatabaseBatchException: Error updating batch Batch entry 435 INSERT INTO R_STEP_ATTRIBUTE(ID_STEP_ATTRIBUTE, ID_TRANSFORMATION, ID_STEP, NR, CODE, VALUE_NUM, VALUE_STR) VALUES ( 663, 2, 7, 0, field_precision, 0.0, N) was aborted. Call getNextException to see the cause. at org.pentaho.di.core.database.Database.insertFinished(Database.java:1373) at org.pentaho.di.repository.Repository.closeStepAttributeInsertPreparedStatement(Repository.java:2790) at org.pentaho.di.trans.TransMeta.saveRep(TransMeta.java:1797) ... 2 more Caused by: java.sql.BatchUpdateException: Batch entry 435 INSERT INTO R_STEP_ATTRIBUTE(ID_STEP_ATTRIBUTE, ID_TRANSFORMATION, ID_STEP, NR, CODE, VALUE_NUM, VALUE_STR) VALUES ( 663, 2, 7, 0, field_precision, 0.0, N) was aborted. Call getNextException to see the cause. at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2512) at org.postgresql.core.v3.QueryExecutorImpl$ErrorTrackingResultHandler.handleError(QueryExecutorImpl.java:279) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1310) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:328) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2574) at org.pentaho.di.core.database.Database.insertFinished(Database.java:1358) ... 4 more Transformation is attached.
    via by Jake Cornelius,
  • ImageMosaic-JDBC Error
    via Geographic Information Systems by user17653
    ,
  • Exception with batch insert jdbc
    via Stack Overflow by java_learner
    ,
  • ImageMosaic-JDBC Error
    via Stack Overflow by user17653
    ,
    • java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Error saving transformation to repository! Error updating batch Batch entry 435 INSERT INTO R_STEP_ATTRIBUTE(ID_STEP_ATTRIBUTE, ID_TRANSFORMATION, ID_STEP, NR, CODE, VALUE_NUM, VALUE_STR) VALUES ( 663, 2, 7, 0, field_precision, 0.0, N) was aborted. Call getNextException to see the cause. at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:59) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleException: Error saving transformation to repository! Error updating batch Batch entry 435 INSERT INTO R_STEP_ATTRIBUTE(ID_STEP_ATTRIBUTE, ID_TRANSFORMATION, ID_STEP, NR, CODE, VALUE_NUM, VALUE_STR) VALUES ( 663, 2, 7, 0, field_precision, 0.0, N) was aborted. Call getNextException to see the cause. at org.pentaho.di.trans.TransMeta.saveRep(TransMeta.java:1888) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:55) ... 1 more Caused by: org.pentaho.di.core.exception.KettleDatabaseBatchException: Error updating batch Batch entry 435 INSERT INTO R_STEP_ATTRIBUTE(ID_STEP_ATTRIBUTE, ID_TRANSFORMATION, ID_STEP, NR, CODE, VALUE_NUM, VALUE_STR) VALUES ( 663, 2, 7, 0, field_precision, 0.0, N) was aborted. Call getNextException to see the cause. at org.pentaho.di.core.database.Database.insertFinished(Database.java:1373) at org.pentaho.di.repository.Repository.closeStepAttributeInsertPreparedStatement(Repository.java:2790) at org.pentaho.di.trans.TransMeta.saveRep(TransMeta.java:1797) ... 2 more Caused by: java.sql.BatchUpdateException: Batch entry 435 INSERT INTO R_STEP_ATTRIBUTE(ID_STEP_ATTRIBUTE, ID_TRANSFORMATION, ID_STEP, NR, CODE, VALUE_NUM, VALUE_STR) VALUES ( 663, 2, 7, 0, field_precision, 0.0, N) was aborted. Call getNextException to see the cause. at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2512) at org.postgresql.core.v3.QueryExecutorImpl$ErrorTrackingResultHandler.handleError(QueryExecutorImpl.java:279) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1310) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:328) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2574) at org.pentaho.di.core.database.Database.insertFinished(Database.java:1358) ... 4 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    6 more bugmates