org.springframework.jdbc.UncategorizedSQLException: ConnectionCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `Participants` ADD `BoneDensity_OUTPUT_FOOT_SCANNED` VARCHAR(1024); nested exception is java.sql.SQLException: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `Participants` ADD `BoneDensity_OUTPUT_FOOT_SCANNED` VARCHAR(1024)

JIRA | Martin Boulanger | 7 years ago
  1. 0

    1) Start Opal 2) Export a ValueTable that has many attributes (ex: Participants) to a JdbcDatasource: export -d sql-datasource opal-data.Participants If your ValueTable has enough attributes, you should get this error: org.springframework.jdbc.UncategorizedSQLException: ConnectionCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `Participants` ADD `BoneDensity_OUTPUT_FOOT_SCANNED` VARCHAR(1024); nested exception is java.sql.SQLException: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `Participants` ADD `BoneDensity_OUTPUT_FOOT_SCANNED` VARCHAR(1024) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:349) at org.obiba.magma.datasource.jdbc.JdbcDatasource.doWithDatabase(JdbcDatasource.java:163) at org.obiba.magma.datasource.jdbc.JdbcValueTableWriter$JdbcVariableWriter.close(JdbcValueTableWriter.java:125) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:130) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:117) at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:69) at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy40.exportTablesToDatasource(Unknown Source) at org.obiba.opal.cli.client.command.ExportCommand.execute(ExportCommand.java:31) at org.obiba.opal.cli.client.OpalConsole.prompt(OpalConsole.java:136) at org.obiba.opal.cli.client.OpalConsole.<init>(OpalConsole.java:103) at org.obiba.opal.cli.client.OpalConsole.main(OpalConsole.java:185) Caused by: java.sql.SQLException: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `Participants` ADD `BoneDensity_OUTPUT_FOOT_SCANNED` VARCHAR(1024) at org.obiba.magma.datasource.jdbc.JdbcDatasource$2.doInConnection(JdbcDatasource.java:169) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:342) ... 21 more Caused by: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `Participants` ADD `BoneDensity_OUTPUT_FOOT_SCANNED` VARCHAR(1024) 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.magma.datasource.jdbc.JdbcDatasource$ChangeDatabaseCallback.doInDatabase(JdbcDatasource.java:211) at org.obiba.magma.datasource.jdbc.JdbcDatasource$2.doInConnection(JdbcDatasource.java:167) ... 22 more Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) 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:1030) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3558) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3490) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2109) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2637) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2566) at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:782) at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:625) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at liquibase.database.template.JdbcTemplate$1ExecuteStatementCallback.doInStatement(JdbcTemplate.java:78) at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:48) ... 27 more

    JIRA | 7 years ago | Martin Boulanger
    org.springframework.jdbc.UncategorizedSQLException: ConnectionCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `Participants` ADD `BoneDensity_OUTPUT_FOOT_SCANNED` VARCHAR(1024); nested exception is java.sql.SQLException: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `Participants` ADD `BoneDensity_OUTPUT_FOOT_SCANNED` VARCHAR(1024)
  2. 0

    1) Start Opal 2) Export a ValueTable that has many attributes (ex: Participants) to a JdbcDatasource: export -d sql-datasource opal-data.Participants If your ValueTable has enough attributes, you should get this error: org.springframework.jdbc.UncategorizedSQLException: ConnectionCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `Participants` ADD `BoneDensity_OUTPUT_FOOT_SCANNED` VARCHAR(1024); nested exception is java.sql.SQLException: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `Participants` ADD `BoneDensity_OUTPUT_FOOT_SCANNED` VARCHAR(1024) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:349) at org.obiba.magma.datasource.jdbc.JdbcDatasource.doWithDatabase(JdbcDatasource.java:163) at org.obiba.magma.datasource.jdbc.JdbcValueTableWriter$JdbcVariableWriter.close(JdbcValueTableWriter.java:125) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:130) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:117) at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:69) at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy40.exportTablesToDatasource(Unknown Source) at org.obiba.opal.cli.client.command.ExportCommand.execute(ExportCommand.java:31) at org.obiba.opal.cli.client.OpalConsole.prompt(OpalConsole.java:136) at org.obiba.opal.cli.client.OpalConsole.<init>(OpalConsole.java:103) at org.obiba.opal.cli.client.OpalConsole.main(OpalConsole.java:185) Caused by: java.sql.SQLException: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `Participants` ADD `BoneDensity_OUTPUT_FOOT_SCANNED` VARCHAR(1024) at org.obiba.magma.datasource.jdbc.JdbcDatasource$2.doInConnection(JdbcDatasource.java:169) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:342) ... 21 more Caused by: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `Participants` ADD `BoneDensity_OUTPUT_FOOT_SCANNED` VARCHAR(1024) 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.magma.datasource.jdbc.JdbcDatasource$ChangeDatabaseCallback.doInDatabase(JdbcDatasource.java:211) at org.obiba.magma.datasource.jdbc.JdbcDatasource$2.doInConnection(JdbcDatasource.java:167) ... 22 more Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) 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:1030) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3558) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3490) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2109) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2637) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2566) at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:782) at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:625) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at liquibase.database.template.JdbcTemplate$1ExecuteStatementCallback.doInStatement(JdbcTemplate.java:78) at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:48) ... 27 more

    JIRA | 7 years ago | Martin Boulanger
    org.springframework.jdbc.UncategorizedSQLException: ConnectionCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `Participants` ADD `BoneDensity_OUTPUT_FOOT_SCANNED` VARCHAR(1024); nested exception is java.sql.SQLException: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `Participants` ADD `BoneDensity_OUTPUT_FOOT_SCANNED` VARCHAR(1024)
  3. 0

    Connecting the JDBC datasource on a MySQL instance in the integration app fails with the following error. The problem is caused because the SQL type of the column is "VARCHAR". In MySQL, these columns must have a size specified (ie: VARCHAR(255) ). Stacktrace: Exception in thread "main" org.obiba.magma.MagmaRuntimeException: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `integration_app` ADD `barcode` VARCHAR at org.obiba.magma.datasource.jdbc.JdbcValueTableWriter$JdbcVariableWriter.close(JdbcValueTableWriter.java:140) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:129) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:116) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:106) at org.obiba.magma.integration.IntegrationApp.main(IntegrationApp.java:152) Caused by: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `integration_app` ADD `barcode` VARCHAR 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.magma.datasource.jdbc.JdbcValueTableWriter$JdbcVariableWriter.close(JdbcValueTableWriter.java:137) ... 4 more Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) 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:1030) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465) at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:734) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at liquibase.database.template.JdbcTemplate$1ExecuteStatementCallback.doInStatement(JdbcTemplate.java:78) at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:48) ... 8 more

    JIRA | 7 years ago | Philippe Laflamme
    org.obiba.magma.MagmaRuntimeException: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `integration_app` ADD `barcode` VARCHAR
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Connecting the JDBC datasource on a MySQL instance in the integration app fails with the following error. The problem is caused because the SQL type of the column is "VARCHAR". In MySQL, these columns must have a size specified (ie: VARCHAR(255) ). Stacktrace: Exception in thread "main" org.obiba.magma.MagmaRuntimeException: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `integration_app` ADD `barcode` VARCHAR at org.obiba.magma.datasource.jdbc.JdbcValueTableWriter$JdbcVariableWriter.close(JdbcValueTableWriter.java:140) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:129) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:116) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:106) at org.obiba.magma.integration.IntegrationApp.main(IntegrationApp.java:152) Caused by: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `integration_app` ADD `barcode` VARCHAR 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.magma.datasource.jdbc.JdbcValueTableWriter$JdbcVariableWriter.close(JdbcValueTableWriter.java:137) ... 4 more Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) 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:1030) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465) at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:734) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at liquibase.database.template.JdbcTemplate$1ExecuteStatementCallback.doInStatement(JdbcTemplate.java:78) at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:48) ... 8 more

    JIRA | 7 years ago | Philippe Laflamme
    org.obiba.magma.MagmaRuntimeException: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `integration_app` ADD `barcode` VARCHAR
  6. 0

    Liquibase tried to apply all changeset, even if database is present

    Stack Overflow | 2 years ago | daydreamer
    liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE pryme_dev.network (id INT NOT NULL, network_id BIGINT UNSIGNED NOT NULL, name VARCHAR(255) NOT NULL, display_name VARCHAR(255) NOT NULL, active TINYINT(1) DEFAULT 1 NOT NULL, created_at TIMESTAMP DEFAULT NOW() NOT NULL, updated_at TIMESTAMP DEFAULT '1970-01-01 00:00:01' NOT NULL, created_by VARCHAR(50) DEFAULT 'pryme_user' NULL, updated_by VARCHAR(50) DEFAULT 'pryme_user' NULL, CONSTRAINT PK_NETWORK PRIMARY KEY (id)): Table 'network' already exists

  1. Kialandei 1 times, last 2 weeks ago
  2. tvrmsmith 6 times, last 3 weeks ago
  3. davidvanlaatum 4 times, last 2 months ago
  4. tvrmsmith 1 times, last 3 months ago
  5. qoomon 1 times, last 4 months ago
27 more registered users
62 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException

    Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  3. MySQL jdbc
    StatementImpl.execute
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    2. com.mysql.jdbc.Util.getInstance(Util.java:381)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
    4. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3558)
    6. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3490)
    7. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
    8. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2109)
    9. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2637)
    10. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2566)
    11. com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:782)
    12. com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:625)
    12 frames
  4. Commons DBCP
    DelegatingStatement.execute
    1. org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
    2. org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
    2 frames
  5. liquibase.database.template
    JdbcTemplate.execute
    1. liquibase.database.template.JdbcTemplate$1ExecuteStatementCallback.doInStatement(JdbcTemplate.java:78)
    2. liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:48)
    3. liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:86)
    3 frames
  6. Liquibase Core
    AbstractChange.executeStatements
    1. liquibase.change.AbstractChange.execute(AbstractChange.java:247)
    2. liquibase.change.AbstractChange.executeStatements(AbstractChange.java:93)
    2 frames
  7. org.obiba.magma
    JdbcDatasource$2.doInConnection
    1. org.obiba.magma.datasource.jdbc.JdbcDatasource$ChangeDatabaseCallback.doInDatabase(JdbcDatasource.java:211)
    2. org.obiba.magma.datasource.jdbc.JdbcDatasource$2.doInConnection(JdbcDatasource.java:167)
    2 frames
  8. Spring Framework
    JdbcTemplate.execute
    1. org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:342)
    1 frame
  9. org.obiba.magma
    DatasourceCopier.copy
    1. org.obiba.magma.datasource.jdbc.JdbcDatasource.doWithDatabase(JdbcDatasource.java:163)
    2. org.obiba.magma.datasource.jdbc.JdbcValueTableWriter$JdbcVariableWriter.close(JdbcValueTableWriter.java:125)
    3. org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:130)
    4. org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:117)
    4 frames
  10. org.obiba.opal
    DefaultExportServiceImpl.exportTablesToDatasource
    1. org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:69)
    2. org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:51)
    2 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  12. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    3 frames
  13. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    1 frame
  14. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    2 frames
  15. Unknown
    $Proxy40.exportTablesToDatasource
    1. $Proxy40.exportTablesToDatasource(Unknown Source)
    1 frame
  16. org.obiba.opal
    OpalConsole.main
    1. org.obiba.opal.cli.client.command.ExportCommand.execute(ExportCommand.java:31)
    2. org.obiba.opal.cli.client.OpalConsole.prompt(OpalConsole.java:136)
    3. org.obiba.opal.cli.client.OpalConsole.<init>(OpalConsole.java:103)
    4. org.obiba.opal.cli.client.OpalConsole.main(OpalConsole.java:185)
    4 frames