TrashSlot

TrashSlot

65M Downloads

[1.7.10] Game crashes when closing NEI recipes

Closed this issue ยท 4 comments

commented

Minecraft Version

Other (specify below)

Mod Loader

Forge

Describe the Issue

When using NEI in creative to view a recipe, and then closing the recipe view with escape, the game crashes with the following exception:

java.lang.IndexOutOfBoundsException: Index: 45, Size: 45
	at java.util.ArrayList.rangeCheck(ArrayList.java:659)
	at java.util.ArrayList.get(ArrayList.java:435)
	at net.minecraft.inventory.Container.func_75139_a(SourceFile:104)
	at net.minecraft.inventory.Container.func_75131_a(SourceFile:390)
	at net.minecraft.client.network.NetHandlerPlayClient.func_147241_a(NetHandlerPlayClient.java:1058)
	at net.minecraft.network.play.server.S30PacketWindowItems.func_148833_a(SourceFile:49)
	at net.minecraft.network.play.server.S30PacketWindowItems.func_148833_a(SourceFile:11)
	at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
	at net.minecraft.client.multiplayer.PlayerControllerMP.func_78765_e(PlayerControllerMP.java:273)
	at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1602)
	at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
	at net.minecraft.client.main.Main.main(SourceFile:148)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

According to old forum investigations, this is linked with TrashSlot. Removing TrashSlot indeed resolves the issue.

Logs

latest.log

commented

The last release of TrashSlot for Minecraft 1.7.10 was 10 years ago. It is no longer supported.

commented

For historical record, if anyone else stumbles upon this issue:

Rebuilding the original mod seems too inconvenient at this point, as a lot of the network resources the build process relies on have been taken down. I personally gave up, and instead reimplemented effectively the same functionality, except without a physical slot, within my local fork of a different mod (that I at least can consistently compile). I have no better suggestion for you than to do the same.

commented

For historical record, if anyone else stumbles upon this issue:

Rebuilding the original mod seems too inconvenient at this point, as a lot of the network resources the build process relies on have been taken down. I personally gave up, and instead reimplemented effectively the same functionality, except without a physical slot, within my local fork of a different mod (that I at least can consistently compile). I have no better suggestion for you than to do the same.

Hello, what mod is that? I'd like to get it too :D

commented

@Omgise To be clear, I haven't contributed this change to that mod because I believe it doesn't really belong there. The code of this particular change isn't published anywhere (because the implementation relies on the infrastructure of that mod).

Still, just for the sake of it, I'll answer that I was referring to HBM's Nuclear Tech Mod. I really enjoy it, and I'd love it if more people gave it a try, but, to reiterate, it does not and likely will not include trash slot functionality, so it is generally unrelated to this discussion.