java.sql.BatchUpdateException: Deadlock found when trying to get lock; try restarting transaction

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    innodb - jdbc+mysql: "Deadlock found when trying to get lock; try restarting transaction" - Database Administrators Stack Exchange

    stackexchange.com | 1 year ago
    java.sql.BatchUpdateException: Deadlock found when trying to get lock; try restarting transaction
  2. 0

    jdbc+mysql: "Deadlock found when trying to get lock; try restarting transaction"

    Database Administrators | 4 years ago | Adam Matan
    java.sql.BatchUpdateException: Deadlock found when trying to get lock; try restarting transaction
  3. 0

    [LPS-22541] Server shut down automatically the second time when starting node2 - Liferay Issues

    liferay.com | 2 years ago
    com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.scheduler.SchedulerException: Unable to start scheduler
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [LPS-22541] Server shut down automatically the second time when starting node2 - Liferay Issues

    liferay.com | 2 years ago
    com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.scheduler.SchedulerException: Unable to start scheduler
  6. 0

    {10} Active Tickets All fields – OpenXdata

    openxdata.org | 2 years ago
    org.springframework.dao.CannotAcquireLockException: Could not execute JDBC batch update; nested exception is org.hibernate.exception.LockAc quisitionException: Could not execute JDBC batch update

  1. linxiaolong 3 times, last 2 weeks ago
  2. mortalman7 32 times, last 10 months ago
9 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. java.sql.BatchUpdateException

    Deadlock found when trying to get lock; try restarting transaction

    at com.mysql.jdbc.PreparedStatement.executeBatchSerially()
  2. MySQL jdbc
    PreparedStatement.executeBatch
    1. com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1684)
    2. com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1108)
    2 frames
  3. com.dappit.Dapper
    RemotePixelStorage.flushBufferToDb
    1. com.dappit.Dapper.adminer.pixelMaster.storage.RemotePixelStorage.flushBufferToDb(RemotePixelStorage.java:120)
    1 frame