java.sql.SQLDataException: A truncation error was encountered trying to shrink VARCHAR '*********************************' to length 32.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via sysaid.com by Unknown author, 1 year ago
A truncation error was encountered trying to shrink VARCHAR '*********************************' to length 32.
via ode-user by Jitendra Kharche, 1 year ago
A truncation error was encountered trying to shrink BLOB '(Binary data value not displayed)' to length 1048576.
via ode-user by Jitendra Kharche, 1 year ago
A truncation error was encountered trying to shrink BLOB '(Binary data value not displayed)' to length 1048576.
via ode-user by Jitendra Kharche, 1 year ago
A truncation error was encountered trying to shrink BLOB '(Binary data value not displayed)' to length 1048576.
via db-derby-user by Martijn Blankestijn, 1 year ago
An attempt was made to get a data value of type 'DATE' from a data value of type 'java.time.LocalDate'.
via JIRA by David Withers, 1 year ago
A truncation error was encountered trying to shrink VARCHAR '===ERROR=== Fault details: [string: null] [HttpErrorCode:&' to length 255.
java.sql.SQLDataException: A truncation error was encountered trying to shrink VARCHAR '*********************************' to length 32.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
at com.bitmechanic.sql.PooledPreparedStatement.executeUpdate(Unknown Source)
at com.sysaid.server.ServiceRequest.save(Unknown Source)
at com.sysaid.server.cg.a(Unknown Source)
at com.sysaid.server.cg.a(Unknown Source)
at com.sysaid.server.l.b(Unknown Source)
at com.sysaid.server.l.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)

Users with the same issue

Once, 5 months ago
Once, 7 months ago
Once, 7 months ago
Once, 1 year ago
81 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.