Iron Backpacks

Iron Backpacks

54M Downloads

Crash using new 2.0 version when equiping backpack

DarcClan opened this issue ยท 8 comments

commented

Description: Exception in server tick loop

java.lang.NoSuchFieldError: worldObj
at gr8pefish.ironbackpacks.util.helpers.IronBackpacksHelper.spawnEntityBackpack(IronBackpacksHelper.java:217)
at gr8pefish.ironbackpacks.events.ForgeEventHandler.onPlayerLogIn(ForgeEventHandler.java:127)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_155_ForgeEventHandler_onPlayerLogIn_PlayerLoggedInEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:55)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraftforge.fml.common.FMLCommonHandler.firePlayerLoggedIn(FMLCommonHandler.java:555)
at net.minecraft.server.management.ServerConfigurationManager.initializeConnectionToPlayer(ServerConfigurationManager.java:175)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:239)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:54)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:190)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:289)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:189)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:724)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:605)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:250)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)
at java.lang.Thread.run(Unknown Source)

commented

same, unable to load world after equip crash

this what I get when I try to load the world after crash -> http://pastebin.com/kpvsbPzP

Forge1723

commented

@DarcClan, @Ioandar: Are you both using Java 8? Are you both updating from an old world or is this a new one? I only ask because while I found issues with my entity backpacks, they aren't the exact same as yours. I may fix your issue indirectly, but right now it wouldn't be a specific fix for your issue since I cannot replicate it.

@NerdMcBoon Pretty sure that is a different issue, but I will try and fix both for the next release, as I expect/hope yours to be a simple fix. If it isn't I'll move it to another issue.

commented

I don't know if it's the same issue, but my game completely stopped responding after I tried to open my backpack for the first time via right click.

I did not change anything in the config except turning the render off in first person mode.

As the game didn't really crash, there is no crash report, so I'll attach the log file instead

IronBackpacksFreeze.txt
.
I'm still on Forge 1.8.9 - 11.15.0.1718, if that makes any difference.

commented

@gr8pefish Java 8 and updating from old world that used 'IronBackpacks-1.8-1.0.7'.

  • Having empty IronBackpack from old version in players inventory,
  • then crafting basic bachpack (chest with leather)
  • pressing hotkey to equip -> crash

will test new world and report...

Maybe related -> had Firewall warning together with this test

commented

Right, I'll look into it and try to figure this out and fix it.

commented

tyvm, your backpacks are awesome!

commented

For some reason (let's just blame Mojang), most methods and fields got obfuscated during the build but some didn't.

Edit:

Here is an example of what I mean:

Left is broken, right is fixed

Example

commented

Fixed as of 2.0.2