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

Hex editor crash: Negative size array #22

Open
bbgott opened this issue Oct 23, 2018 · 1 comment
Open

Hex editor crash: Negative size array #22

bbgott opened this issue Oct 23, 2018 · 1 comment
Assignees

Comments

@bbgott
Copy link

bbgott commented Oct 23, 2018

If you open the hex editor and click the delete byte button 3 times the game crashes with the following exception:

java.lang.NegativeArraySizeException
at me.matrix89.complexlogic.gui.HexEditorComponent.insertByte(HexEditorComponent.java:166)
at me.matrix89.complexlogic.gui.HexEditorGUI.func_146284_a(HexEditorGUI.java:190)
at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:443)
at net.minecraft.client.gui.inventory.GuiContainer.func_73864_a(GuiContainer.java:323)
at me.matrix89.complexlogic.gui.HexEditorGUI.func_73864_a(HexEditorGUI.java:159)
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:533)
at me.matrix89.complexlogic.gui.HexEditorGUI.func_146274_d(HexEditorGUI.java:108)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:501)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1758)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1097)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
at net.minecraft.client.main.Main.main(SourceFile:123)
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:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

@Matrix89 Matrix89 self-assigned this Oct 24, 2018
@Matrix89
Copy link
Owner

I know about this, the current implementation of HexEditor underlying data structure is a mess. I have to rewrite it.

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

2 participants