java.sql.SQLDataException: A truncation error was encountered trying to shrink VARCHAR 'output/us-rfbd.EP-MN486us-rfbd.EP-MN486us-rfbd.EP-MN486%20-%&' to length 255. Error Code: 20000 Call: INSERT INTO job_option_results (MEDIATYPE, OPTIONNAME, PATH, idx, job_id) VALUES (?, ?, ?, ?, ?) bind => [5 parameters bound] Query: InsertObjectQuery(org.daisy.pipeline.persistence.jobs.PersistentOptionResult@155c49f )

Google Groups | Pritchett, James | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Bug report: error finishing job with long title

    Google Groups | 3 years ago | Pritchett, James
    java.sql.SQLDataException: A truncation error was encountered trying to shrink VARCHAR 'output/us-rfbd.EP-MN486us-rfbd.EP-MN486us-rfbd.EP-MN486%20-%&' to length 255. Error Code: 20000 Call: INSERT INTO job_option_results (MEDIATYPE, OPTIONNAME, PATH, idx, job_id) VALUES (?, ?, ?, ?, ?) bind => [5 parameters bound] Query: InsertObjectQuery(org.daisy.pipeline.persistence.jobs.PersistentOptionResult@155c49f )

    Root Cause Analysis

    1. java.sql.SQLDataException

      A truncation error was encountered trying to shrink VARCHAR 'output/us-rfbd.EP-MN486us-rfbd.EP-MN486us-rfbd.EP-MN486%20-%&' to length 255. Error Code: 20000 Call: INSERT INTO job_option_results (MEDIATYPE, OPTIONNAME, PATH, idx, job_id) VALUES (?, ?, ?, ?, ?) bind => [5 parameters bound] Query: InsertObjectQuery(org.daisy.pipeline.persistence.jobs.PersistentOptionResult@155c49f )

      at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commitInternal()
    2. EclipseLink (non-OSGi)
      EntityTransactionImpl.commit
      1. org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commitInternal(EntityTransactionImpl.java:102)[na:na]
      2. org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:63)[na:na]
      2 frames
    3. org.daisy.pipeline
      DefaultJobExecutionService$1.run
      1. org.daisy.pipeline.persistence.Database.updateObject(Database.java:44)[na:na]
      2. org.daisy.pipeline.persistence.jobs.PersistentJob.onStatusChanged(PersistentJob.java:149)[na:na]
      3. org.daisy.pipeline.job.Job.changeStatus(Job.java:164)[na:na]
      4. org.daisy.pipeline.job.Job.run(Job.java:197)[na:na]
      5. org.daisy.pipeline.job.DefaultJobExecutionService$1.run(DefaultJobExecutionService.java:65)[na:na]
      5 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[na:1.7.0_51]
      1 frame