java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked)

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 GitHub by IrusVirus
, 9 months ago
[SQLITE_BUSY] The database file is locked (database is locked)
via GitHub by chipmunc56
, 2 years ago
[SQLITE_ERROR] SQL error or missing database (no such table: sessions)
via Stack Overflow by Alatec
, 1 year ago
[SQLITE_ERROR] SQL error or missing database (table Inventory has 4 columns but 3 values were supplied)
via GitHub by chipmunc56
, 2 years ago
[SQLITE_ERROR] SQL error or missing database (no such table: history)
via GitHub by augesrob
, 1 year ago
[SQLITE_ERROR] SQL error or missing database (no such table: plotmePlots)
via ormlite by *anonymous
, 1 year ago
[SQLITE_ERROR] SQL error or missing database (near "This": syntax error)
java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked)
at org.sqlite.DB.newSQLException(DB.java:383)
at org.sqlite.DB.newSQLException(DB.java:387)
at org.sqlite.DB.throwex(DB.java:374)
at org.sqlite.NativeDB.prepare(Native Method)
at org.sqlite.DB.prepare(DB.java:123)
at org.sqlite.PrepStmt.(PrepStmt.java:42)
at org.sqlite.Conn.prepareStatement(Conn.java:404)
at org.sqlite.Conn.prepareStatement(Conn.java:399)
at pl.betoncraft.betonquest.database.Connector.querySQL(Connector.java:71)
at pl.betoncraft.betonquest.database.DatabaseHandler.loadAllPlayerData(DatabaseHandler.java:106)
at pl.betoncraft.betonquest.database.DatabaseHandler.(DatabaseHandler.java:94)
at pl.betoncraft.betonquest.core.JoinQuitListener.playerPreLogin(JoinQuitListener.java:62)
at sun.reflect.GeneratedMethodAccessor379.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484)
at net.minecraft.server.v1_8_R1.ThreadPlayerLookupUUID.fireLoginEvents(ThreadPlayerLookupUUID.java:79)
at net.minecraft.server.v1_8_R1.ThreadPlayerLookupUUID.run(ThreadPlayerLookupUUID.java:39)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
36 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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