Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenFM (1.7.10) crash #61

Open
Sirse opened this issue Apr 28, 2017 · 4 comments
Open

OpenFM (1.7.10) crash #61

Sirse opened this issue Apr 28, 2017 · 4 comments

Comments

@Sirse
Copy link

Sirse commented Apr 28, 2017

SHIFT-click on radio GUI slot causes crash:

java.lang.IndexOutOfBoundsException: Index: 36, Size: 10
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at net.minecraft.inventory.Container.func_75135_a(SourceFile:427)
at pcl.OpenFM.TileEntity.RadioContainer.func_82846_b(RadioContainer.java:68)
at net.minecraft.inventory.Container.func_75144_a(SourceFile:193)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78753_a(PlayerControllerMP.java:419)
at codechicken.nei.guihook.GuiContainerManager.handleSlotClick(GuiContainerManager.java:504)
at net.minecraft.client.gui.inventory.GuiContainer.func_146984_a(GuiContainer.java:638)
at net.minecraft.client.gui.inventory.GuiContainer.public_func_146984_a(GuiContainer.java)
at codechicken.nei.guihook.DefaultSlotClickHandler.callHandleMouseClick(DefaultSlotClickHandler.java)
at codechicken.nei.guihook.DefaultSlotClickHandler.handleSlotClick(DefaultSlotClickHandler.java:17)
at codechicken.nei.guihook.GuiContainerManager.handleMouseClick(GuiContainerManager.java:453)
at net.minecraft.client.gui.inventory.GuiContainer.managerHandleMouseClick(GuiContainer.java)
at net.minecraft.client.gui.inventory.GuiContainer.func_73864_a(GuiContainer.java:394)
at pcl.OpenFM.GUI.GuiRadioBase.func_73864_a(GuiRadioBase.java:123)
at pcl.OpenFM.GUI.GuiRadio.func_73864_a(GuiRadio.java:377)
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:296)
at net.minecraft.client.gui.inventory.GuiContainer.func_146274_d(GuiContainer.java)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1640)
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)
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)

@CaitlynMainer
Copy link
Member

What where you trying to shift-click from? Index 36 is way out of the range of slots that should be visible from the Radio GUI.

@Sirse
Copy link
Author

Sirse commented Apr 28, 2017

Just click on first slot (in OpenFM gui, mirrored from hotbar).
Also, little question: audio traffic going only to client, not proxied on MC server?

@CaitlynMainer
Copy link
Member

I've still yet to get a chance to reproduce this, I've not forgot about it though.

@MaxBas
Copy link

MaxBas commented Mar 23, 2020

I have the same error but with a index of 10.
What can i do that the bug doesnt appear, because if you can reproduce the bug, there need to be a way that the game dont have throw this bug

Something like a work around four this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants