Skip to content

SQL Error when placing / breaking paintings #915

@Evaning97

Description

@Evaning97

Got this error when placing and destroying paintings

[23:54:28 WARN]: java.sql.BatchUpdateException: Data truncation: Data too long for column 'art' at row 1
[23:54:28 WARN]:        at com.mysql.cj.jdbc.exceptions.SQLError.createBatchUpdateException(SQLError.java:214)
[23:54:28 WARN]:        at com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchWithMultiValuesClause(ClientPreparedStatement.java:784)
[23:54:28 WARN]:        at com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchInternal(ClientPreparedStatement.java:457)
[23:54:28 WARN]:        at com.mysql.cj.jdbc.StatementImpl.executeBatch(StatementImpl.java:858)
[23:54:28 WARN]:        at CoreProtect-CE-23.2.jar//net.coreprotect.hikari.pool.ProxyStatement.executeBatch(ProxyStatement.java:128)
[23:54:28 WARN]:        at CoreProtect-CE-23.2.jar//net.coreprotect.hikari.pool.HikariProxyPreparedStatement.executeBatch(HikariProxyPreparedStatement.java)
[23:54:28 WARN]:        at CoreProtect-CE-23.2.jar//net.coreprotect.consumer.process.Process.commit(Process.java:303)
[23:54:28 WARN]:        at CoreProtect-CE-23.2.jar//net.coreprotect.consumer.process.Process.processConsumer(Process.java:258)
[23:54:28 WARN]:        at CoreProtect-CE-23.2.jar//net.coreprotect.consumer.Consumer.run(Consumer.java:133)
[23:54:28 WARN]:        at java.base/java.lang.Thread.run(Thread.java:1583)
[23:54:28 WARN]: Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'art' at row 1
[23:54:28 WARN]:        at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:96)
[23:54:28 WARN]:        at com.mysql.cj.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:612)
[23:54:28 WARN]:        at com.mysql.cj.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:320)
[23:54:28 WARN]:        at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1168)
[23:54:28 WARN]:        at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1103)
[23:54:28 WARN]:        at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1450)
[23:54:28 WARN]:        at com.mysql.cj.jdbc.ClientPreparedStatement.executeBatchWithMultiValuesClause(ClientPreparedStatement.java:745)
[23:54:28 WARN]:        ... 8 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions