CubBossa / PathFinder

A path finding tool for minecraft to make your maps discoverable and enable navigation
https://docs.leonardbausenwein.de/
MIT License
17 stars 4 forks source link

SQLite Error on slower system #55

Closed CubBossa closed 1 year ago

CubBossa commented 1 year ago
[06:59:06] [pool-14-thread-7/WARN]: java.util.concurrent.CompletionException: java.lang.RuntimeException: Calling event GroupSaveEvent took more than 500 milli seconds - skipping.
[06:59:06] [pool-14-thread-7/WARN]:     at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
[06:59:06] [pool-14-thread-7/WARN]:     at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
[06:59:06] [pool-14-thread-7/WARN]:     at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
[06:59:06] [pool-14-thread-7/WARN]:     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[06:59:06] [pool-14-thread-7/WARN]:     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[06:59:06] [pool-14-thread-7/WARN]:     at java.base/java.lang.Thread.run(Thread.java:833)
[06:59:06] [pool-14-thread-7/WARN]: Caused by: java.lang.RuntimeException: Calling event GroupSaveEvent took more than 500 milli seconds - skipping.
[06:59:06] [pool-14-thread-7/WARN]:     at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.events.BukkitEventDispatcher.dispatchEvent(BukkitEventDispatcher.java:85)
[06:59:06] [pool-14-thread-7/WARN]:     at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.events.BukkitEventDispatcher.dispatchGroupSave(BukkitEventDispatcher.java:149)
[06:59:06] [pool-14-thread-7/WARN]:     at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.StorageImpl.lambda$saveGroup$51(StorageImpl.java:405)
[06:59:06] [pool-14-thread-7/WARN]:     at java.base/java.util.Optional.ifPresent(Optional.java:178)
[06:59:06] [pool-14-thread-7/WARN]:     at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.StorageImpl.lambda$saveGroup$52(StorageImpl.java:405)
[06:59:06] [pool-14-thread-7/WARN]:     at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
[06:59:06] [pool-14-thread-7/WARN]:     ... 3 more
[06:59:06] [pool-14-thread-7/WARN]: Caused by: java.util.concurrent.TimeoutException
[06:59:06] [pool-14-thread-7/WARN]:     at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1960)
[06:59:06] [pool-14-thread-7/WARN]:     at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2095)
[06:59:06] [pool-14-thread-7/WARN]:     at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.events.BukkitEventDispatcher.dispatchEvent(BukkitEventDispatcher.java:83)
[06:59:06] [pool-14-thread-7/WARN]:     ... 8 more
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]: java.util.concurrent.CompletionException: org.jooq.exception.DataAccessException: SQL [update pathfinder_waypoints set x = ?, y = ?, z = ?, world = ? where pathfinder_waypoints.id = ?]; [SQLITE_BUSY] The database file is locked (database is locked)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]: Caused by: org.jooq.exception.DataAccessException: SQL [update pathfinder_waypoints set x = ?, y = ?, z = ?, world = ? where pathfinder_waypoints.id = ?]; [SQLITE_BUSY] The database file is locked (database is locked)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq_3.18.4.SQLITE.debug(Unknown Source)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.Tools.translate(Tools.java:3470)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.Tools.translate(Tools.java:3458)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.DefaultExecuteContext.sqlException(DefaultExecuteContext.java:772)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:371)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.AbstractDelegatingQuery.execute(AbstractDelegatingQuery.java:115)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.implementation.SqlStorage.lambda$saveWaypoint$7(SqlStorage.java:344)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.DefaultDSLContext.lambda$transaction$5(DefaultDSLContext.java:593)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.DefaultDSLContext.lambda$transactionResult0$3(DefaultDSLContext.java:531)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.Tools$3$1.block(Tools.java:6057)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at java.base/java.util.concurrent.ForkJoinPool.compensatedBlock(ForkJoinPool.java:3449)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3432)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.Tools$3.get(Tools.java:6054)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.DefaultDSLContext.transactionResult0(DefaultDSLContext.java:579)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.DefaultDSLContext.transactionResult(DefaultDSLContext.java:503)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.DefaultDSLContext.transaction(DefaultDSLContext.java:592)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.implementation.SqlStorage.saveWaypoint(SqlStorage.java:336)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.implementation.WaypointStorage.saveNode(WaypointStorage.java:48)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.implementation.WaypointStorage.saveNode(WaypointStorage.java:13)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.node.AbstractNodeType.saveNode(AbstractNodeType.java:65)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.StorageImpl.lambda$saveNodeTypeSafeBlocking$30(StorageImpl.java:256)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    ... 6 more
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]: Caused by: org.sqlite.SQLiteException: [SQLITE_BUSY] The database file is locked (database is locked)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.sqlite.core.DB.newSQLException(DB.java:1179)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.sqlite.core.DB.newSQLException(DB.java:1190)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.sqlite.core.DB.execute(DB.java:985)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.sqlite.jdbc3.JDBC3PreparedStatement.lambda$execute$0(JDBC3PreparedStatement.java:57)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.sqlite.jdbc3.JDBC3Statement.withConnectionTimeout(JDBC3Statement.java:454)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.sqlite.jdbc3.JDBC3PreparedStatement.execute(JDBC3PreparedStatement.java:52)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.tools.jdbc.DefaultPreparedStatement.execute(DefaultPreparedStatement.java:219)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:436)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.AbstractDMLQuery.execute(AbstractDMLQuery.java:1024)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:357)
[06:59:08] [ForkJoinPool.commonPool-worker-14/WARN]:    ... 23 more
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]: java.util.concurrent.CompletionException: org.jooq.exception.DataAccessException: SQL [update pathfinder_waypoints set x = ?, y = ?, z = ?, world = ? where pathfinder_waypoints.id = ?]; [SQLITE_BUSY] The database file is locked (database is locked)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]: Caused by: org.jooq.exception.DataAccessException: SQL [update pathfinder_waypoints set x = ?, y = ?, z = ?, world = ? where pathfinder_waypoints.id = ?]; [SQLITE_BUSY] The database file is locked (database is locked)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq_3.18.4.SQLITE.debug(Unknown Source)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.Tools.translate(Tools.java:3470)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.Tools.translate(Tools.java:3458)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.DefaultExecuteContext.sqlException(DefaultExecuteContext.java:772)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:371)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.AbstractDelegatingQuery.execute(AbstractDelegatingQuery.java:115)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.implementation.SqlStorage.lambda$saveWaypoint$7(SqlStorage.java:344)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.DefaultDSLContext.lambda$transaction$5(DefaultDSLContext.java:593)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.DefaultDSLContext.lambda$transactionResult0$3(DefaultDSLContext.java:531)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.Tools$3$1.block(Tools.java:6057)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at java.base/java.util.concurrent.ForkJoinPool.compensatedBlock(ForkJoinPool.java:3449)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3432)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.Tools$3.get(Tools.java:6054)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.DefaultDSLContext.transactionResult0(DefaultDSLContext.java:579)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.DefaultDSLContext.transactionResult(DefaultDSLContext.java:503)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.DefaultDSLContext.transaction(DefaultDSLContext.java:592)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.implementation.SqlStorage.saveWaypoint(SqlStorage.java:336)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.implementation.WaypointStorage.saveNode(WaypointStorage.java:48)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.implementation.WaypointStorage.saveNode(WaypointStorage.java:13)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.node.AbstractNodeType.saveNode(AbstractNodeType.java:65)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.StorageImpl.lambda$saveNodeTypeSafeBlocking$30(StorageImpl.java:256)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    ... 6 more
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]: Caused by: org.sqlite.SQLiteException: [SQLITE_BUSY] The database file is locked (database is locked)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.sqlite.core.DB.newSQLException(DB.java:1179)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.sqlite.core.DB.newSQLException(DB.java:1190)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.sqlite.core.DB.execute(DB.java:985)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.sqlite.jdbc3.JDBC3PreparedStatement.lambda$execute$0(JDBC3PreparedStatement.java:57)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.sqlite.jdbc3.JDBC3Statement.withConnectionTimeout(JDBC3Statement.java:454)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.sqlite.jdbc3.JDBC3PreparedStatement.execute(JDBC3PreparedStatement.java:52)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.tools.jdbc.DefaultPreparedStatement.execute(DefaultPreparedStatement.java:219)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:436)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.AbstractDMLQuery.execute(AbstractDMLQuery.java:1024)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:357)
[06:59:08] [ForkJoinPool.commonPool-worker-17/WARN]:    ... 23 more
[06:59:08] [pool-14-thread-1/WARN]: java.util.concurrent.CompletionException: org.jooq.exception.DataAccessException: Cannot commit transaction
[06:59:08] [pool-14-thread-1/WARN]:     at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
[06:59:08] [pool-14-thread-1/WARN]:     at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
[06:59:08] [pool-14-thread-1/WARN]:     at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
[06:59:08] [pool-14-thread-1/WARN]:     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[06:59:08] [pool-14-thread-1/WARN]:     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[06:59:08] [pool-14-thread-1/WARN]:     at java.base/java.lang.Thread.run(Thread.java:833)
[06:59:08] [pool-14-thread-1/WARN]: Caused by: org.jooq.exception.DataAccessException: Cannot commit transaction
[06:59:08] [pool-14-thread-1/WARN]:     at org.jooq.impl.DefaultConnectionProvider.commit(DefaultConnectionProvider.java:101)
[06:59:08] [pool-14-thread-1/WARN]:     at org.jooq.impl.DefaultTransactionProvider.commit(DefaultTransactionProvider.java:174)
[06:59:08] [pool-14-thread-1/WARN]:     at org.jooq.impl.DefaultDSLContext.lambda$transactionResult0$3(DefaultDSLContext.java:535)
[06:59:08] [pool-14-thread-1/WARN]:     at org.jooq.impl.Tools$3$1.block(Tools.java:6057)
[06:59:08] [pool-14-thread-1/WARN]:     at java.base/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463)
[06:59:08] [pool-14-thread-1/WARN]:     at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434)
[06:59:08] [pool-14-thread-1/WARN]:     at org.jooq.impl.Tools$3.get(Tools.java:6054)
[06:59:08] [pool-14-thread-1/WARN]:     at org.jooq.impl.DefaultDSLContext.transactionResult0(DefaultDSLContext.java:579)
[06:59:08] [pool-14-thread-1/WARN]:     at org.jooq.impl.DefaultDSLContext.transactionResult(DefaultDSLContext.java:503)
[06:59:08] [pool-14-thread-1/WARN]:     at org.jooq.impl.DefaultDSLContext.transaction(DefaultDSLContext.java:592)
[06:59:08] [pool-14-thread-1/WARN]:     at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.implementation.SqlStorage.saveGroup(SqlStorage.java:453)
[06:59:08] [pool-14-thread-1/WARN]:     at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.StorageImpl.lambda$saveGroup$52(StorageImpl.java:396)
[06:59:08] [pool-14-thread-1/WARN]:     at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
[06:59:08] [pool-14-thread-1/WARN]:     ... 3 more
[06:59:08] [pool-14-thread-1/WARN]: Caused by: org.sqlite.SQLiteException: [SQLITE_BUSY] The database file is locked (database is locked)
[06:59:08] [pool-14-thread-1/WARN]:     at org.sqlite.core.DB.newSQLException(DB.java:1179)
[06:59:08] [pool-14-thread-1/WARN]:     at org.sqlite.core.DB.newSQLException(DB.java:1190)
[06:59:08] [pool-14-thread-1/WARN]:     at org.sqlite.core.DB.throwex(DB.java:1150)
[06:59:08] [pool-14-thread-1/WARN]:     at org.sqlite.core.DB.exec(DB.java:198)
[06:59:08] [pool-14-thread-1/WARN]:     at org.sqlite.SQLiteConnection.commit(SQLiteConnection.java:449)
[06:59:08] [pool-14-thread-1/WARN]:     at org.jooq.impl.DefaultConnectionProvider.commit(DefaultConnectionProvider.java:98)
[06:59:08] [pool-14-thread-1/WARN]:     ... 15 more
[06:59:08] [pool-14-thread-5/WARN]: java.util.concurrent.CompletionException: org.jooq.exception.DataAccessException: Error getting connection from data source org.sqlite.SQLiteDataSource@79cefa9e
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.lang.Thread.run(Thread.java:833)
[06:59:08] [pool-14-thread-5/WARN]: Caused by: org.jooq.exception.DataAccessException: Error getting connection from data source org.sqlite.SQLiteDataSource@79cefa9e
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq_3.18.4.SQLITE.debug(Unknown Source)
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq.impl.DataSourceConnectionProvider.acquire(DataSourceConnectionProvider.java:90)
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq.impl.DefaultExecuteContext.connection(DefaultExecuteContext.java:620)
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:308)
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq.impl.AbstractResultQuery.fetchLazy(AbstractResultQuery.java:301)
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq.impl.AbstractResultQuery.fetchLazyNonAutoClosing(AbstractResultQuery.java:322)
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq.impl.SelectImpl.fetchLazyNonAutoClosing(SelectImpl.java:2862)
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq.impl.ResultQueryTrait.collect(ResultQueryTrait.java:360)
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq.impl.ResultQueryTrait.fetch(ResultQueryTrait.java:1465)
[06:59:08] [pool-14-thread-5/WARN]:     at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.implementation.SqlStorage.loadGroupNodes(SqlStorage.java:395)
[06:59:08] [pool-14-thread-5/WARN]:     at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.implementation.SqlStorage.lambda$loadGroups$9(SqlStorage.java:423)
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq.RecordMapper.apply(RecordMapper.java:87)
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq.RecordMapper.apply(RecordMapper.java:72)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.stream.Collectors.lambda$mapping$13(Collectors.java:469)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq.impl.AbstractCursor.collect(AbstractCursor.java:78)
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq.impl.ResultQueryTrait.collect(ResultQueryTrait.java:361)
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq.impl.ResultQueryTrait.fetch(ResultQueryTrait.java:1465)
[06:59:08] [pool-14-thread-5/WARN]:     at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.implementation.SqlStorage.loadGroups(SqlStorage.java:419)
[06:59:08] [pool-14-thread-5/WARN]:     at PathFinder-4.0.0.jar//de.cubbossa.pathfinder.storage.StorageImpl.lambda$loadGroups$45(StorageImpl.java:360)
[06:59:08] [pool-14-thread-5/WARN]:     at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[06:59:08] [pool-14-thread-5/WARN]:     ... 3 more
[06:59:08] [pool-14-thread-5/WARN]: Caused by: org.sqlite.SQLiteException: [SQLITE_BUSY] The database file is locked (database is locked)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.core.DB.newSQLException(DB.java:1179)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.core.DB.newSQLException(DB.java:1190)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.core.DB.throwex(DB.java:1150)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.core.NativeDB.prepare_utf8(Native Method)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.core.NativeDB.prepare(NativeDB.java:126)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.core.DB.prepare(DB.java:264)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.jdbc3.JDBC3Statement.lambda$execute$0(JDBC3Statement.java:51)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.jdbc3.JDBC3Statement.withConnectionTimeout(JDBC3Statement.java:454)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.jdbc3.JDBC3Statement.execute(JDBC3Statement.java:40)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.SQLiteConfig.apply(SQLiteConfig.java:219)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:70)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:28)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:19)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.JDBC.createConnection(JDBC.java:104)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.SQLiteDataSource.getConnection(SQLiteDataSource.java:464)
[06:59:08] [pool-14-thread-5/WARN]:     at org.sqlite.SQLiteDataSource.getConnection(SQLiteDataSource.java:456)
[06:59:08] [pool-14-thread-5/WARN]:     at org.jooq.impl.DataSourceConnectionProvider.acquire(DataSourceConnectionProvider.java:87)
[06:59:08] [pool-14-thread-5/WARN]:     ... 29 more
[06:59:08] [Server thread/ERROR]: Could not pass event GroupSaveEvent to PathFinder v4.0.0
java.lang.RuntimeException: Error in event listener for event interface de.cubbossa.pathapi.event.NodeGroupSaveEvent
    at de.cubbossa.pathfinder.events.BukkitEventDispatcher.lambda$listen$1(BukkitEventDispatcher.java:207) ~[PathFinder-4.0.0.jar:?]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:git-Paper-80]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.20.1.jar:git-Paper-80]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[paper-1.20.1.jar:git-Paper-80]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at de.cubbossa.pathfinder.events.BukkitEventDispatcher.dispatchEventInMainThread(BukkitEventDispatcher.java:97) ~[PathFinder-4.0.0.jar:?]
    at de.cubbossa.pathfinder.events.BukkitEventDispatcher.lambda$dispatchEventWithFuture$0(BukkitEventDispatcher.java:93) ~[PathFinder-4.0.0.jar:?]
    at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
    at de.cubbossa.pathfinder.util.BukkitMainThreadExecutor.runTasks(BukkitMainThreadExecutor.java:26) ~[PathFinder-4.0.0.jar:?]
    at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-80]
    at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[paper-1.20.1.jar:git-Paper-80]
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1480) ~[paper-1.20.1.jar:git-Paper-80]
    at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[paper-1.20.1.jar:git-Paper-80]
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1394) ~[paper-1.20.1.jar:git-Paper-80]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1171) ~[paper-1.20.1.jar:git-Paper-80]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[paper-1.20.1.jar:git-Paper-80]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Collection.stream()" because "groups" is null
    at de.cubbossa.pathfinder.editmode.renderer.NodeGroupListRenderer.setText(NodeGroupListRenderer.java:169) ~[PathFinder-4.0.0.jar:?]
    at java.util.HashMap$Values.forEach(HashMap.java:1065) ~[?:?]
    at de.cubbossa.pathfinder.editmode.renderer.NodeGroupListRenderer.lambda$new$0(NodeGroupListRenderer.java:77) ~[PathFinder-4.0.0.jar:?]
    at java.util.HashMap.forEach(HashMap.java:1421) ~[?:?]
    at de.cubbossa.pathfinder.editmode.renderer.NodeGroupListRenderer.lambda$new$1(NodeGroupListRenderer.java:76) ~[PathFinder-4.0.0.jar:?]
    at de.cubbossa.pathfinder.events.BukkitEventDispatcher$1.onEvent(BukkitEventDispatcher.java:197) ~[PathFinder-4.0.0.jar:?]
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
    at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
    at de.cubbossa.pathfinder.events.BukkitEventDispatcher.lambda$listen$1(BukkitEventDispatcher.java:205) ~[PathFinder-4.0.0.jar:?]
    ... 17 more
