Error that buzzes build process (it never ends)

I have the following error during build (see below). As I noticed it happens in case when changes are big enough and it cann't be parsed in time specified by modification.check.interval. I am able to fix problem by increasing value if this variable but in this case I need to wait for this interval every time (even if changes were small). Is it general mistake or only for ClearCase VCS (I use)?

Data truncation: Data too long for column 'BEFORE_REVISION' at row 1
org.springframework.jdbc.UncategorizedSQLException: ConnectionCallback; uncategorized SQLException for SQL []; SQL state ; error code ; Data truncation: Data too long for column 'BEFORE_REVISION' at row 1; nested exception is com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'BEFORE_REVISION' at row 1
com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'BEFORE_REVISION' at row 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2868)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1169)
at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:693)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:794)
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:168)
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:168)
at jetbrains.buildServer.serverSide.impl.query.Query.execute(Query.java:40)
at jetbrains.buildServer.serverSide.impl.query.InsertVcsChangesQuery.exec(InsertVcsChangesQuery.java:1)
at jetbrains.buildServer.vcs.impl.DBVcsModificationHistory$7.run(DBVcsModificationHistory.java:0)
at jetbrains.buildServer.serverSide.impl.DBFacade$13.doInConnection(DBFacade.java:1)
at jetbrains.buildServer.serverSide.impl.DBFacade$15.doInConnection(DBFacade.java:2)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:230)
at jetbrains.buildServer.serverSide.impl.DBFacade._runSql(DBFacade.java:104)
at jetbrains.buildServer.serverSide.impl.DBFacade.runSql(DBFacade.java:276)
at jetbrains.buildServer.vcs.impl.DBVcsModificationHistory.addModification(DBVcsModificationHistory.java:93)
at jetbrains.buildServer.serverSide.impl.BuildServerImpl$VcsModificationCreatorWrapper.createModification(BuildServerImpl.java:4)
at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.addModification(VcsChangesLoader.java:36)
at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChanges(VcsChangesLoader.java:30)
at jetbrains.buildServer.serverSide.impl.ProjectImpl.loadChanges(ProjectImpl.java:161)
at jetbrains.buildServer.serverSide.impl.ProjectImpl.checkForModifications(ProjectImpl.java:67)
at jetbrains.buildServer.serverSide.impl.BuildServerImpl$8.run(BuildServerImpl.java:13)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'BEFORE_REVISION' at row 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2868)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1169)
at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:693)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:794)
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:168)
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:168)
at jetbrains.buildServer.serverSide.impl.query.Query.execute(Query.java:40)
at jetbrains.buildServer.serverSide.impl.query.InsertVcsChangesQuery.exec(InsertVcsChangesQuery.java:1)
at jetbrains.buildServer.vcs.impl.DBVcsModificationHistory$7.run(DBVcsModificationHistory.java:0)
at jetbrains.buildServer.serverSide.impl.DBFacade$13.doInConnection(DBFacade.java:1)
at jetbrains.buildServer.serverSide.impl.DBFacade$15.doInConnection(DBFacade.java:2)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:230)
at jetbrains.buildServer.serverSide.impl.DBFacade._runSql(DBFacade.java:104)
at jetbrains.buildServer.serverSide.impl.DBFacade.runSql(DBFacade.java:276)
at jetbrains.buildServer.vcs.impl.DBVcsModificationHistory.addModification(DBVcsModificationHistory.java:93)
at jetbrains.buildServer.serverSide.impl.BuildServerImpl$VcsModificationCreatorWrapper.createModification(BuildServerImpl.java:4)
at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.addModification(VcsChangesLoader.java:36)
at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChanges(VcsChangesLoader.java:30)
at jetbrains.buildServer.serverSide.impl.ProjectImpl.loadChanges(ProjectImpl.java:161)
at jetbrains.buildServer.serverSide.impl.ProjectImpl.checkForModifications(ProjectImpl.java:67)
at jetbrains.buildServer.serverSide.impl.BuildServerImpl$8.run(BuildServerImpl.java:13)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

1 comment
Comment actions Permalink

Hi Yaroslav,

the problem will be fixed in next EAP (ClearCase produces long versions, it
is not a bug). As a workaround you can expand these columns (BEFORE_REVISION
& AFTER_REVISION) yourself.

Thanks for the feedback!

--
Olesya Smirnova
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


