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

jadx.core.utils.exceptions.JadxRuntimeException: Failed to remove code cache for o.cON #1535

Closed
abdilahrf opened this issue Jun 15, 2022 · 1 comment

Comments

@abdilahrf
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.0
  • Java version: 11.0.7
  • Java VM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM
  • Platform: Windows 10 (10.0 amd64)
  • Max heap size: 13420 MB
  • Program args: -Xms958m -Xmx13420m -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -XX:+UseG1GC
jadx.core.utils.exceptions.JadxRuntimeException: Failed to remove code cache for o.cON
	at jadx.gui.utils.codecache.disk.DiskCodeCache.remove(DiskCodeCache.java:196)
	at jadx.gui.utils.codecache.disk.DiskCodeCache.lambda$add$0(DiskCodeCache.java:133)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.nio.file.FileSystemException: E:\xxx\xxxx-21feb22.apk.cache\sources\o\cON.java: The handle is invalid.

	at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
	at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:274)
	at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110)
	at java.base/java.nio.file.Files.deleteIfExists(Files.java:1180)
	at jadx.gui.utils.codecache.disk.DiskCodeCache.remove(DiskCodeCache.java:193)
	... 4 more

@jpstotz
Copy link
Collaborator

jpstotz commented Jun 15, 2022

Duplicate of #1503 which has been fixed in Jadx 1.4.1.

@jpstotz jpstotz closed this as completed Jun 15, 2022
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