Skip to content

[BUG] SQLITE_BUSY The database file is locked (database is locked) #86

@TNTUP

Description

@TNTUP

DO NOT ERASE THE TEMPLATE

FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS? Have you checked to see if others have submitted the same bug report?

State here when you have checked the following points above.

Description of the bug

[0 02:42:37 WARN]: org.sqlite.SQLiteException: [SQLITE_BUSY] The database file is locked (database is locked)
[0 02:42:37 WARN]: at org.sqlite.core.DB.newSQLException(DB.java:1012)
[0 02:42:37 WARN]: at org.sqlite.core.DB.newSQLException(DB.java:1024)
[0 02:42:37 WARN]: at org.sqlite.core.DB.execute(DB.java:863)
[0 02:42:37 WARN]: at org.sqlite.core.DB.executeUpdate(DB.java:904)
[0 02:42:37 WARN]: at org.sqlite.jdbc3.JDBC3PreparedStatement.executeUpdate(JDBC3PreparedStatement.java:98)
[0 02:42:37 WARN]: at HeadsPlus-7.0.2.jar//io.github.thatsmusic99.headsplus.sql.StatisticsSQLManager.addToTotalSync(StatisticsSQLManager.java:350)
[0 02:42:37 WARN]: at HeadsPlus-7.0.2.jar//io.github.thatsmusic99.headsplus.sql.StatisticsSQLManager.lambda$addToTotal$9(StatisticsSQLManager.java:315)
[0 02:42:37 WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
[0 02:42:37 WARN]: at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101)
[0 02:42:37 WARN]: at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[0 02:42:37 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[0 02:42:37 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[0 02:42:37 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[0 02:42:37 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)

To Reproduce

Steps to reproduce the behavior:

  1. Can't tell how it happens, related to statistics
  2. ...
  3. ...

Have you been able to reproduce the bug more than once?

Maybe, yes

Expected behavior

A clear and concise description of what you expected to happen.

No errors in console

Screenshots

If applicable, add screenshots to help explain your problem.

Has a debug report been generated?

If you have a debug report, go to plugin/HeadsPlus/debug, copy your report onto pastebin or hastebin, and paste it here, but also skip to the bottom question (additional information). If you don't, fill in the information below.

Not any.

Required information

  • Server version: 1.17.1
  • HeadsPlus version: 7.0.2
  • Whether or not the plugin uses MySQL SQLite
  • Server type (e.g Spigot, Paper): Paper
  • Uses Vault: Yes
  • Any other pieces of information that may be required.

Additional information

Add any other information/notes you'd like to add at the bottom

Metadata

Metadata

Assignees

Labels

bugFault in the pluginv7

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions