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

GitHub | IrusVirus | 2 years ago
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

    sqlite_busy

    GitHub | 2 years ago | IrusVirus
    java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked)
  2. 0

    GitHub comment 9#56070909

    GitHub | 3 years ago | chipmunc56
    java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such table: history)
  3. 0

    GitHub comment 7#55962218

    GitHub | 3 years ago | chipmunc56
    java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such table: sessions)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to perform an SQL insert in Java

    Stack Overflow | 3 years ago | Alatec
    java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (table Inventory has 4 columns but 3 values were supplied)
  6. 0

    sqlite3 integrity_check passed by jdbc says database image is malformed

    Stack Overflow | 3 months ago | anthonybell
    play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[SQLException: [SQLITE_CORRUPT] The database disk image is malformed (database disk image is malformed)]]

  1. linxiaolong 36 times, last 5 months ago
2 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.SQLException

    [SQLITE_BUSY] The database file is locked (database is locked)

    at org.sqlite.DB.newSQLException()
  2. SQLite JDBC
    Conn.prepareStatement
    1. org.sqlite.DB.newSQLException(DB.java:383)
    2. org.sqlite.DB.newSQLException(DB.java:387)
    3. org.sqlite.DB.throwex(DB.java:374)
    4. org.sqlite.NativeDB.prepare(Native Method)
    5. org.sqlite.DB.prepare(DB.java:123)
    6. org.sqlite.PrepStmt.<init>(PrepStmt.java:42)
    7. org.sqlite.Conn.prepareStatement(Conn.java:404)
    8. org.sqlite.Conn.prepareStatement(Conn.java:399)
    9. org.sqlite.Conn.prepareStatement(Conn.java:383)
    9 frames
  3. pl.betoncraft.betonquest
    JoinQuitListener.playerPreLogin
    1. pl.betoncraft.betonquest.database.Connector.querySQL(Connector.java:71)
    2. pl.betoncraft.betonquest.database.DatabaseHandler.loadAllPlayerData(DatabaseHandler.java:106)
    3. pl.betoncraft.betonquest.database.DatabaseHandler.<init>(DatabaseHandler.java:94)
    4. pl.betoncraft.betonquest.core.JoinQuitListener.playerPreLogin(JoinQuitListener.java:62)
    4 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor379.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:497)
    3 frames
  5. Bukkit
    SimplePluginManager.callEvent
    1. org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    2. org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    3. org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
    4. org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484)
    4 frames
  6. MC Server
    ThreadPlayerLookupUUID.run
    1. net.minecraft.server.v1_8_R1.ThreadPlayerLookupUUID.fireLoginEvents(ThreadPlayerLookupUUID.java:79)
    2. net.minecraft.server.v1_8_R1.ThreadPlayerLookupUUID.run(ThreadPlayerLookupUUID.java:39)[23:26:45 ERROR]
    2 frames