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

NegativeArraySizeException in JDWP #1524

Closed
yanqizhen99 opened this issue Jun 10, 2022 · 3 comments
Closed

NegativeArraySizeException in JDWP #1524

yanqizhen99 opened this issue Jun 10, 2022 · 3 comments

Comments

@yanqizhen99
Copy link

Jadx version : 1.4.1
Java version : 18.0.1.1
Java VM : Oracle Corporation OpenJDK 64-Bit Server VM
Platform : Windows 10 (10.0 amd64)
Max heap size: 6144 MB

java.lang.NegativeArraySizeException: -610911488
at io.github.hqktech.JDWP.decodeRaw(JDWP.java:402)
at io.github.hqktech.JDWP$JdwpString.decode(JDWP.java:7475)
at io.github.hqktech.JDWP$VirtualMachine$AllClassesWithGeneric.decode(JDWP.java:1553)
at jadx.gui.device.debugger.SmaliDebugger.getAllClasses(SmaliDebugger.java:1074)
at jadx.gui.device.debugger.SmaliDebugger.getClassSignatureInternal(SmaliDebugger.java:983)
at jadx.gui.device.debugger.SmaliDebugger.getClassSignatureSync(SmaliDebugger.java:291)
at jadx.gui.device.debugger.DebugController.fetchStackFrameNames(DebugController.java:580)
at jadx.gui.device.debugger.DebugController.updateAllStackFrames(DebugController.java:565)
at jadx.gui.device.debugger.DebugController.lambda$updateAllInfo$16(DebugController.java:870)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

@jpstotz
Copy link
Collaborator

jpstotz commented Jun 10, 2022

@yanqizhen99 This error means your phone has sent data to the Jadx integrated debugger that had an unexpected format.
To be able to understand and potentially solve this error we need more details:

  1. Is the problem reproducible (does it always occur when you are debugging a certain app)?
  2. What Android device was used for debugging (manufacturer, model, Android version)
  3. What app were you debugging (please provide APK if possible)

@jpstotz jpstotz changed the title An error occurred NegativeArraySizeException in JDWP Aug 18, 2022
@jpstotz
Copy link
Collaborator

jpstotz commented Aug 18, 2022

No user feedback

@jpstotz jpstotz closed this as not planned Won't fix, can't repro, duplicate, stale Aug 18, 2022
@george-hopkins
Copy link
Contributor

I encountered the same issue and think it might a duplicate of #1471.

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

4 participants