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: arraycopy: last destination index 70 out of bounds for byte[58] #1701

Closed
yadihaoku opened this issue Oct 11, 2022 · 0 comments · Fixed by #1702

Comments

@yadihaoku
Copy link

Please describe what you did before the error occurred.
IMPORTANT! If the error occurs with a specific APK file please attach or provide link to apk file!

  • Jadx version: 1.4.4
  • Java version: 18.0.2.1
  • Java VM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM
  • Platform: Mac OS X (12.4 aarch64)
  • Max heap size: 11472 MB
  • Program args: -Xms128M -XX:MaxRAMPercentage=70.0 -XX:+UseG1GC -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Djava.util.Arrays.useLegacyMergeSort=true
java.lang.ArrayIndexOutOfBoundsException: arraycopy: last destination index 70 out of bounds for byte[58]
	at java.base/java.lang.System.arraycopy(Native Method)
	at java.base/java.lang.String.getBytes(String.java:4452)
	at java.base/java.lang.AbstractStringBuilder.putStringAt(AbstractStringBuilder.java:1722)
	at java.base/java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:572)
	at java.base/java.lang.StringBuilder.append(StringBuilder.java:179)
	at jadx.gui.device.debugger.DebugController$FrameNode.toString(DebugController.java:1224)
	at java.desktop/javax.swing.DefaultListCellRenderer.getListCellRendererComponent(DefaultListCellRenderer.java:157)
	at java.desktop/javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1444)
	at java.desktop/javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1394)
	at java.desktop/javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(BasicListUI.java:2815)
	at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:225)
	at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:205)
	at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:252)
	at java.desktop/javax.swing.DefaultListSelectionModel.insertIndexInterval(DefaultListSelectionModel.java:676)
	at java.desktop/javax.swing.plaf.basic.BasicListUI$Handler.intervalAdded(BasicListUI.java:2773)
	at java.desktop/javax.swing.AbstractListModel.fireIntervalAdded(AbstractListModel.java:157)
	at java.desktop/javax.swing.DefaultListModel.addElement(DefaultListModel.java:366)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at jadx.gui.ui.panel.JDebuggerPanel.refreshStackFrameList(JDebuggerPanel.java:465)
	at jadx.gui.device.debugger.DebugController.updateAllStackFrames(DebugController.java:567)
	at jadx.gui.device.debugger.DebugController.lambda$updateAllInfo$16(DebugController.java:870)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

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

Successfully merging a pull request may close this issue.

1 participant