CubBossa commented 1 year ago

Produced by ParticleEdgeRenderer

[11:38:08] [pool-15-thread-14/WARN]: java.util.concurrent.CompletionException: java.util.ConcurrentModificationException
[11:38:08] [pool-15-thread-14/WARN]:    at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
[11:38:08] [pool-15-thread-14/WARN]:    at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
[11:38:08] [pool-15-thread-14/WARN]:    at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
[11:38:08] [pool-15-thread-14/WARN]:    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[11:38:08] [pool-15-thread-14/WARN]:    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[11:38:08] [pool-15-thread-14/WARN]:    at java.base/java.lang.Thread.run(Thread.java:833)
[11:38:08] [pool-15-thread-14/WARN]: Caused by: java.util.ConcurrentModificationException
[11:38:08] [pool-15-thread-14/WARN]:    at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1597)
[11:38:08] [pool-15-thread-14/WARN]:    at java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1620)
[11:38:08] [pool-15-thread-14/WARN]:    at java.base/java.util.AbstractCollection.addAll(AbstractCollection.java:335)
[11:38:08] [pool-15-thread-14/WARN]:    at java.base/java.util.HashSet.<init>(HashSet.java:121)
[11:38:08] [pool-15-thread-14/WARN]:    at PathFinder-4.2.1.jar//de.cubbossa.pathfinder.storage.StorageImpl.lambda$saveGroup$65(StorageImpl.java:440)
[11:38:08] [pool-15-thread-14/WARN]:    at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
[11:38:08] [pool-15-thread-14/WARN]:    ... 3 more
CubBossa commented 1 year ago

Produced by ParticleEdgeRenderer

[11:58:37] [Server thread/WARN]: [PathFinder] Task #6 for PathFinder v4.2.1 generated an exception
java.util.ConcurrentModificationException: null
    at java.util.HashMap$HashIterator.nextNode(HashMap.java:1597) ~[?:?]
    at java.util.HashMap$KeyIterator.next(HashMap.java:1620) ~[?:?]
    at de.cubbossa.pathfinder.editmode.renderer.AbstractArmorstandRenderer.lambda$new$6(AbstractArmorstandRenderer.java:82) ~[PathFinder-4.2.1.jar:?]
    at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.jar:git-Paper-10]
    at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.20.jar:git-Paper-10]
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1482) ~[paper-1.20.jar:git-Paper-10]
    at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[paper-1.20.jar:git-Paper-10]
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1396) ~[paper-1.20.jar:git-Paper-10]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1173) ~[paper-1.20.jar:git-Paper-10]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[paper-1.20.jar:git-Paper-10]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]
CubBossa commented 1 year ago

Main Issue for dead lock are the 3 render functions in NodeGroupListRenderer