ChairmanC / dex2jar

Automatically exported from code.google.com/p/dex2jar
0 stars 0 forks source link

dex-translator-0.0.9.4翻译framework.jar出错 #97

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.使用dex-translator-0.0.9.4翻译framework.jar
2.
3.

What is the expected output? What do you see instead?
dex2jar version: reader-1.5, translator-0.0.9.4, ir-1.2
dex2jar framework.jar -> framework_dex2jar.jar
com.googlecode.dex2jar.DexException: while accept method:[Landroid/text/StaticLa
yout;.generate(Ljava/lang/CharSequence;IILandroid/text/TextPaint;ILandroid/text/
Layout$Alignment;FFZZZFLandroid/text/TextUtils$TruncateAt;)V]
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReade
r.java:631)
        at com.googlecode.dex2jar.reader.DexFileReader.acceptClass(DexFileReader
.java:387)
        at com.googlecode.dex2jar.reader.DexFileReader.accept(DexFileReader.java
:270)
        at com.googlecode.dex2jar.v3.Main.doData(Main.java:67)
        at com.googlecode.dex2jar.v3.Main.doData(Main.java:51)
        at com.googlecode.dex2jar.v3.Main.doFile(Main.java:199)
        at com.googlecode.dex2jar.v3.Main.main(Main.java:230)
Caused by: com.googlecode.dex2jar.DexException: while accept code in method:[Lan
droid/text/StaticLayout;.generate(Ljava/lang/CharSequence;IILandroid/text/TextPa
int;ILandroid/text/Layout$Alignment;FFZZZFLandroid/text/TextUtils$TruncateAt;)V]

        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReade
r.java:621)
        ... 6 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: -94
        at com.googlecode.dex2jar.v3.V3CodeAdapter.visitBinopStmt(V3CodeAdapter.
java:212)
        at com.googlecode.dex2jar.reader.DexOpcodeAdapter.x3x(DexOpcodeAdapter.j
ava:661)
        at com.googlecode.dex2jar.reader.DexCodeReader.acceptInsn(DexCodeReader.
java:428)
        at com.googlecode.dex2jar.reader.DexCodeReader.accept(DexCodeReader.java
:292)
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReade
r.java:618)
        ... 6 more
Done.

What version of the product are you using? On what operating system?
dex-translator-0.0.9.4
JDK1.7.2 and Win7 x64 SP1

Please provide any additional information below.
dex-translator-0.0.9.3 工作正常

Original issue reported on code.google.com by yyjdel...@gmail.com on 30 Dec 2011 at 8:03

Attachments: