Problem with "mods.tconstruct.Smeltery.removeMelting"

Problem with "mods.tconstruct.Smeltery.removeMelting"

Postby Mechanos » Thu Jun 18, 2015 4:31 am

Heya. So, apparently whenever I use "mods.tconstruct.Smeltery.removeMelting();", it will load the first time appearing to work. But if I use "minetweaker /reload", or if a client disconnects then reconnects to a server, it completely breaks minecraft. Here is a more precise example of what I'm using.
: [Select all] [/] [] ()
mods.tconstruct.Smeltery.removeMelting(<ore:dustAluminium>);
mods.tconstruct.Smeltery.removeMelting(<ore:nuggetAluminium>);
mods.tconstruct.Smeltery.removeMelting(<ore:oreAluminium>);
GeSHi © Codebox Plus


If I put that into a script, then load it client side or server side, at first it appears that it's working. Aluminum dust, nuggets, and ore, will no longer be able to be melted down in a Tinkers' Construct forge. But if I reload the scripts for any reason, this happens
: [Select all] [/] [] ()
[17/6/2015 20:27:55 PM] [Client thread/ERROR] [FML]: SimpleChannelHandlerWrapper exception
[17/6/2015 20:27:55 PM] java.lang.NullPointerException
[17/6/2015 20:27:55 PM]    at modtweaker.mods.tconstruct.handlers.Smeltery$RemoveMelting.undo(Smeltery.java:187) ~[Smeltery$RemoveMelting.class:?]
[17/6/2015 20:27:55 PM]    at minetweaker.runtime.MTTweaker.rollback(MTTweaker.java:83) ~[MTTweaker.class:?]
[17/6/2015 20:27:55 PM]    at minetweaker.MineTweakerImplementationAPI.reload(MineTweakerImplementationAPI.java:589) ~[MineTweakerImplementationAPI.class:?]
[17/6/2015 20:27:55 PM]    at minetweaker.mc1710.network.MineTweakerLoadScriptsHandler.onMessage(MineTweakerLoadScriptsHandler.java:28) ~[MineTweakerLoadScriptsHandler.class:?]
[17/6/2015 20:27:55 PM]    at minetweaker.mc1710.network.MineTweakerLoadScriptsHandler.onMessage(MineTweakerLoadScriptsHandler.java:21) ~[MineTweakerLoadScriptsHandler.class:?]
[17/6/2015 20:27:55 PM]    at cpw.mods.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:37) ~[SimpleChannelHandlerWrapper.class:?]
[17/6/2015 20:27:55 PM]    at cpw.mods.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:17) ~[SimpleChannelHandlerWrapper.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:101) [SimpleChannelInboundHandler.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:101) [SimpleChannelInboundHandler.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [MessageToMessageDecoder.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) [MessageToMessageCodec.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]
[17/6/2015 20:27:55 PM]    at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:77) [FMLProxyPacket.class:?]
[17/6/2015 20:27:55 PM]    at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) [ej.class:?]
[17/6/2015 20:27:55 PM]    at net.minecraft.client.multiplayer.PlayerControllerMP.func_78765_e(PlayerControllerMP.java:273) [bje.class:?]
[17/6/2015 20:27:55 PM]    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1590) [bao.class:?]
[17/6/2015 20:27:55 PM]    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:961) [bao.class:?]
[17/6/2015 20:27:55 PM]    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887) [bao.class:?]
[17/6/2015 20:27:55 PM]    at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
[17/6/2015 20:27:55 PM]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
[17/6/2015 20:27:55 PM]    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
[17/6/2015 20:27:55 PM]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
[17/6/2015 20:27:55 PM]    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]
[17/6/2015 20:27:55 PM]    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
[17/6/2015 20:27:55 PM]    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
[17/6/2015 20:27:55 PM] [Client thread/ERROR] [FML]: There was a critical exception handling a packet on channel MineTweaker3
[17/6/2015 20:27:55 PM] java.lang.NullPointerException
[17/6/2015 20:27:55 PM]    at modtweaker.mods.tconstruct.handlers.Smeltery$RemoveMelting.undo(Smeltery.java:187) ~[Smeltery$RemoveMelting.class:?]
[17/6/2015 20:27:55 PM]    at minetweaker.runtime.MTTweaker.rollback(MTTweaker.java:83) ~[MTTweaker.class:?]
[17/6/2015 20:27:55 PM]    at minetweaker.MineTweakerImplementationAPI.reload(MineTweakerImplementationAPI.java:589) ~[MineTweakerImplementationAPI.class:?]
[17/6/2015 20:27:55 PM]    at minetweaker.mc1710.network.MineTweakerLoadScriptsHandler.onMessage(MineTweakerLoadScriptsHandler.java:28) ~[MineTweakerLoadScriptsHandler.class:?]
[17/6/2015 20:27:55 PM]    at minetweaker.mc1710.network.MineTweakerLoadScriptsHandler.onMessage(MineTweakerLoadScriptsHandler.java:21) ~[MineTweakerLoadScriptsHandler.class:?]
[17/6/2015 20:27:55 PM]    at cpw.mods.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:37) ~[SimpleChannelHandlerWrapper.class:?]
[17/6/2015 20:27:55 PM]    at cpw.mods.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:17) ~[SimpleChannelHandlerWrapper.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:101) ~[SimpleChannelInboundHandler.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:101) ~[SimpleChannelInboundHandler.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[MessageToMessageDecoder.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[MessageToMessageCodec.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[DefaultChannelHandlerContext.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) ~[DefaultChannelPipeline.class:?]
[17/6/2015 20:27:55 PM]    at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) ~[EmbeddedChannel.class:?]
[17/6/2015 20:27:55 PM]    at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:77) [FMLProxyPacket.class:?]
[17/6/2015 20:27:55 PM]    at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) [ej.class:?]
[17/6/2015 20:27:55 PM]    at net.minecraft.client.multiplayer.PlayerControllerMP.func_78765_e(PlayerControllerMP.java:273) [bje.class:?]
[17/6/2015 20:27:55 PM]    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1590) [bao.class:?]
[17/6/2015 20:27:55 PM]    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:961) [bao.class:?]
[17/6/2015 20:27:55 PM]    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887) [bao.class:?]
[17/6/2015 20:27:55 PM]    at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
[17/6/2015 20:27:55 PM]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
[17/6/2015 20:27:55 PM]    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
[17/6/2015 20:27:55 PM]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
[17/6/2015 20:27:55 PM]    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]
[17/6/2015 20:27:55 PM]    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
[17/6/2015 20:27:55 PM]    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
GeSHi © Codebox Plus

This will break the Minecraft client and make it unable to connect to servers or load a singleplayer game. Server side, it does something similar, causing all further connecting clients to time out or receive "fatal errors".
On a side note, if I comment out the mods.tconstruct.Smeltery.removeMelting() lines, it fixes things both client and server. Looking for a workaround in the meantime.
Mechanos
 

Return to ModTweaker Issues & Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron