TrainCarts icon indicating copy to clipboard operation
TrainCarts copied to clipboard

A Bug in TrainCarts or BKCL

Open PatrickBronke opened this issue 3 years ago • 1 comments

Info

Please provide the following information:

  • BkCommonLib Version (1.19-V2):
  • TrainCarts Version (1.19-V3):
  • Server Type and Version (1.19):

Bug

[20:38:19] [Server thread/INFO]: PatrickBronke issued server command: /train help [20:38:29] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-66 (MC: 1.19) --- [20:38:29] [Paper Watchdog Thread/ERROR]: The server has not responded for 10 seconds! Creating thread dump [20:38:29] [Paper Watchdog Thread/ERROR]: ------------------------------ [20:38:29] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!): [20:38:29] [Paper Watchdog Thread/ERROR]: ------------------------------ [20:38:29] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread [20:38:29] [Paper Watchdog Thread/ERROR]: PID: 25 | Suspended: false | Native: true | State: RUNNABLE [20:38:29] [Paper Watchdog Thread/ERROR]: Stack: [20:38:29] [Paper Watchdog Thread/ERROR]: [email protected]/java.io.RandomAccessFile.readBytes(Native Method) [20:38:29] [Paper Watchdog Thread/ERROR]: [email protected]/java.io.RandomAccessFile.read(RandomAccessFile.java:405) [20:38:29] [Paper Watchdog Thread/ERROR]: [email protected]/java.io.RandomAccessFile.readFully(RandomAccessFile.java:469) [20:38:29] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.zip.ZipFile$Source.readFullyAt(ZipFile.java:1353) [20:38:29] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.zip.ZipFile$ZipFileInputStream.initDataOffset(ZipFile.java:915) [20:38:29] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:931) [20:38:29] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:448) [20:38:29] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:159) [20:38:29] [Paper Watchdog Thread/ERROR]: com.google.common.io.ByteStreams.toByteArrayInternal(ByteStreams.java:184) [20:38:29] [Paper Watchdog Thread/ERROR]: com.google.common.io.ByteStreams.toByteArray(ByteStreams.java:224) [20:38:29] [Paper Watchdog Thread/ERROR]: org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:169) [20:38:29] [Paper Watchdog Thread/ERROR]: [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:588) [20:38:29] [Paper Watchdog Thread/ERROR]: org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:108) [20:38:29] [Paper Watchdog Thread/ERROR]: org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103) [20:38:29] [Paper Watchdog Thread/ERROR]: [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:521) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.net.kyori.adventure.text.TextComponentImpl.(TextComponentImpl.java:40) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.net.kyori.adventure.text.Component.space(Component.java:157) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.minecraft.extras.MinecraftHelp.paginatedHeader(MinecraftHelp.java:652) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.minecraft.extras.MinecraftHelp.lambda$printIndexHelpTopic$5(MinecraftHelp.java:380) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.minecraft.extras.MinecraftHelp$$Lambda$9766/0x0000000800d5e3f0.apply(Unknown Source) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.minecraft.extras.Pagination.render(Pagination.java:62) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.minecraft.extras.MinecraftHelp.printIndexHelpTopic(MinecraftHelp.java:425) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.minecraft.extras.MinecraftHelp.printTopic(MinecraftHelp.java:340) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.minecraft.extras.MinecraftHelp.queryCommands(MinecraftHelp.java:325) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.cloud.CloudSimpleHandler.lambda$helpCommand$15(CloudSimpleHandler.java:526) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.cloud.CloudSimpleHandler$$Lambda$8397/0x00000008024f4218.execute(Unknown Source) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.execution.CommandExecutionHandler.executeFuture(CommandExecutionHandler.java:95) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.execution.CommandExecutionCoordinator$SimpleCoordinator.coordinateExecution(CommandExecutionCoordinator.java:123) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.CommandManager.executeCommand(CommandManager.java:188) [20:38:29] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.bukkit.BukkitCommand.execute(BukkitCommand.java:116) [20:38:29] [Paper Watchdog Thread/ERROR]: org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) [20:38:29] [Paper Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_19_R1.CraftServer.dispatchCommand(CraftServer.java:909) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.handleCommand(ServerGamePacketListenerImpl.java:2376) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$18(ServerGamePacketListenerImpl.java:2147) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.server.network.PlayerConnection$$Lambda$9374/0x000000080274b310.run(Unknown Source) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.server.TickTask.run(TickTask.java:18) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1358) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.d(MinecraftServer.java:183) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1335) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1328) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1306) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1191) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:302) [20:38:29] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer$$Lambda$4331/0x00000008014d6058.run(Unknown Source) [20:38:29] [Paper Watchdog Thread/ERROR]: [email protected]/java.lang.Thread.run(Thread.java:833) [20:38:29] [Paper Watchdog Thread/ERROR]: ------------------------------ [20:38:29] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH --- [20:38:29] [Paper Watchdog Thread/ERROR]: ------------------------------ [20:38:34] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-66 (MC: 1.19) --- [20:38:34] [Paper Watchdog Thread/ERROR]: The server has not responded for 15 seconds! Creating thread dump [20:38:34] [Paper Watchdog Thread/ERROR]: ------------------------------ [20:38:34] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!): [20:38:34] [Paper Watchdog Thread/ERROR]: ------------------------------ [20:38:34] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread [20:38:34] [Paper Watchdog Thread/ERROR]: PID: 25 | Suspended: false | Native: true | State: RUNNABLE [20:38:34] [Paper Watchdog Thread/ERROR]: Stack: [20:38:34] [Paper Watchdog Thread/ERROR]: [email protected]/java.io.RandomAccessFile.readBytes(Native Method) [20:38:34] [Paper Watchdog Thread/ERROR]: [email protected]/java.io.RandomAccessFile.read(RandomAccessFile.java:405) [20:38:34] [Paper Watchdog Thread/ERROR]: [email protected]/java.io.RandomAccessFile.readFully(RandomAccessFile.java:469) [20:38:34] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.zip.ZipFile$Source.readFullyAt(ZipFile.java:1353) [20:38:34] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.zip.ZipFile$ZipFileInputStream.initDataOffset(ZipFile.java:915) [20:38:34] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:931) [20:38:34] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:448) [20:38:34] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:159) [20:38:34] [Paper Watchdog Thread/ERROR]: com.google.common.io.ByteStreams.toByteArrayInternal(ByteStreams.java:184) [20:38:34] [Paper Watchdog Thread/ERROR]: com.google.common.io.ByteStreams.toByteArray(ByteStreams.java:224) [20:38:34] [Paper Watchdog Thread/ERROR]: org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:169) [20:38:34] [Paper Watchdog Thread/ERROR]: [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:588) [20:38:34] [Paper Watchdog Thread/ERROR]: org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:108) [20:38:34] [Paper Watchdog Thread/ERROR]: org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103) [20:38:34] [Paper Watchdog Thread/ERROR]: [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:521) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.net.kyori.adventure.text.TextComponentImpl.(TextComponentImpl.java:40) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.net.kyori.adventure.text.Component.space(Component.java:157) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.minecraft.extras.MinecraftHelp.paginatedHeader(MinecraftHelp.java:652) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.minecraft.extras.MinecraftHelp.lambda$printIndexHelpTopic$5(MinecraftHelp.java:380) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.minecraft.extras.MinecraftHelp$$Lambda$9766/0x0000000800d5e3f0.apply(Unknown Source) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.minecraft.extras.Pagination.render(Pagination.java:62) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.minecraft.extras.MinecraftHelp.printIndexHelpTopic(MinecraftHelp.java:425) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.minecraft.extras.MinecraftHelp.printTopic(MinecraftHelp.java:340) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.minecraft.extras.MinecraftHelp.queryCommands(MinecraftHelp.java:325) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.cloud.CloudSimpleHandler.lambda$helpCommand$15(CloudSimpleHandler.java:526) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.cloud.CloudSimpleHandler$$Lambda$8397/0x00000008024f4218.execute(Unknown Source) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.execution.CommandExecutionHandler.executeFuture(CommandExecutionHandler.java:95) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.execution.CommandExecutionCoordinator$SimpleCoordinator.coordinateExecution(CommandExecutionCoordinator.java:123) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.CommandManager.executeCommand(CommandManager.java:188) [20:38:34] [Paper Watchdog Thread/ERROR]: BKCommonLib-1.19-v2-1347.jar//com.bergerkiller.bukkit.common.dep.cloud.bukkit.BukkitCommand.execute(BukkitCommand.java:116) [20:38:34] [Paper Watchdog Thread/ERROR]: org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) [20:38:34] [Paper Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_19_R1.CraftServer.dispatchCommand(CraftServer.java:909) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.handleCommand(ServerGamePacketListenerImpl.java:2376) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$18(ServerGamePacketListenerImpl.java:2147) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.server.network.PlayerConnection$$Lambda$9374/0x000000080274b310.run(Unknown Source) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.server.TickTask.run(TickTask.java:18) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1358) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.d(MinecraftServer.java:183) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1335) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1328) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1306) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1191) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:302) [20:38:34] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer$$Lambda$4331/0x00000008014d6058.run(Unknown Source) [20:38:34] [Paper Watchdog Thread/ERROR]: [email protected]/java.lang.Thread.run(Thread.java:833) [20:38:34] [Paper Watchdog Thread/ERROR]: ------------------------------ [20:38:34] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH --- [20:38:34] [Paper Watchdog Thread/ERROR]: ------------------------------

Description

I have send the "/train help" command and this Error I got.

Expected behaviour

Send "/train help" command. But I can't tell if this command triggered the error. It may also be coincidence that this error appeared just as I was typing "/train help".

Steps to reproduce

Send the "/help command". But I can't tell if this command triggered the error.

PatrickBronke avatar Jul 25 '22 19:07 PatrickBronke

Weird, I just ran /train help myself and I get no such error. Does it perhaps run out of memory or something? That said, it hung on trying to load classes in the jar itself (adventure classes). Its possible it just takes longer for you for some reason.

This also means it shouldn't permanently hang the server, and a next /train help should work without delay or error.

In case it's related to using /reload or hotswapping the bkcommonlib jar file while the server was running - thats an option too

bergerkiller avatar Jul 25 '22 22:07 bergerkiller

Closing issue, stale, unlikely to be a bug.

bbayu123 avatar Jun 08 '23 16:06 bbayu123