cancel
Showing results for 
Search instead for 
Did you mean: 

After yunitinit some necessary tables (junit_languages32sn, junit_languages32sn ) are not created

0 Kudos

After initializing the unit tests database using ant yunitinit and executing any tests that uses the de.hybris.platform.servicelayer.ServicelayerTestLogic and exception is thrown.

Table 'costcosiplocal.junit_languages32sn' doesn't exist.

From the exception:

 [yunitint] java.lang.IllegalStateException: Failed to persist audit records (sql: INSERT INTO junit_languages32sn (itempk, itemtypepk, timestamp, currenttimestamp, changinguser, payloadbefore, payloadafter, operationtype, context) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?))
  [yunitint]     at de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway.executePreparedStatementForCmd(DefaultWriteAuditGateway.java:147) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway.saveAuditRecords(DefaultWriteAuditGateway.java:88) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway.saveTypeAuditRecords(DefaultWriteAuditGateway.java:71) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.impl.DefaultAuditableSaver.storeAudit(DefaultAuditableSaver.java:68) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.impl.TransactionalAuditableOperationHandler.beforeCommit(TransactionalAuditableOperationHandler.java:74) ~[coreserver.jar:?]
  [yunitint]     at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_212]
  [yunitint]     at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_212]
  [yunitint]     at de.hybris.platform.tx.Transaction.notifyAttachedObjectsBeforeCommit(Transaction.java:2409) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.tx.Transaction.commit(Transaction.java:671) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.tx.Transaction.finishExecute(Transaction.java:1206) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.tx.Transaction.execute(Transaction.java:1193) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.tx.Transaction.execute(Transaction.java:1148) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.Item.newInstance(Item.java:4070) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.type.ComposedType.newInstance(ComposedType.java:1337) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.type.ComposedType.newInstance(ComposedType.java:128) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.type.ComposedType.newInstance(ComposedType.java:182) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.c2l.C2LManager.createLanguage(C2LManager.java:263) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.c2l.C2LManager.createLanguage(C2LManager.java:241) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.CoreBasicDataCreator.createBasicC2L(CoreBasicDataCreator.java:444) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.CoreBasicDataCreator.createEssentialData(CoreBasicDataCreator.java:111) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.servicelayer.ServicelayerTestLogic.createCoreData(ServicelayerTestLogic.java:66) ~[impexserver.jar:?]
  [yunitint]     at de.hybris.platform.servicelayer.ServicelayerTest.createCoreData(ServicelayerTest.java:42) ~[impexserver.jar:?]
  [yunitint]     at sip.costco.facades.payment.impl.DefaultCashCardPaymentFacadeTest.setUp(DefaultCashCardPaymentFacadeTest.java:90) ~[classes/:?]
  [yunitint]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_212]
  [yunitint]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_212]
  [yunitint]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_212]
  [yunitint]     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_212]
  [yunitint]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) ~[junit-4.12.jar:4.12]
  [yunitint]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) ~[junit-4.12.jar:4.12]
  [yunitint]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) ~[junit-4.12.jar:4.12]
  [yunitint]     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) ~[junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12]
  [yunitint]     at de.hybris.platform.testframework.HybrisJUnit4ClassRunner$TenantActivationNotAllowedRunBefores.evaluate(HybrisJUnit4ClassRunner.java:163) [coreserver.jar:?]
  [yunitint]     at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12]
  [yunitint]     at de.hybris.platform.testframework.HybrisJUnit4ClassRunner.superRun(HybrisJUnit4ClassRunner.java:116) [coreserver.jar:?]
  [yunitint]     at de.hybris.platform.testframework.HybrisTestClassRunnerLogic.run(HybrisTestClassRunnerLogic.java:106) [coreserver.jar:?]
  [yunitint]     at de.hybris.platform.testframework.HybrisJUnit4ClassRunner.run(HybrisJUnit4ClassRunner.java:67) [coreserver.jar:?]
  [yunitint]     at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38) [junit-4.12.jar:4.12]
  [yunitint]     at de.hybris.ant.taskdefs.yunit.JUnitTestRunner.run(JUnitTestRunner.java:626) [yant.jar:?]
  [yunitint]     at de.hybris.ant.taskdefs.yunit.JUnitTestRunner.launch(JUnitTestRunner.java:1349) [yant.jar:?]
  [yunitint]     at de.hybris.ant.taskdefs.yunit.JUnitTestRunner.main(JUnitTestRunner.java:1141) [yant.jar:?]
  [yunitint] Caused by: java.sql.BatchUpdateException: Table 'costcosiplocal.junit_languages32sn' doesn't exist
  [yunitint]     at sun.reflect.GeneratedConstructorAccessor234.newInstance(Unknown Source) ~[?:?]
  [yunitint]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_212]
  [yunitint]     at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_212]
  [yunitint]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.Util.getInstance(Util.java:408) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.SQLError.createBatchUpdateException(SQLError.java:1163) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1823) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.PreparedStatement.executeBatchInternal(PreparedStatement.java:1307) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.StatementImpl.executeBatch(StatementImpl.java:970) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at de.hybris.platform.jdbcwrapper.PreparedStatementImpl.executeBatch(PreparedStatementImpl.java:275) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway.executeBatchForCurrentState(DefaultWriteAuditGateway.java:155) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway.executePreparedStatementForCmd(DefaultWriteAuditGateway.java:139) ~[coreserver.jar:?]
  [yunitint]     ... 56 more
  [yunitint] Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'costcosiplocal.junit_languages32sn' doesn't exist
  [yunitint]     at sun.reflect.GeneratedConstructorAccessor189.newInstance(Unknown Source) ~[?:?]
  [yunitint]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_212]
  [yunitint]     at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_212]
  [yunitint]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.Util.getInstance(Util.java:408) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3978) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2124) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1801) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.PreparedStatement.executeBatchInternal(PreparedStatement.java:1307) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.StatementImpl.executeBatch(StatementImpl.java:970) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at de.hybris.platform.jdbcwrapper.PreparedStatementImpl.executeBatch(PreparedStatementImpl.java:275) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway.executeBatchForCurrentState(DefaultWriteAuditGateway.java:155) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway.executePreparedStatementForCmd(DefaultWriteAuditGateway.java:139) ~[coreserver.jar:?]
  [yunitint]     ... 56 more
  [yunitint] 21:45:13,326 WARN  [main:1] (junit) [HybrisTestLogic] session user(admin[8796093054980]) has changed from (anonymous[8796093087748]) to (admin[8796093054980])
  [yunitint] 21:45:13,328 ERROR [main:1] (junit) [LogRunListener] Test method shouldRefundCashCard(sip.costco.facades.payment.impl.DefaultCashCardPaymentFacadeTest) failed!!
  [yunitint] java.lang.IllegalStateException: Failed to persist audit records (sql: INSERT INTO junit_languages32sn (itempk, itemtypepk, timestamp, currenttimestamp, changinguser, payloadbefore, payloadafter, operationtype, context) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?))
  [yunitint]     at de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway.executePreparedStatementForCmd(DefaultWriteAuditGateway.java:147) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway.saveAuditRecords(DefaultWriteAuditGateway.java:88) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway.saveTypeAuditRecords(DefaultWriteAuditGateway.java:71) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.impl.DefaultAuditableSaver.storeAudit(DefaultAuditableSaver.java:68) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.impl.TransactionalAuditableOperationHandler.beforeCommit(TransactionalAuditableOperationHandler.java:74) ~[coreserver.jar:?]
  [yunitint]     at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_212]
  [yunitint]     at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_212]
  [yunitint]     at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_212]
  [yunitint]     at de.hybris.platform.tx.Transaction.notifyAttachedObjectsBeforeCommit(Transaction.java:2409) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.tx.Transaction.commit(Transaction.java:671) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.tx.Transaction.finishExecute(Transaction.java:1206) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.tx.Transaction.execute(Transaction.java:1193) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.tx.Transaction.execute(Transaction.java:1148) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.Item.newInstance(Item.java:4070) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.type.ComposedType.newInstance(ComposedType.java:1337) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.type.ComposedType.newInstance(ComposedType.java:128) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.type.ComposedType.newInstance(ComposedType.java:182) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.c2l.C2LManager.createLanguage(C2LManager.java:263) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.c2l.C2LManager.createLanguage(C2LManager.java:241) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.CoreBasicDataCreator.createBasicC2L(CoreBasicDataCreator.java:444) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.jalo.CoreBasicDataCreator.createEssentialData(CoreBasicDataCreator.java:111) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.servicelayer.ServicelayerTestLogic.createCoreData(ServicelayerTestLogic.java:66) ~[impexserver.jar:?]
  [yunitint]     at de.hybris.platform.servicelayer.ServicelayerTest.createCoreData(ServicelayerTest.java:42) ~[impexserver.jar:?]
  [yunitint]     at sip.costco.facades.payment.impl.DefaultCashCardPaymentFacadeTest.setUp(DefaultCashCardPaymentFacadeTest.java:90) ~[classes/:?]
  [yunitint]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_212]
  [yunitint]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_212]
  [yunitint]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_212]
  [yunitint]     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_212]
  [yunitint]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) ~[junit-4.12.jar:4.12]
  [yunitint]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) ~[junit-4.12.jar:4.12]
  [yunitint]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) ~[junit-4.12.jar:4.12]
  [yunitint]     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) ~[junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12]
  [yunitint]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12]
  [yunitint]     at de.hybris.platform.testframework.HybrisJUnit4ClassRunner$TenantActivationNotAllowedRunBefores.evaluate(HybrisJUnit4ClassRunner.java:163) [coreserver.jar:?]
  [yunitint]     at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12]
  [yunitint]     at de.hybris.platform.testframework.HybrisJUnit4ClassRunner.superRun(HybrisJUnit4ClassRunner.java:116) [coreserver.jar:?]
  [yunitint]     at de.hybris.platform.testframework.HybrisTestClassRunnerLogic.run(HybrisTestClassRunnerLogic.java:106) [coreserver.jar:?]
  [yunitint]     at de.hybris.platform.testframework.HybrisJUnit4ClassRunner.run(HybrisJUnit4ClassRunner.java:67) [coreserver.jar:?]
  [yunitint]     at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38) [junit-4.12.jar:4.12]
  [yunitint]     at de.hybris.ant.taskdefs.yunit.JUnitTestRunner.run(JUnitTestRunner.java:626) [yant.jar:?]
  [yunitint]     at de.hybris.ant.taskdefs.yunit.JUnitTestRunner.launch(JUnitTestRunner.java:1349) [yant.jar:?]
  [yunitint]     at de.hybris.ant.taskdefs.yunit.JUnitTestRunner.main(JUnitTestRunner.java:1141) [yant.jar:?]
  [yunitint] Caused by: java.sql.BatchUpdateException: Table 'costcosiplocal.junit_languages32sn' doesn't exist
  [yunitint]     at sun.reflect.GeneratedConstructorAccessor234.newInstance(Unknown Source) ~[?:?]
  [yunitint]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_212]
  [yunitint]     at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_212]
  [yunitint]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.Util.getInstance(Util.java:408) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.SQLError.createBatchUpdateException(SQLError.java:1163) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1823) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.PreparedStatement.executeBatchInternal(PreparedStatement.java:1307) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.StatementImpl.executeBatch(StatementImpl.java:970) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at de.hybris.platform.jdbcwrapper.PreparedStatementImpl.executeBatch(PreparedStatementImpl.java:275) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway.executeBatchForCurrentState(DefaultWriteAuditGateway.java:155) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway.executePreparedStatementForCmd(DefaultWriteAuditGateway.java:139) ~[coreserver.jar:?]
  [yunitint]     ... 56 more
  [yunitint] Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'costcosiplocal.junit_languages32sn' doesn't exist
  [yunitint]     at sun.reflect.GeneratedConstructorAccessor189.newInstance(Unknown Source) ~[?:?]
  [yunitint]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_212]
  [yunitint]     at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_212]
  [yunitint]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.Util.getInstance(Util.java:408) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3978) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2124) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1801) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.PreparedStatement.executeBatchInternal(PreparedStatement.java:1307) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at com.mysql.jdbc.StatementImpl.executeBatch(StatementImpl.java:970) ~[mysql-connector-java-5.1.47-bin.jar:5.1.47]
  [yunitint]     at de.hybris.platform.jdbcwrapper.PreparedStatementImpl.executeBatch(PreparedStatementImpl.java:275) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway.executeBatchForCurrentState(DefaultWriteAuditGateway.java:155) ~[coreserver.jar:?]
  [yunitint]     at de.hybris.platform.persistence.audit.gateway.impl.DefaultWriteAuditGateway.executePreparedStatementForCmd(DefaultWriteAuditGateway.java:139) ~[coreserver.jar:?]

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member