Upgrading from Quickbuild 12 and when attempting to start the server after upgrade completes, generates this error:
jvm 1 | 2023-03-16 15:41:20,172 WARN SQL Error: 1406, SQLState: 22001
jvm 1 | 2023-03-16 15:41:20,172 ERROR Data truncation: Data too long for column 'QB_LAST_USED_REASON' at row 1
jvm 1 | WrapperStartStopApp Error: Encountered an error running stop main: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.reflect.Method.invoke(Method.java:566)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperStartStopApp.stop(WrapperStartStopApp.java:665)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperManager$13.run(WrapperManager.java:4915)
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.reflect.Method.invoke(Method.java:566)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.shutdown(Bootstrap.java:211)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.main(Bootstrap.java:129)
jvm 1 | WrapperStartStopApp Error: ... 6 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:56)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.shutdown(EquinoxAdapter.java:284)
jvm 1 | WrapperStartStopApp Error: ... 12 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.reflect.Method.invoke(Method.java:566)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.shutdown(EquinoxAdapter.java:282)
jvm 1 | WrapperStartStopApp Error: ... 12 more
jvm 1 | WrapperStartStopApp Error: Caused by: org.hibernate.exception.DataException: could not execute statement
jvm 1 | WrapperStartStopApp Error: at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:69)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:112)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:211)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:62)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3281)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3183)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3525)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:159)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:465)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:351)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1258)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:425)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:177)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.persistence.SessionInterceptor.invoke(SessionInterceptor.java:55)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.entitymanager.impl.DefaultTokenManager.save(DefaultTokenManager.java:26)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.DefaultBuildEngine.shutdown(DefaultBuildEngine.java:1856)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.stop(Quickbuild.java:517)
jvm 1 | WrapperStartStopApp Error: ... 17 more
jvm 1 | WrapperStartStopApp Error: Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'QB_LAST_USED_REASON' at row 1
jvm 1 | WrapperStartStopApp Error: at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104)
jvm 1 | WrapperStartStopApp Error: at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
jvm 1 | WrapperStartStopApp Error: at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1092)
jvm 1 | WrapperStartStopApp Error: at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1040)
jvm 1 | WrapperStartStopApp Error: at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1347)
jvm 1 | WrapperStartStopApp Error: at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1025)
jvm 1 | WrapperStartStopApp Error: at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:147)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:208)
jvm 1 | WrapperStartStopApp Error: ... 34 more
wrapper | <-- Wrapper Stopped
- solved #2
- replies 1
- views 1270
- stars 0