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

java.lang.ArrayIndexOutOfBoundsException #489

Open
L-pin opened this issue Mar 19, 2024 · 2 comments
Open

java.lang.ArrayIndexOutOfBoundsException #489

L-pin opened this issue Mar 19, 2024 · 2 comments

Comments

@L-pin
Copy link

L-pin commented Mar 19, 2024

Hello,

I encountered the following error while decompiling a class using bytecode-viewer. Since the class file is not convenient to publicly share, I have emailed it to you. I hope to receive your reply. Thank you.

java.lang.ArrayIndexOutOfBoundsException: Index 65350 out of bounds for length 113
	at org.objectweb.asm.ClassReader.readCode(ClassReader.java:2441)
	at org.objectweb.asm.ClassReader.readMethod(ClassReader.java:1515)
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:745)
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:425)
	at the.bytecode.club.bytecodeviewer.api.ASMUtil.bytesToNode(ASMUtil.java:42)
	at the.bytecode.club.bytecodeviewer.util.JarUtils.getNode(JarUtils.java:242)
	at the.bytecode.club.bytecodeviewer.resources.importing.impl.ClassResourceImporter.open(ClassResourceImporter.java:47)
	at the.bytecode.club.bytecodeviewer.resources.importing.ImportResource.importKnownFile(ImportResource.java:87)
	at the.bytecode.club.bytecodeviewer.resources.importing.ImportResource.run(ImportResource.java:59)
	at java.base/java.lang.Thread.run(Thread.java:833)

image

@Akhilmak
Copy link

Akhilmak commented Dec 6, 2024

Hey @Konloch can I work on this issue if it is still open?

@Konloch
Copy link
Owner

Konloch commented Dec 8, 2024

@Akhilmak are you also running into this issue? If you have a reproducible build you can share that causes this bug, that would help out.

If you want feel free to join our Discord - https://discord.gg/aexsYpfMEf and just ping me there, we could try to resolve this issue

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

No branches or pull requests

3 participants