Skip to content

Exception while executing batch statements  #3887

Open
@arun4a

Description

@arun4a

Exception occured while saving into Tracker table, rolling back any changes
java.sql.BatchUpdateException: Error reading results -1

at org.mariadb.jdbc.MariaDbStatement.executeBatchExceptionEpilogue(MariaDbStatement.java:275) ~[mariadb-java-client-2.2.6.jar:?]
at org.mariadb.jdbc.MariaDbPreparedStatementClient.executeBatch(MariaDbPreparedStatementClient.java:286) ~[mariadb-java-client-2.2.6.jar:?]
at com.highradius.scheduler.launcher.AutoScaleSchedulerLauncher.main(AutoScaleSchedulerLauncher.java:80) [classes/:?]
Caused by: java.sql.SQLException: Error reading results -1
at org.mariadb.jdbc.internal.protocol.AbstractMultiSend.executeBatchStandard(AbstractMultiSend.java:291) ~[mariadb-java-client-2.2.6.jar:?]
at org.mariadb.jdbc.internal.protocol.AbstractMultiSend.executeBatch(AbstractMultiSend.java:192) ~[mariadb-java-client-2.2.6.jar:?]
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeBatchMulti(AbstractQueryProtocol.java:594) ~[mariadb-java-client-2.2.6.jar:?]
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeBatchClient(AbstractQueryProtocol.java:354) ~[mariadb-java-client-2.2.6.jar:?]
at org.mariadb.jdbc.MariaDbPreparedStatementClient.executeInternalBatch(MariaDbPreparedStatementClient.java:346) ~[mariadb-java-client-2.2.6.jar:?]
at org.mariadb.jdbc.MariaDbPreparedStatementClient.executeBatch(MariaDbPreparedStatementClient.java:280) ~[mariadb-java-client-2.2.6.jar:?]
... 5 more
[22-05-24 12:20:02:951 IST] [main] [] [ERROR] [utils.ScheduledAgentTrackerUtil:125] - Error setting autoCommit back to true
java.sql.SQLNonTransientConnectionException: (conn=636921) Connection is closed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions