Page 1 of 1

A truncation error was encountered trying to shrink VARCHAR

PostPosted: Sat Mar 09, 2013 1:13 am
by vinothsubramanian
I am getting lot of these kind of errors in Serviio log. Has any one faced similar issue and any fix for it?

  Code:
Caused by: ERROR 22001: A truncation error was encountered trying to shrink VARCHAR '10/SRT/eng/true,11/SRT/dan/false,12/SRT/dut/false,13/SRT/est&' to length 256.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown Source)
   at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
   at org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
   at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown Source)
   at org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeColumn(Unknown Source)
   at org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknown Source)
   at org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown Source)
   at org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown Source)
   at org.apache.derby.impl.sql.execute.UpdateResultSet.collectAffectedRows(Unknown Source)
   at org.apache.derby.impl.sql.execute.UpdateResultSet.open(Unknown Source)
   at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
   at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
   ... 8 more


Regards,
Ram.

Re: A truncation error was encountered trying to shrink VARC

PostPosted: Sat Mar 09, 2013 12:06 pm
by zip
will be fixed in 1.2.1

Re: A truncation error was encountered trying to shrink VARC

PostPosted: Sat Mar 09, 2013 2:56 pm
by vinothsubramanian
Thank you...