This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
kosakriszi's profile picture

[1.7.10][SMP]NoClassDefFoundError upon placing a labeled Turtle

Started by kosakriszi, 28 February 2015 - 03:10 AM
kosakriszi #1
Posted 28 February 2015 - 04:10 AM
ComputerCraft 1.73
Forge 10.13.2.1291

When labeling a turtle and attempting to place it, we encountered this crash:


java.lang.NoClassDefFoundError: net/minecraft/client/resources/I18n
at dan200.computercraft.shared.turtle.items.ItemTurtleBase.func_77653_i(ItemTurtleBase.java:148)
at net.minecraft.item.ItemStack.func_82833_r(ItemStack.java:427)
at dan200.computercraft.shared.computer.items.ItemComputerBase.getLabel(ItemComputerBase.java:55)
at dan200.computercraft.shared.turtle.items.ItemTurtleBase.setupTurtleAfterPlacement(ItemTurtleBase.java:79)
at dan200.computercraft.shared.turtle.items.ItemTurtleBase.placeBlockAt(ItemTurtleBase.java:62)
at net.minecraft.item.ItemBlock.func_77648_a(ItemBlock.java:103)
at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:505)
at net.minecraft.item.ItemStack.func_77943_a(ItemStack.java:128)
at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:389)
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:556)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.resources.I18n
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 19 more
Caused by: java.lang.NullPointerException

This error is indeed strange, as the crash only occurs when one particular player places the turtle.

Any input would be great!

Thanks in advance!
Cycomantis #2
Posted 28 February 2015 - 04:27 AM
This has been fixed, look down a few post.

http://www.computercraft.info/forums2/index.php?/topic/22055-1710cc17place-turtle-server-crash/
kosakriszi #3
Posted 28 February 2015 - 04:41 AM
I apologize, we were under the impression that our version was ComputerCraft 1.73, but apparently this is not the case.
Lyqyd #4
Posted 28 February 2015 - 05:02 AM
Locked as resolved, thanks for clarifying your version number!