Posted 17 November 2014 - 09:40 PM
Hello peeps!
So the server crashes some times a turtle compares his inventory with a block in front with him or compares something in the inventory.
I saw on an other bug report about this problem on the forum. It said that I shouldn't compare it wait air. So I did worked around that. Now it doesn't compares with air but, it's still crashing the server.
We are running a private server on a Github server and it's Tekkit version 1.2.10C (Beta). With is running computercraft version 1.63 ..
Pastebin to the turtle code: http://pastebin.com/XYVHA1Wh
To an API (I don't think something interesting is in here but just in case someone wants to see it.): http://pastebin.com/BU8weq8h
The compare functions are on line: 149, 186, 228, 254 and 286.
Server crash report:
And many thanks in advance! :D/>
So the server crashes some times a turtle compares his inventory with a block in front with him or compares something in the inventory.
I saw on an other bug report about this problem on the forum. It said that I shouldn't compare it wait air. So I did worked around that. Now it doesn't compares with air but, it's still crashing the server.
We are running a private server on a Github server and it's Tekkit version 1.2.10C (Beta). With is running computercraft version 1.63 ..
Pastebin to the turtle code: http://pastebin.com/XYVHA1Wh
To an API (I don't think something interesting is in here but just in case someone wants to see it.): http://pastebin.com/BU8weq8h
The compare functions are on line: 149, 186, 228, 254 and 286.
Server crash report:
2014-11-17 15:39:32 [SEVERE] Encountered an unexpected exception ReportedException
net.minecraft.util.ReportedException: Ticking tile entity
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:674)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:276)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)
Caused by: java.lang.NullPointerException
at dan200.computercraft.shared.turtle.core.TurtleCompareCommand.execute(TurtleCompareCommand.java:102)
at dan200.computercraft.shared.turtle.core.TurtleBrain.updateCommands(TurtleBrain.java:776)
at dan200.computercraft.shared.turtle.core.TurtleBrain.update(TurtleBrain.java:92)
at dan200.computercraft.shared.turtle.blocks.TileTurtle.func_70316_g(TileTurtle.java:255)
at net.minecraft.world.World.func_72939_s(World.java:2209)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:550)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668)
... 4 more
2014-11-17 15:39:32 [SEVERE] This crash report has been saved to: /home/minecraft/Tekkit_Space/./crash-reports/crash-2014-11-17_15.39.32-server.txt
And many thanks in advance! :D/>
Edited on 17 November 2014 - 09:14 PM