Hi Folks,
While one of our pipelines were triggered, it failed to connect to an agent. GoCD reporting the error as the pipeline being hung. While attempting to stop the job, and error came up.
### Error updating database. Cause: org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: NULL not allowed for column "STATECHANGETIME"; SQL statement: INSERT INTO buildStateTransitions (currentState, stateChangeTime, buildId, stageId) VALUES (?, ?, ?, ?) [23502-200] ### The error may exist in com/thoughtworks/go/server/dao/maps/BuildStateTransition.xml ### The error may involve BuildStateTransition.insert-transition-param ### The error occurred while setting parameters ### SQL: INSERT INTO buildStateTransitions (currentState, stateChangeTime, buildId, stageId) VALUES (?, ?, ?, ?) ### Cause: org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: NULL not allowed for column "STATECHANGETIME"; SQL statement: INSERT INTO buildStateTransitions (currentState, stateChangeTime, buildId, stageId) VALUES (?, ?, ?, ?) [23502-200] ; SQL []; NULL not allowed for column "STATECHANGETIME"; SQL statement: INSERT INTO buildStateTransitions (currentState, stateChangeTime, buildId, stageId) VALUES (?, ?, ?, ?) [23502-200]; nested exception is org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: NULL not allowed for column "STATECHANGETIME"; SQL statement: INSERT INTO buildStateTransitions (currentState, stateChangeTime, buildId, stageId) VALUES (?, ?, ?, ?) [23502-200]
It will not let me cancel this instance being run and it just hangs.
Has anyone seen this error before or know how to solve?
Any help would be greatly appreciated.
Thanks!
