java.sql.SQLException

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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web107

  • via GitHub by IrusVirus
    ,
  • via GitHub by inadler
    ,
  • Stack trace

    • 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.<init>(PrepStmt.java:42) at org.sqlite.Conn.prepareStatement(Conn.java:404) at org.sqlite.Conn.prepareStatement(Conn.java:399) at org.sqlite.Conn.prepareStatement(Conn.java:383) 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.<init>(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)[23:26:45 ERROR]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    linxiaolonglinxiaolong
    36 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,