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

Any Turtle use crashing

Started by Towsty, 08 January 2016 - 05:37 PM
Towsty #1
Posted 08 January 2016 - 06:37 PM
Running into an issue in both SMP and SSP with my pack. Any use of turtles causes a crash.


java.lang.NoSuchFieldError: ShortWait
at dan200.computercraft.shared.turtle.core.TurtleBrain.playAnimation(TurtleBrain.java:726)
at dan200.computercraft.shared.turtle.core.TurtleMoveCommand.execute(TurtleMoveCommand.java:116)
at dan200.computercraft.shared.turtle.core.TurtleBrain.updateCommands(TurtleBrain.java:995)
at dan200.computercraft.shared.turtle.core.TurtleBrain.update(TurtleBrain.java:183)
at dan200.computercraft.shared.turtle.blocks.TileTurtle.func_145845_h(TileTurtle.java:278)
at net.minecraft.world.World.func_72939_s(World.java:1939)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

Full crash report:
http://pastebin.com/R8pZy5WQ

FML Log:
https://www.dropbox....ov/log.log?dl=0
Dog #2
Posted 08 January 2016 - 08:01 PM
Looking through your crash log, I came across this at line 388:

* ComputerCraft|API (1.73) from cd4017belib-1.7.10-2.7.2.jar
* ComputerCraft|API|FileSystem (1.73) from cd4017belib-1.7.10-2.7.2.jar
* ComputerCraft|API|Lua (1.75) from computercraft1.75.jar
* ComputerCraft|API|Media (1.73) from cd4017belib-1.7.10-2.7.2.jar
* ComputerCraft|API|Peripheral (1.73) from cd4017belib-1.7.10-2.7.2.jar
* ComputerCraft|API|Permissions (1.75) from computercraft1.75.jar
* ComputerCraft|API|Redstone (1.75) from computercraft1.75.jar
* ComputerCraft|API|Turtle (1.75) from computercraft1.75.jar

It looks to me like cd4017belib-1.7.10-2.7.2.jar is overriding some of ComputerCraft's built in APIs with older versions. Try locating and removing that jar file and see if the problem goes away.

EDIT: If you require cd4017belib-1.7.10-2.7.2.jar then you could downgrade your ComputerCraft install from 1.75 to 1.73 for the time being.
Edited on 08 January 2016 - 07:04 PM
Towsty #3
Posted 08 January 2016 - 08:33 PM
Looking through your crash log, I came across this at line 388:

* ComputerCraft|API (1.73) from cd4017belib-1.7.10-2.7.2.jar
* ComputerCraft|API|FileSystem (1.73) from cd4017belib-1.7.10-2.7.2.jar
* ComputerCraft|API|Lua (1.75) from computercraft1.75.jar
* ComputerCraft|API|Media (1.73) from cd4017belib-1.7.10-2.7.2.jar
* ComputerCraft|API|Peripheral (1.73) from cd4017belib-1.7.10-2.7.2.jar
* ComputerCraft|API|Permissions (1.75) from computercraft1.75.jar
* ComputerCraft|API|Redstone (1.75) from computercraft1.75.jar
* ComputerCraft|API|Turtle (1.75) from computercraft1.75.jar

It looks to me like cd4017belib-1.7.10-2.7.2.jar is overriding some of ComputerCraft's built in APIs with older versions. Try locating and removing that jar file and see if the problem goes away.

EDIT: If you require cd4017belib-1.7.10-2.7.2.jar then you could downgrade your ComputerCraft install from 1.75 to 1.73 for the time being.

Thanks! I'll give it a go!
dan200 #4
Posted 09 January 2016 - 12:00 AM
You should also contact the author of that mod and tell them either: not to redistribute CC's API at all (if the mod requires CC to run anyway), or to ensure there are no coremod parts in their mod: coremods including APIs is the only case when a mod version of an API would override the CC one.
Towsty #5
Posted 09 January 2016 - 01:12 AM
I put an issue on their git earlier today, I'm hoping he updates it soon.
Bomb Bloke #6
Posted 09 January 2016 - 02:13 AM
Seems that particular jar is required by the Inductive Automation, so if you're pulling the former then you'll need to pull the latter as well.

http://minecraft.curseforge.com/members/CD4017BE/projects
Edited on 09 January 2016 - 01:14 AM
dan200 #7
Posted 19 January 2016 - 12:44 PM
Closing, as not a CC bug