java.lang.NullPointerException: Exception while updating neighbours

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by SquidDev
, 1 year ago
Exception while updating neighbours
java.lang.NullPointerException: Exception while updating neighbours
at dan200.computercraft.shared.common.TileGeneric.getBlock(TileGeneric.java:53)
at dan200.computercraft.shared.peripheral.common.TilePeripheralBase.getBlock(TilePeripheralBase.java:44)
at dan200.computercraft.shared.peripheral.common.TilePeripheralBase.getPeripheralType(TilePeripheralBase.java:67)
at dan200.computercraft.shared.peripheral.modem.TileCable.onNeighbourChange(TileCable.java:160)
at dan200.computercraft.shared.common.BlockGeneric.func_176204_a(BlockGeneric.java:162)
at org.spongepowered.common.event.CauseTracker.notifyBlockOfStateChange(CauseTracker.java:1157)
at dan200.computercraft.shared.util.RedstoneUtil.propogateRedstoneOutput(RedstoneUtil.java:87)
at dan200.computercraft.shared.turtle.blocks.TileTurtle.destroy(TileTurtle.java:123)
at dan200.computercraft.shared.common.BlockGeneric.func_180663_b(BlockGeneric.java:119)
at net.minecraft.world.chunk.Chunk.setBlockState(Chunk.java:535)
at net.minecraft.world.World.func_180501_a(World.java:1168)
at dan200.computercraft.shared.turtle.core.TurtleBrain.teleportTo(TurtleBrain.java:521)
at dan200.computercraft.shared.turtle.core.TurtleMoveCommand.execute(TurtleMoveCommand.java:112)
at dan200.computercraft.shared.turtle.core.TurtleBrain.updateCommands(TurtleBrain.java:994)
at dan200.computercraft.shared.turtle.core.TurtleBrain.update(TurtleBrain.java:183)
at dan200.computercraft.shared.turtle.blocks.TileTurtle.func_73660_a(TileTurtle.java:257)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:701)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:344)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:605)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.