Hi.
I'm using PDI 5.2 CE. Repository is on PostgreSQL 9.3. Everything works ok on server where database is installed and where I'm using Spoon.
When I try to save job or transformation on this repository remotly from another PC I got error:
Unable to save step info to the repository for id_transformation=42
Error inserting/updating row
BŁĄD: wartość zbyt długa dla typu znakowego (1)
Details of 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=42
Error inserting/updating row
BŁĄD: wartość zbyt długa dla typu znakowego (1)
at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:72)
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=42
Error inserting/updating row
BŁĄD: wartość zbyt długa dla typu znakowego (1)
at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryStepDelegate.saveStepMeta(KettleDatabaseRepositoryStepDelegate.java:259)
at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate.saveTransformation(KettleDatabaseRepositoryTransDelegate.java:278)
at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:407)
at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:387)
at org.pentaho.di.repository.AbstractRepository.save(AbstractRepository.java:126)
at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:70)
... 1 more
Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
Error inserting/updating row
BŁĄD: wartość zbyt długa dla typu znakowego (1)
at org.pentaho.di.core.database.Database.insertRow(Database.java:1268)
at org.pentaho.di.core.database.Database.insertRow(Database.java:1195)
at org.pentaho.di.core.database.Database.insertRow(Database.java:1181)
at org.pentaho.di.core.database.Database.insertRow(Database.java:1169)
at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryStepDelegate.insertStep(KettleDatabaseRepositoryStepDelegate.java:379)
at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryStepDelegate.saveStepMeta(KettleDatabaseRepositoryStepDelegate.java:226)
... 6 more
Caused by: org.postgresql.util.PSQLException: BŁĄD: wartość zbyt długa dla typu znakowego (1)
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:419)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:365)
at org.pentaho.di.core.database.Database.insertRow(Database.java:1235)
... 11 more
I tried it also on earlier version (5.0, 4.8) - always the same error.
"BŁĄD: wartość zbyt długa dla typu znakowego (1)" means "ERROR: value too long for type character(1)"
I found this thread -
http://forums.pentaho.com/showthread...QL-Repositiory
My PostgreSQL log:
2014-11-21 14:40:34 CET BĹÄ„D: wartość zbyt dĹ‚uga dla typu znakowego (1)
2014-11-21 14:40:34 CET WYRAŻENIE: INSERT INTO R_JOB (ID_JOB, ID_DIRECTORY, "name", DESCRIPTION, EXTENDED_DESCRIPTION, JOB_VERSION, JOB_STATUS, ID_DATABASE_LOG, TABLE_NAME_LOG, USE_BATCH_ID, USE_LOGFIELD, CREATED_USER, CREATED_DATE, MODIFIED_USER, MODIFIED_DATE, PASS_BATCH_ID, SHARED_FILE) VALUES ( $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17)
2014-11-21 14:40:34 CET DZIENNIK: wykonanie S_251: ROLLBACK
Anyone can help?