-
Notifications
You must be signed in to change notification settings - Fork 5k
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
decompilation error #411
Comments
Same. Happens on the one important method i need lol been stuck on it for about a month /* JADX ERROR: JadxRuntimeException in pass: RegionMakerVisitor
jadx.core.utils.exceptions.JadxRuntimeException: Exception block dominator not found, method:com.google.android.apps.nexuslauncher.allapps.ActionsController.e():java.util.ArrayList<com.google.android.apps.nexuslauncher.allapps.Action>, dom blocks: [B:12:0x0031, B:45:0x00e3]
at jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:89)
at jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)
at jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)
at jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)
at jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:27)
at jadx.core.dex.visitors.DepthTraversal.lambda$visit$1(DepthTraversal.java:14)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1380)
at jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)
at jadx.core.ProcessClass.process(ProcessClass.java:32)
at jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:292)
at jadx.api.JavaClass.decompile(JavaClass.java:62)
at jadx.api.JavaClass.getCode(JavaClass.java:48)
*/
/* JADX WARNING: Removed duplicated region for block: B:114:0x0239 A[SYNTHETIC, Splitter: B:114:0x0239] */
/* JADX WARNING: Removed duplicated region for block: B:128:0x024a A[SYNTHETIC, Splitter: B:128:0x024a] */
/* JADX WARNING: Removed duplicated region for block: B:119:0x0240 A[Splitter: B:7:0x0017, ExcHandler: all (th java.lang.Throwable)] */
/* JADX WARNING: Removed duplicated region for block: B:114:0x0239 A[SYNTHETIC, Splitter: B:114:0x0239] */
/* JADX WARNING: Removed duplicated region for block: B:114:0x0239 A[SYNTHETIC, Splitter: B:114:0x0239] */
/* JADX WARNING: Removed duplicated region for block: B:26:0x0054 A[PHI: r1 r2 r4 , Splitter: B:12:0x0031, ExcHandler: all (r0:12 'th' ? I:java.lang.Throwable)] */
/* JADX WARNING: Removed duplicated region for block: B:114:0x0239 A[SYNTHETIC, Splitter: B:114:0x0239] */
/* JADX WARNING: Removed duplicated region for block: B:114:0x0239 A[SYNTHETIC, Splitter: B:114:0x0239] */
/* renamed from: e */
private java.util.ArrayList<com.google.android.apps.nexuslauncher.allapps.Action> m2497e() {
...
throw new UnsupportedOperationException("Method not decompiled: com.google.android.apps.nexuslauncher.allapps.ActionsController.e():java.util.ArrayList<com.google.android.apps.nexuslauncher.allapps.Action>");
} |
@A-AFTAHI sorry I can't reproduce your error. Which jadx version are you using? Try to check latest unstable build. |
@Sirhc95 can you attach apk file? |
i was using the last stable one.
but when i tested the last unstable version jadx-0.8.0-b581-7e8435c.zip generates better results.
a method gave the following instead of the error:
private static List<String> getSubjectAltNames(X509Certificate x509Certificate, int i) {
ArrayList arrayList = new ArrayList();
try {
Collection<List> subjectAlternativeNames = x509Certificate.getSubjectAlternativeNames();
if (subjectAlternativeNames == null) {
return Collections.emptyList();
}
for (List list : subjectAlternativeNames) {
if (list != null) {
if (list.size() >= 2) {
Integer num = (Integer) list.get(0);
if (num != null) {
if (num.intValue() == i) {
String str = (String) list.get(1);
if (str != null) {
arrayList.add(str);
}
}
}
}
}
}
return arrayList;
} catch (CertificateParsingException unused) {
return Collections.emptyList();
}
}
|
@Sirhc95: with latest build ( Can you please check? As I guess this issue is resolved. |
@asashour it was resolved awhile ago. I got it decompiled using 0.8.0-b616-7c353a6 the code was a bit broken but i cleaned it up and it works fine now. |
Great that you have a working code. From the issue side, we should either define a reproducible test so it can be fixed, or we close the issue. |
Hey guys i was decompiling an application and it return some decompilation errors and i was wondering if someone could explain the source of these error and why they are happening
i got this inside the output code :
The text was updated successfully, but these errors were encountered: