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

There are 1 methods fail to translate. #617

Closed
Entit-y opened this issue Apr 23, 2024 · 2 comments
Closed

There are 1 methods fail to translate. #617

Entit-y opened this issue Apr 23, 2024 · 2 comments

Comments

@Entit-y
Copy link

Entit-y commented Apr 23, 2024

#This file is generated by dex2jar
Please report this file to one of following link if possible (any one).
https://sourceforge.net/p/dex2jar/tickets/
https://bitbucket.org/pxb1988/dex2jar/issues
https://github.com/pxb1988/dex2jar/issues
dex2jar@googlegroups.com

There are 1 methods fail to translate.
2024-04-23 02:26:11 UTC
version: [dex-reader-2.1-SNAPSHOT, dex-reader-api-2.1-SNAPSHOT, dex-ir-2.1-SNAPSHOT, d2j-smali-2.1-SNAPSHOT, d2j-base-cmd-2.1-SNAPSHOT, dex-tools-2.1-SNAPSHOT, dex-translator-2.1-SNAPSHOT]
cmdline: [Lookupp_1.1_apkcombo.com.apk]
env:
java.specification.version: 21
java.class.path: .:/usr/share/dex2jar/lib/ST4-4.0.8.jar:/usr/share/dex2jar/lib/antlr-3.5.2.jar:/usr/share/dex2jar/lib/antlr-runtime-3.5.2.jar:/usr/share/dex2jar/lib/antlr4-4.5.jar:/usr/share/dex2jar/lib/antlr4-runtime-4.5.jar:/usr/share/dex2jar/lib/asm-debug-all-5.0.3.jar:/usr/share/dex2jar/lib/d2j-base-cmd-2.1-SNAPSHOT.jar:/usr/share/dex2jar/lib/d2j-jasmin-2.1-SNAPSHOT.jar:/usr/share/dex2jar/lib/d2j-smali-2.1-SNAPSHOT.jar:/usr/share/dex2jar/lib/dex-ir-2.1-SNAPSHOT.jar:/usr/share/dex2jar/lib/dex-reader-2.1-SNAPSHOT.jar:/usr/share/dex2jar/lib/dex-reader-api-2.1-SNAPSHOT.jar:/usr/share/dex2jar/lib/dex-tools-2.1-SNAPSHOT.jar:/usr/share/dex2jar/lib/dex-translator-2.1-SNAPSHOT.jar:/usr/share/dex2jar/lib/dex-writer-2.1-SNAPSHOT.jar:/usr/share/dex2jar/lib/dx-23.0.0.jar:/usr/share/dex2jar/lib/org.abego.treelayout.core-1.0.1.jar
java.vm.vendor: Debian
java.vendor.url: https://tracker.debian.org/openjdk-21
java.vm.specification.version: 21
java.specification.vendor: Oracle Corporation
java.version.date: 2024-01-16
java.home: /usr/lib/jvm/java-21-openjdk-amd64
java.vm.compressedOopsMode: 32-bit
java.vm.specification.vendor: Oracle Corporation
java.specification.name: Java Platform API Specification
java.runtime.version: 21.0.2+13-Debian-2
java.runtime.name: OpenJDK Runtime Environment
java.vm.name: OpenJDK 64-Bit Server VM
java.vendor.url.bug: https://bugs.debian.org/openjdk-21
java.io.tmpdir: /tmp
java.version: 21.0.2
java.vm.specification.name: Java Virtual Machine Specification
java.library.path: /usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
java.vm.info: mixed mode, sharing
java.vendor: Debian
java.vm.version: 21.0.2+13-Debian-2
java.class.version: 65.0

================= 0 ===================
Landroidx/core/text/BidiFormatter$DirectionalityEstimator;.getExitDir()I
java.lang.RuntimeException: fail exe a8 = a2
at com.googlecode.dex2jar.ir.ts.an.BaseAnalyze.exec(BaseAnalyze.java:92)
at com.googlecode.dex2jar.ir.ts.an.BaseAnalyze.exec(BaseAnalyze.java:31)
at com.googlecode.dex2jar.ir.ts.Cfg.dfs(Cfg.java:255)
at com.googlecode.dex2jar.ir.ts.an.BaseAnalyze.analyze0(BaseAnalyze.java:75)
at com.googlecode.dex2jar.ir.ts.an.BaseAnalyze.analyze(BaseAnalyze.java:69)
at com.googlecode.dex2jar.ir.ts.Ir2JRegAssignTransformer.transform(Ir2JRegAssignTransformer.java:182)
at com.googlecode.d2j.dex.Dex2jar$2.optimize(Dex2jar.java:167)
at com.googlecode.d2j.dex.Dex2Asm.convertCode(Dex2Asm.java:442)
at com.googlecode.d2j.dex.ExDex2Asm.convertCode(ExDex2Asm.java:40)
at com.googlecode.d2j.dex.Dex2jar$2.convertCode(Dex2jar.java:132)
at com.googlecode.d2j.dex.Dex2Asm.convertMethod(Dex2Asm.java:575)
at com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:434)
at com.googlecode.d2j.dex.Dex2Asm.convertDex(Dex2Asm.java:450)
at com.googlecode.d2j.dex.Dex2jar.doTranslate(Dex2jar.java:175)
at com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:275)
at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:112)
at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:290)
at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:33)
Caused by: java.lang.NullPointerException: Cannot assign field "used" because "aValue" is null
at com.googlecode.dex2jar.ir.ts.an.SimpleLiveAnalyze.onUseLocal(SimpleLiveAnalyze.java:89)
at com.googlecode.dex2jar.ir.ts.an.SimpleLiveAnalyze.onUseLocal(SimpleLiveAnalyze.java:27)
at com.googlecode.dex2jar.ir.ts.an.BaseAnalyze.onUse(BaseAnalyze.java:166)
at com.googlecode.dex2jar.ir.ts.an.BaseAnalyze.onUse(BaseAnalyze.java:31)
at com.googlecode.dex2jar.ir.ts.Cfg.travel(Cfg.java:331)
at com.googlecode.dex2jar.ir.ts.Cfg.travel(Cfg.java:387)
at com.googlecode.dex2jar.ir.ts.an.BaseAnalyze.exec(BaseAnalyze.java:90)
... 17 more

.method getExitDir()I
.registers 8
iget v0, p0, Landroidx/core/text/BidiFormatter$DirectionalityEstimator;->length:I
iput v0, p0, Landroidx/core/text/BidiFormatter$DirectionalityEstimator;->charIndex:I
const/4 v0, 0
move v1, v0
:L0
move v2, v1
:L1
iget v3, p0, Landroidx/core/text/BidiFormatter$DirectionalityEstimator;->charIndex:I
if-lez v3, :L11
invoke-virtual { p0 }, Landroidx/core/text/BidiFormatter$DirectionalityEstimator;->dirTypeBackward()B
move-result v3
const/4 v4, -1
if-eqz v3, :L8
const/4 v5, 1
if-eq v3, v5, :L6
const/4 v6, 2
if-eq v3, v6, :L6
const/16 v6, 9
if-eq v3, v6, :L1
packed-switch v3, :L12
if-nez v2, :L1
goto :L10
:L2
add-int/lit8 v1, v1, 1
goto :L1
:L3
if-ne v2, v1, :L5
return v5
:L4
if-ne v2, v1, :L5
return v4
:L5
add-int/lit8 v1, v1, -1
goto :L1
:L6
if-nez v1, :L7
return v5
:L7
if-nez v2, :L1
goto :L10
:L8
if-nez v1, :L9
return v4
:L9
if-nez v2, :L1
:L10
goto :L0
:L11
return v0
:L12
.packed-switch 14
:L4
:L4
:L3
:L3
:L2
.end packed-switch
.end method

@ThexXTURBOXx
Copy link
Collaborator

Your version of dex2jar is outdated. Please try either with the newest version or with my fork (see #486)

@Entit-y
Copy link
Author

Entit-y commented Apr 23, 2024

Your version of dex2jar is outdated. Please try either with the newest version or with my fork (see #486)

Thanks!

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