java.sql.SQLException: null: Deadlock found when trying to get lock; Try restarting transaction

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
null: Deadlock found when trying to get lock; Try restarting transaction
java.sql.SQLException: null: Deadlock found when trying to get lock; Try restarting transaction
at org.gjt.mm.mysql.MysqlIO.nextRow(Unknown Source)
at org.gjt.mm.mysql.MysqlIO.getResultSet(Unknown Source)
at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(Unknown Source)
at org.gjt.mm.mysql.MysqlIO.sqlQuery(Unknown Source)
at org.gjt.mm.mysql.Connection.execSQL(Unknown Source)
at org.gjt.mm.mysql.Connection.execSQL(Unknown Source)
at org.gjt.mm.mysql.jdbc2.Statement.executeQuery(Unknown Source)
at com.solarmetric.kodo.impl.jdbc.datasource.StatementImpl.executeQuery(StatementImpl.java:38)
at com.solarmetric.kodo.impl.jdbc.sql.Select.execute(Select.java:242)
at com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.selectPrimaryMappings(ClassMapping.java:860)
at com.solarmetric.kodo.impl.jdbc.ormapping.ManyToManyMapping.load(ManyToManyMapping.java:126)
at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManager.java:343)
at com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.load(DataCacheStoreManager.java:253)
at com.solarmetric.kodo.runtime.StateManagerImpl.loadField(StateManagerImpl.java:1890)
at com.solarmetric.kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:663)
at net.nearlythere.business.data.Site.jdoGetuser(Site.java)
at net.nearlythere.business.data.Site.getUsers(Site.java:168)
at net.nearlythere.business.CoreSiteBuilder.getPerformers(CoreSiteBuilder.java:883)
at net.nearlythere.business.CoreSiteBuilder.getShows(CoreSiteBuilder.java:1041)
at net.nearlythere.business.CoreSiteBuilder.getLiveShows(CoreSiteBuilder.java:3101)
at net.nearlythere.business.CoreSiteBuilder.getLiveShows(CoreSiteBuilder.java:3077)
at net.nearlythere.frontend.utils.CoreTool.getLiveShows(CoreTool.java:157)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.