You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.ClassCastException: class jadx.api.JavaMethod cannot be cast to class jadx.api.JavaVariable (jadx.api.JavaMethod and jadx.api.JavaVariable are in unnamed module of loader 'app')
#1509
Closed
muratuygun opened this issue
Jun 2, 2022
· 1 comment
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.1
Java VM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM
Platform: Windows 10 (10.0 amd64)
Max heap size: 20836 MB
Program args: -Xms1488m -Xmx20836m -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -XX:+UseG1GC
java.lang.ClassCastException: class jadx.api.JavaMethod cannot be cast to class jadx.api.JavaVariable (jadx.api.JavaMethod and jadx.api.JavaVariable are in unnamed module of loader 'app')
at jadx.api.JadxDecompiler.resolveVarRef(JadxDecompiler.java:689)
at jadx.api.JadxDecompiler.getJavaNodeByCodeAnnotation(JadxDecompiler.java:661)
at jadx.api.JavaClass.getUsePlacesFor(JavaClass.java:203)
at jadx.gui.ui.dialog.UsageDialog.processUsage(UsageDialog.java:101)
at jadx.gui.ui.dialog.UsageDialog.lambda$collectUsageData$1(UsageDialog.java:69)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.DistinctOps$1$2.accept(DistinctOps.java:175)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
at jadx.gui.ui.dialog.UsageDialog.lambda$collectUsageData$2(UsageDialog.java:69)
at java.base/java.util.HashMap.forEach(HashMap.java:1336)
at jadx.gui.ui.dialog.UsageDialog.collectUsageData(UsageDialog.java:66)
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)
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: