liquibase.exception.JDBCException

Error executing SQL INSERT INTO `InterviewLog` (`eventReason`, `dateTime`, `occurrence`, `actionType`, `comment`, `entit y_id`, `user`, `stage`) VALUES (NULL, '2009-10-15 13:14:40.0', 1, 'EXECUTE', NULL, '5918781446', 'ywilliams', 'Consent')

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web334

  • via Unknown by Dwain Elson,
  • via Unknown by Dwain Elson,
  • Stack trace

    • liquibase.exception.JDBCException: Error executing SQL INSERT INTO `InterviewLog` (`eventReason`, `dateTime`, `occurrence`, `actionType`, `comment`, `entit y_id`, `user`, `stage`) VALUES (NULL, '2009-10-15 13:14:40.0', 1, 'EXECUTE', NULL, '5918781446', 'ywilliams', 'Consent') at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:55) at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:86) at liquibase.change.AbstractChange.execute(AbstractChange.java:247) at liquibase.change.AbstractChange.executeStatements(AbstractChange.java:93) at org.obiba.opal.jdbcmart.batch.SchemaChangeWriter.write(SchemaChangeWriter.java:82) at org.springframework.batch.core.step.item.SimpleChunkProcessor.writeItems(SimpleChunkProcessor.java:156) at org.springframework.batch.core.step.item.SimpleChunkProcessor.doWrite(SimpleChunkProcessor.java:137) at org.springframework.batch.core.step.item.SimpleChunkProcessor.write(SimpleChunkProcessor.java:252) at org.springframework.batch.core.step.item.SimpleChunkProcessor.process(SimpleChunkProcessor.java:178) at org.springframework.batch.core.step.item.ChunkOrientedTasklet.execute(ChunkOrientedTasklet.java:70) at org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:268) at org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:81) at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:367) at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215) at org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:143) at org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:242) at org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:198) at org.springframework.batch.core.job.AbstractJob.handleStep(AbstractJob.java:348) at org.springframework.batch.core.job.flow.FlowJob.access$0(FlowJob.java:1) at org.springframework.batch.core.job.flow.FlowJob$JobFlowExecutor.executeStep(FlowJob.java:135) at org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:60) at org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:144) at org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:124) at org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:103) at org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:250) at org.springframework.batch.core.configuration.support.ApplicationContextJobFactory$ContextClosingJob.execute(ApplicationContextJobFactory.java:96) at org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:110) at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49) at org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:105) at org.springframework.batch.core.launch.support.SimpleJobOperator.start(SimpleJobOperator.java:299) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) at $Proxy36.start(Unknown Source) at org.obiba.opal.cli.client.command.JobRunningCommand.executeWithContext(JobRunningCommand.java:60) at org.obiba.opal.cli.client.command.AbstractContextLoadingCommand.execute(AbstractContextLoadingCommand.java:27) at org.obiba.opal.cli.client.AbstractCliClient.executeCommand(AbstractCliClient.java:107) at org.obiba.opal.cli.client.impl.OpalClient.main(OpalClient.java:66) Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Connection.close() has already been called. Invalid operation in this stat e. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:406) at com.mysql.jdbc.Util.getInstance(Util.java:381) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926) at com.mysql.jdbc.ConnectionImpl.getMutex(ConnectionImpl.java:3018) at com.mysql.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:4827) at org.enhydra.jdbc.core.CoreConnection.setAutoCommit(CoreConnection.java:234) at org.enhydra.jdbc.standard.StandardXAConnectionHandle.setAutoCommit(StandardXAConnectionHandle.java:124) at org.enhydra.jdbc.standard.StandardXAConnectionHandle.createStatement(StandardXAConnectionHandle.java:452) at org.enhydra.jdbc.standard.StandardXAConnectionHandle.createStatement(StandardXAConnectionHandle.java:425) at liquibase.database.SQLConnectionDelegate.createStatement(SQLConnectionDelegate.java:44) at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:45) ... 40 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    mortalman7mortalman7
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    47 more bugmates