[11:10:18 WARN]: [WhitelistByTime] Task #186 for WhitelistByTime v6.2 generated an exception
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@22f51d55[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@7ef5d8c6[Wrapped task = ru.nightmirror.wlbytime.MetricsBase$$Lambda$9768/0x0000000802d52b30@604a3ded]] rejected from java.util.concurrent.ScheduledThreadPoolExecutor@13d849b1[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1]
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2065) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:340) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor.execute(ScheduledThreadPoolExecutor.java:705) ~[?:?]
at ru.nightmirror.wlbytime.MetricsBase.submitData(MetricsBase.java:162) ~[WhitelistByTime-Spigot-6.2.jar:?]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.19.4.jar:git-Purpur-1979]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[purpur-1.19.4.jar:git-Purpur-1979]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1510) ~[purpur-1.19.4.jar:git-Purpur-1979]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:488) ~[purpur-1.19.4.jar:git-Purpur-1979]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1424) ~[purpur-1.19.4.jar:git-Purpur-1979]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1195) ~[purpur-1.19.4.jar:git-Purpur-1979]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[purpur-1.19.4.jar:git-Purpur-1979]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
>
Thanks for the feedback, even though you're a contributor!
Version: 6.0
Whitelist is not working as it should. When someone joins who is not a whiitelist the console throws an error.
When I use the reload command I get a 1x message and when I use the 2nd command I get a 2x message about successful reload, so it repeats endlessly. In fact, ALL MESSAGES are DOUBLED on REUSE.
[17:53:40 WARN]: java.lang.NullPointerException: Cannot invoke "java.util.List.size()" because "this.connFreeList" is null
[17:53:40 WARN]: at WhitelistByTime-Spigot-6.0.jar//com.j256.ormlite.jdbc.JdbcPooledConnectionSource.getReadWriteConnection(JdbcPooledConnectionSource.java:125)
[17:53:40 WARN]: at WhitelistByTime-Spigot-6.0.jar//com.j256.ormlite.jdbc.JdbcPooledConnectionSource.getReadOnlyConnection(JdbcPooledConnectionSource.java:114)
[17:53:40 WARN]: at WhitelistByTime-Spigot-6.0.jar//com.j256.ormlite.stmt.StatementExecutor.buildIterator(StatementExecutor.java:249)
[17:53:40 WARN]: at WhitelistByTime-Spigot-6.0.jar//com.j256.ormlite.stmt.StatementExecutor.query(StatementExecutor.java:202)
[17:53:40 WARN]: at WhitelistByTime-Spigot-6.0.jar//com.j256.ormlite.stmt.StatementExecutor.queryForAll(StatementExecutor.java:127)
[17:53:40 WARN]: at WhitelistByTime-Spigot-6.0.jar//com.j256.ormlite.dao.BaseDaoImpl.queryForAll(BaseDaoImpl.java:251)
[17:53:40 WARN]: at WhitelistByTime-Spigot-6.0.jar//ru.nightmirror.wlbytime.common.database.WLDatabase.lambda$getPlayers$15(WLDatabase.java:218)
[17:53:40 WARN]: at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
[17:53:40 WARN]: at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
[17:53:40 WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
[17:53:40 WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
[17:53:40 WARN]: at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
[17:53:40 WARN]: at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
[17:53:40 WARN]: at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
[17:53:40 WARN]: at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
[17:53:40 WARN]: at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Thanks for the feedback! I will definitely add these features in the next update
Version: 4.0
Add commands to disable and enable the whitelist, otherwise add each player, well, well, or just disable the whitelist with a command if you don’t need it
Thanks for the feedback! I will add it in the next update
Version: 3.1
It's AWESOME. Simple and it works as it says.
The only problem there is no placeholders. I want to show the player how much time left in the scoreboard and I can't. ;(