"Yaroslav" <2007temporary@rambler.ru> wrote in message
news:24969803.1175600705332.JavaMail.itn@is.intellij.net...
>I have the following error during build (see below). As I noticed it
>happens in case when changes are big enough and it cann't be parsed in time
>specified by modification.check.interval. I am able to fix problem by
>increasing value if this variable but in this case I need to wait for this
>interval every time (even if changes were small). Is it general mistake or
>only for ClearCase VCS (I use)?
>

Data truncation: Data too long for column 'BEFORE_REVISION' at row 1
org.springframework.jdbc.UncategorizedSQLException: ConnectionCallback;
uncategorized SQLException for SQL []; SQL state ; error code ;
Data truncation: Data too long for column 'BEFORE_REVISION' at row 1;
nested exception is com.mysql.jdbc.MysqlDataTruncation: Data truncation:
Data too long for column 'BEFORE_REVISION' at row 1
com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for
column 'BEFORE_REVISION' at row 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2868)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
at
com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1169)
at
com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:693)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:794)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:168)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:168)
at
jetbrains.buildServer.serverSide.impl.query.Query.execute(Query.java:40)
at
jetbrains.buildServer.serverSide.impl.query.InsertVcsChangesQuery.exec(InsertVcsChangesQuery.java:1)
at
jetbrains.buildServer.vcs.impl.DBVcsModificationHistory$7.run(DBVcsModificationHistory.java:0)
at
jetbrains.buildServer.serverSide.impl.DBFacade$13.doInConnection(DBFacade.java:1)
at
jetbrains.buildServer.serverSide.impl.DBFacade$15.doInConnection(DBFacade.java:2)
at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:230)
at
jetbrains.buildServer.serverSide.impl.DBFacade._runSql(DBFacade.java:104)
at
jetbrains.buildServer.serverSide.impl.DBFacade.runSql(DBFacade.java:276)
at
jetbrains.buildServer.vcs.impl.DBVcsModificationHistory.addModification(DBVcsModificationHistory.java:93)
at
jetbrains.buildServer.serverSide.impl.BuildServerImpl$VcsModificationCreatorWrapper.createModification(BuildServerImpl.java:4)
at
jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.addModification(VcsChangesLoader.java:36)
at
jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChanges(VcsChangesLoader.java:30)
at
jetbrains.buildServer.serverSide.impl.ProjectImpl.loadChanges(ProjectImpl.java:161)
at
jetbrains.buildServer.serverSide.impl.ProjectImpl.checkForModifications(ProjectImpl.java:67)
at
jetbrains.buildServer.serverSide.impl.BuildServerImpl$8.run(BuildServerImpl.java:13)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for
column 'BEFORE_REVISION' at row 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2868)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
at
com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1169)
at
com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:693)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:794)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:168)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:168)
at
jetbrains.buildServer.serverSide.impl.query.Query.execute(Query.java:40)
at
jetbrains.buildServer.serverSide.impl.query.InsertVcsChangesQuery.exec(InsertVcsChangesQuery.java:1)
at
jetbrains.buildServer.vcs.impl.DBVcsModificationHistory$7.run(DBVcsModificationHistory.java:0)
at
jetbrains.buildServer.serverSide.impl.DBFacade$13.doInConnection(DBFacade.java:1)
at
jetbrains.buildServer.serverSide.impl.DBFacade$15.doInConnection(DBFacade.java:2)
at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:230)
at
jetbrains.buildServer.serverSide.impl.DBFacade._runSql(DBFacade.java:104)
at
jetbrains.buildServer.serverSide.impl.DBFacade.runSql(DBFacade.java:276)
at
jetbrains.buildServer.vcs.impl.DBVcsModificationHistory.addModification(DBVcsModificationHistory.java:93)
at
jetbrains.buildServer.serverSide.impl.BuildServerImpl$VcsModificationCreatorWrapper.createModification(BuildServerImpl.java:4)
at
jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.addModification(VcsChangesLoader.java:36)
at
jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChanges(VcsChangesLoader.java:30)
at
jetbrains.buildServer.serverSide.impl.ProjectImpl.loadChanges(ProjectImpl.java:161)
at
jetbrains.buildServer.serverSide.impl.ProjectImpl.checkForModifications(ProjectImpl.java:67)
at
jetbrains.buildServer.serverSide.impl.BuildServerImpl$8.run(BuildServerImpl.java:13)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)



0

Please sign in to leave a comment.