OpenMods / OpenPeripheral

https://openmods.info
MIT License
67 stars 25 forks source link

Proxy block null pointer exception on chest #117

Closed infAl closed 10 years ago

infAl commented 10 years ago

Hi, I'm trying to connect a proxy block to a chest and getting a null pointer exception when I try to activate the modem connected to the proxy block.

Using Direwolf20 1.6.4 v1.0.14 mod pack with OpenPeripheralAddons-0.1.0-snapshot-41.jar OpenPeripheralCore-0.3.0-snapshot-39.jar OpenModsLib-0.1-snapshot-112.jar

Console output is as follows: 2014-02-10 08:21:12 [INFO] [STDERR] java.lang.NullPointerException: Method [getPeripheralAt] not found 2014-02-10 08:21:12 [INFO] [STDERR] at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:235) 2014-02-10 08:21:12 [INFO] [STDERR] at openmods.utils.ReflectionHelper.call(ReflectionHelper.java:88) 2014-02-10 08:21:12 [INFO] [STDERR] at openmods.utils.ReflectionHelper.callStatic(ReflectionHelper.java:70) 2014-02-10 08:21:12 [INFO] [STDERR] at openperipheral.addons.peripheralproxy.TileEntityPeripheralProxy.providePeripheral(TileEntityPeripheralProxy.java:24) 2014-02-10 08:21:12 [INFO] [STDERR] at openperipheral.adapter.AdapterManager$1.getPeripheral(AdapterManager.java:32) 2014-02-10 08:21:12 [INFO] [STDERR] at dan200.computer.shared.BlockComputerBase.getPeripheralAt(BlockComputerBase.java:143) 2014-02-10 08:21:12 [INFO] [STDERR] at dan200.computer.shared.TileEntityCable.getConnectedPeripheral(TileEntityCable.java:745) 2014-02-10 08:21:12 [INFO] [STDERR] at dan200.computer.shared.TileEntityCable.togglePeripheralAccess(TileEntityCable.java:696) 2014-02-10 08:21:12 [INFO] [STDERR] at dan200.computer.shared.BlockCable.func_71903_a(BlockCable.java:469) 2014-02-10 08:21:12 [INFO] [STDERR] at net.minecraft.item.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:421) 2014-02-10 08:21:12 [INFO] [STDERR] at net.minecraft.network.NetServerHandler.func_72472_a(NetServerHandler.java:556) 2014-02-10 08:21:12 [INFO] [STDERR] at net.minecraft.network.packet.Packet15Place.func_73279_a(SourceFile:58) 2014-02-10 08:21:12 [INFO] [STDERR] at net.minecraft.network.MemoryConnection.func_74428_b(MemoryConnection.java:89) 2014-02-10 08:21:12 [INFO] [STDERR] at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:141) 2014-02-10 08:21:12 [INFO] [STDERR] at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54) 2014-02-10 08:21:12 [INFO] [STDERR] at net.minecraft.server.integrated.IntegratedServerListenThread.func_71747_b(IntegratedServerListenThread.java:109) 2014-02-10 08:21:12 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:691) 2014-02-10 08:21:12 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587) 2014-02-10 08:21:12 [INFO] [STDERR] at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:129) 2014-02-10 08:21:12 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484) 2014-02-10 08:21:12 [INFO] [STDERR] at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)

boq commented 10 years ago

Already fixed in recent snapshot. Full release will be probably in this or next week.