Server crashes when computer tries to get detail on item
IICarst opened this issue ยท 0 comments
Minecraft Version
1.18.x
Version
1.100.1
Details
I tried to use the inventory api to list all items in a chest but when the computer got to the shears in the chest it crashed the server.
I also tried this in singleplayer and there it worked fine.
Description: Exception in server tick loop
java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Hex
at dan200.computercraft.shared.util.NBTUtil.getNBTHash(NBTUtil.java:180) ~[cc-tweaked-1.18.1-1.100.1.jar%2337!:1.100.1] {re:classloading}
at dan200.computercraft.shared.peripheral.generic.data.ItemData.fillBasic(ItemData.java:42) ~[cc-tweaked-1.18.1-1.100.1.jar%2337!:1.100.1] {re:classloading}
at dan200.computercraft.shared.peripheral.generic.methods.InventoryMethods.list(InventoryMethods.java:101) ~[cc-tweaked-1.18.1-1.100.1.jar%2337!:1.100.1] {re:classloading}
at dan200.computercraft.shared.peripheral.generic.methods.InventoryMethods$cc$list1.apply(CC generated method) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading}
at dan200.computercraft.core.asm.PeripheralMethod.lambda$static$0(PeripheralMethod.java:21) ~[cc-tweaked-1.18.1-1.100.1.jar%2337!:1.100.1] {re:classloading}
at dan200.computercraft.core.lua.LuaContext.lambda$issueMainThreadTask$0(LuaContext.java:34) ~[cc-tweaked-1.18.1-1.100.1.jar%2337!:1.100.1] {re:classloading}
at dan200.computercraft.core.computer.MainThreadExecutor.execute(MainThreadExecutor.java:143) ~[cc-tweaked-1.18.1-1.100.1.jar%2337!:1.100.1] {re:classloading}
at dan200.computercraft.core.computer.MainThread.executePendingTasks(MainThread.java:157) ~[cc-tweaked-1.18.1-1.100.1.jar%2337!:1.100.1] {re:classloading}
at dan200.computercraft.shared.CommonHooks.onServerTick(CommonHooks.java:60) ~[cc-tweaked-1.18.1-1.100.1.jar%2337!:1.100.1] {re:classloading}
at net.minecraftforge.eventbus.ASMEventHandler_42_CommonHooks_onServerTick_ServerTickEvent.invoke(.dynamic) ~[?:?] {}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!:?] {}
at net.minecraftforge.event.ForgeEventFactory.onPreServerTick(ForgeEventFactory.java:881) ~[forge-1.18.1-39.0.7-universal.jar%2347!:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:806) ~[server-1.18.1-20211210.034407-srg.jar%2343!:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:668) ~[server-1.18.1-20211210.034407-srg.jar%2343!:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:258) ~[server-1.18.1-20211210.034407-srg.jar%2343!:?] {re:classloading,pl:accesstransformer:B}
at java.lang.Thread.run(Thread.java:833) [?:?] {}
Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.binary.Hex
at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?] {}
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] {}
at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:132) ~[securejarhandler-0.9.54.jar:?] {}
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] {}
at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:132) ~[securejarhandler-0.9.54.jar:?] {}
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] {}
... 18 more
A detailed walkthrough of the error, its code path and all known details is as follows:
-- System Details --
Details:
Minecraft Version: 1.18.1
Minecraft Version ID: 1.18.1
Operating System: Windows 10 (amd64) version 10.0
Java Version: 17.0.1, Eclipse Adoptium
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
Memory: 1794582704 bytes (1711 MiB) / 4399824896 bytes (4196 MiB) up to 8564768768 bytes (8168 MiB)
CPUs: 20
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i9-10850K CPU @ 3.60GHz
Identifier: Intel64 Family 6 Model 165 Stepping 5
Microarchitecture: unknown
Frequency (GHz): 3,60
Number of physical packages: 1
Number of physical CPUs: 10
Number of logical CPUs: 20
Graphics card #0 name: NVIDIA GeForce RTX 2080 Ti
Graphics card #0 vendor: NVIDIA (0x10de)
Graphics card #0 VRAM (MB): 4095,00
Graphics card #0 deviceId: 0x1e07
Graphics card #0 versionInfo: DriverVersion=27.21.14.5671
Memory slot #0 capacity (MB): 16384,00
Memory slot #0 clockSpeed (GHz): 3,20
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 16384,00
Memory slot #1 clockSpeed (GHz): 3,20
Memory slot #1 type: DDR4
Virtual memory max (MB): 41719,94
Virtual memory used (MB): 37433,27
Swap memory total (MB): 9055,67
Swap memory used (MB): 92,49
JVM Flags: 0 total;
Server Running: true
Player Count: 1 / 20; [ServerPlayer['pizzabakkercarst'/266, l='ServerLevel[world]', x=-19.96, y=64.00, z=25.43]]
Data Packs: vanilla, mod:supermartijn642corelib, mod:chunkloaders (incompatible), mod:forge, mod:supermartijn642configlib, mod:easier_sleeping, mod:computercraft (incompatible)
Is Modded: Definitely; Server brand changed to 'forge'
Type: Dedicated Server (map_server.txt)
ModLauncher: 9.0.7+91+master.8569cdf
ModLauncher launch target: forgeserver
ModLauncher naming: srg
ModLauncher services:
mixin PLUGINSERVICE
eventbus PLUGINSERVICE
object_holder_definalize PLUGINSERVICE
runtime_enum_extender PLUGINSERVICE
capability_token_subclass PLUGINSERVICE
accesstransformer PLUGINSERVICE
runtimedistcleaner PLUGINSERVICE
mixin TRANSFORMATIONSERVICE
fml TRANSFORMATIONSERVICE
FML Language Providers:
[email protected]
javafml@null
Mod List:
server-1.18.1-20211210.034407-srg.jar |Minecraft |minecraft |1.18.1 |DONE |Manifest: NOSIGNATURE
supermartijn642corelib-1.0.15a-mc1.18.jar |SuperMartijn642's Core Lib |supermartijn642corelib |1.0.15a |DONE |Manifest: NOSIGNATURE
chunkloaders-1.1.7b-mc1.18.jar |Chunk Loaders |chunkloaders |1.1.7b |DONE |Manifest: NOSIGNATURE
forge-1.18.1-39.0.7-universal.jar |Forge |forge |39.0.7 |DONE |Manifest: 22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90
supermartijn642configlib-1.0.9-mc1.18.jar |SuperMartijn642's Config Lib |supermartijn642configlib |1.0.9 |DONE |Manifest: NOSIGNATURE
EasierSleeping-1.18.1-2.1.0.jar |Easier Sleeping |easier_sleeping |2.1.0 |DONE |Manifest: NOSIGNATURE
cc-tweaked-1.18.1-1.100.1.jar |CC: Tweaked |computercraft |1.100.1 |DONE |Manifest: NOSIGNATURE
Crash Report UUID: 150404aa-09fc-4c42-b729-09aa5db323b8
FML: 39.0
Forge: net.minecraftforge:39.0.7