kvnkmth / dex2jar Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/dex2jar
Automatically exported from code.google.com/p/dex2jar
[deleted issue]
What steps will reproduce the problem?
1.download the newest version from the code google site
2.use the attachment classes.dex to dex2jar
3.error
What is the expected output? What do you see instead?
E:\android\dex2jar>dex2jar classes.dex
version:0.0.7.8-SNAPSHOT
4 [main] INFO pxb.android.dex2jar.v3.Main - dex2jar classes.dex -> classes.dex.d
ex2jar.jar
5876 [main] ERROR pxb.android.dex2jar.reader.DexFileReader - Fail on class
java.lang.RuntimeException: Not support yet.
at pxb.android.dex2jar.reader.DexAnnotationReader.acceptAnnotation(DexAn
notationReader.java:188)
at pxb.android.dex2jar.reader.DexAnnotationReader.acceptAnnotation(DexAn
notationReader.java:169)
at pxb.android.dex2jar.reader.DexAnnotationReader.accept(DexAnnotationRe
ader.java:84)
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.ja
va:237)
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:17
7)
at pxb.android.dex2jar.v3.Main.doData(Main.java:78)
at pxb.android.dex2jar.v3.Main.doFile(Main.java:114)
at pxb.android.dex2jar.v3.Main.main(Main.java:64)
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeExceptio
n: Not support yet.
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:18
1)
at pxb.android.dex2jar.v3.Main.doData(Main.java:78)
at pxb.android.dex2jar.v3.Main.doFile(Main.java:114)
at pxb.android.dex2jar.v3.Main.main(Main.java:64)
Caused by: java.lang.RuntimeException: Not support yet.
at pxb.android.dex2jar.reader.DexAnnotationReader.acceptAnnotation(DexAn
notationReader.java:188)
at pxb.android.dex2jar.reader.DexAnnotationReader.acceptAnnotation(DexAn
notationReader.java:169)
at pxb.android.dex2jar.reader.DexAnnotationReader.accept(DexAnnotationRe
ader.java:84)
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.ja
va:237)
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:17
7)
... 3 more
What version of the product are you using? On what operating system?
0.0.7.8
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 21 Jan 2011 at 11:56
Attachments:
你好。
在code.google.com看到你写的dex2jar,对它很感兴趣,我想要通过�
��来获取某个.dex文件中的引用到那些外部类的方法,需要看��
�的代码中的那些内容呢?
如
public class A{
public void send(){
B b = new B();
b.send("test");
}
}
public class B{
public void send(String str){
}
}
上面有两个类,想用dex2jar的开源代码获取A类是否用到B类和B�
��用到的方法。。怎么做???
请问你的邮件是什么呢?
Original issue reported on code.google.com by [email protected]
on 18 Dec 2010 at 2:50
[deleted issue]
真是牛啊!太有用了
Original issue reported on code.google.com by [email protected]
on 16 Mar 2010 at 7:29
[deleted issue]
[deleted issue]
What steps will reproduce the problem?
1.支持2.1
2.
3.
What is the expected output? What do you see instead?
java.lang.RuntimeException: Error in method:[Las;.a()V]
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.ja
va:479) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.ja
va:304) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:17
5) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.v3.Main.doFile(Main.java:66) [dex2jar-0.0.7-SNAPS
HOT.jar:na]
at pxb.android.dex2jar.v3.Main.main(Main.java:47) [dex2jar-0.0.7-SNAPSHO
T.jar:na]
Caused by: java.lang.RuntimeException: Not support Opcode:[0x00cf]=REM_DOUBLE_2A
DDR yet!
at pxb.android.dex2jar.v3.V3CodeAdapter.visitInInsn(V3CodeAdapter.java:6
57) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.reader.DexOpcodeAdapter.visit(DexOpcodeAdapter.ja
va:131) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.reader.DexCodeReader.accept(DexCodeReader.java:26
7) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.ja
va:477) [dex2jar-0.0.7-SNAPSHOT.jar:na]
... 4 common frames omitted
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 15 Jul 2010 at 7:20
[deleted issue]
[deleted issue]
What steps will reproduce the problem?
1. dex2jar.bat classes.dex
2. Tools will report that "fail on class"
I am using the 0.0.7 version.
I attach the classes.dex file
Original issue reported on code.google.com by [email protected]
on 25 Jul 2010 at 3:22
Attachments:
这个问题一直以来让我怀疑jad\jode\jd-gui等软件的成熟度
想不到问题在于dex2jar这一步骤
Original issue reported on code.google.com by [email protected]
on 8 Apr 2010 at 1:19
What steps will reproduce the problem?
1. Try to run dex2jar SNAPSHOT 0.0.7.9 on attached classes.dex
What is the expected output? What do you see instead?
Correctly converted jar is expected. Instead I see the following stacktraces:
What version of the product are you using? On what operating system?
Snapshot 0.0.7.9, Windows XP, Java 1.6_24
Thanks for your great work!
Original issue reported on code.google.com by [email protected]
on 30 Mar 2011 at 8:37
[deleted issue]
What steps will reproduce the problem?
1.解析此文件
2.
3.
What is the expected output? What do you see instead?
生成jar文件无法解析,尝试用winrar打开提示"无法识别的文件�
��端"
生成jar文件时出现如下提示
version:0.0.7.7-SNAPSHOT
2 [main] INFO pxb.android.dex2jar.v3.Main - dex2jar classes2.dex ->
classes2.dex
.dex2jar.jar
1432 [main] ERROR pxb.android.dex2jar.reader.DexFileReader - Fail on class
java.lang.RuntimeException: Error in method:
[Lcom/yodesoft/game/yopuzzle/Rectang
lePieces;.getPieces(Ljava/util/ArrayList;Landroid/graphics/Bitmap;IIIII)Ljava/ut
il/ArrayList;]
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.ja
va:499)
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.ja
va:306)
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:17
7)
at pxb.android.dex2jar.v3.Main.doData(Main.java:78)
at pxb.android.dex2jar.v3.Main.doFile(Main.java:114)
at pxb.android.dex2jar.v3.Main.main(Main.java:64)
Caused by: java.lang.IllegalArgumentException: Id out of bound
at pxb.android.dex2jar.reader.DexFileReader.getString(DexFileReader.java
:377)
at pxb.android.dex2jar.reader.DexOpcodeAdapter.visit
(DexOpcodeAdapter.ja
va:463)
at pxb.android.dex2jar.reader.DexCodeReader.accept
(DexCodeReader.java:32
5)
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.ja
va:497)
... 5 more
Exception in thread "main" java.lang.RuntimeException:
java.lang.RuntimeExceptio
n: Error in method:[Lcom/yodesoft/game/yopuzzle/RectanglePieces;.getPieces
(Ljava
/util/ArrayList;Landroid/graphics/Bitmap;IIIII)Ljava/util/ArrayList;]
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:18
1)
at pxb.android.dex2jar.v3.Main.doData(Main.java:78)
at pxb.android.dex2jar.v3.Main.doFile(Main.java:114)
at pxb.android.dex2jar.v3.Main.main(Main.java:64)
Caused by: java.lang.RuntimeException: Error in method:
[Lcom/yodesoft/game/yopuz
zle/RectanglePieces;.getPieces(Ljava/util/ArrayList;Landroid/graphics/Bitmap;III
II)Ljava/util/ArrayList;]
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.ja
va:499)
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.ja
va:306)
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:17
7)
... 3 more
Caused by: java.lang.IllegalArgumentException: Id out of bound
at pxb.android.dex2jar.reader.DexFileReader.getString(DexFileReader.java
:377)
at pxb.android.dex2jar.reader.DexOpcodeAdapter.visit
(DexOpcodeAdapter.ja
va:463)
at pxb.android.dex2jar.reader.DexCodeReader.accept
(DexCodeReader.java:32
5)
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.ja
va:497)
... 5 more
What version of the product are you using? On what operating system?
0.7.7
Win7
jre 1.6.23
Please provide any additional information below.
此文件在dex2jar-0.0.7-SNAPSHOT下可正常解析生成jar
Original issue reported on code.google.com by [email protected]
on 27 Dec 2010 at 2:38
Attachments:
E:\dex2jar>dex2jar.bat buddy\classes.dex
lib\slf4j-api-1.5.8.jar;lib\logback-core-0.9.18.jar;lib\logback-classic-0.9.18.j
ar;lib\commons-io-1.4.jar;lib\asm-debug-
all-3.2.jar;
22:48:27.041 [main] DEBUG p.a.dex2jar.reader.DexFileReader - magic:'dex'
22:48:27.048 [main] DEBUG p.a.dex2jar.reader.DexFileReader - version:'035'
22:48:27.048 [main] DEBUG p.a.dex2jar.reader.DexFileReader - checksum:0x205c5a5a
22:48:27.050 [main] DEBUG p.a.dex2jar.reader.DexFileReader - fileSize:271628
22:48:27.051 [main] DEBUG p.a.dex2jar.reader.DexFileReader - headSize:112
22:48:27.052 [main] DEBUG p.a.dex2jar.reader.DexFileReader - x28h:305419896
(0x12345678)
22:48:27.053 [main] DEBUG p.a.dex2jar.reader.DexFileReader - link_size:0
22:48:27.054 [main] DEBUG p.a.dex2jar.reader.DexFileReader - link_off:0 (0x0)
22:48:27.055 [main] DEBUG p.a.dex2jar.reader.DexFileReader - x34h:271480
22:48:27.057 [main] DEBUG p.a.dex2jar.reader.DexFileReader -
string_ids_size:1911
22:48:27.058 [main] DEBUG p.a.dex2jar.reader.DexFileReader - string_ids_off:112
(0x70)
22:48:27.059 [main] DEBUG p.a.dex2jar.reader.DexFileReader - type_ids_size:458
(0x1ca)
22:48:27.059 [main] DEBUG p.a.dex2jar.reader.DexFileReader - type_ids_off:7756
(0x1e4c)
....
....
....
22:48:27.845 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 0014| 2310 b601
NEW_ARRAY
22:48:27.846 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 0019| 6900 2100
SPUT_OBJECT
22:48:27.847 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 001b| 2310 b401
NEW_ARRAY
22:48:27.849 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 0020| 6900 2200
SPUT_OBJECT
22:48:27.850 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 0022| 1300 0002
CONST_16
22:48:27.854 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 0024| 2300 b401
NEW_ARRAY
22:48:27.856 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 0029| 6900 2900
SPUT_OBJECT
22:48:27.857 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 002b| 1300 0001
CONST_16
22:48:27.858 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 002d| 2300 b401
NEW_ARRAY
22:48:27.860 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 0032| 6900 2300
SPUT_OBJECT
22:48:27.860 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 0034| 2320 b601
NEW_ARRAY
22:48:27.861 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 0039| 6900 2400
SPUT_OBJECT
22:48:27.862 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 003b| 2330 b601
NEW_ARRAY
22:48:27.863 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 0040| 6900 2500
SPUT_OBJECT
22:48:27.865 [main] DEBUG p.a.dex2jar.reader.DexCodeReader - 0042| 0e00
RETURN_VOID
22:48:27.871 [main] ERROR p.a.dex2jar.reader.DexFileReader - Fail on class
java.lang.RuntimeException: Error in method:[Lcom/a/a/e;.<clinit>()V]
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.java:479) [bin/:na]
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:300) [bin/:na]
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:175) [bin/:na]
at pxb.android.dex2jar.v3.Main.doFile(Main.java:66) [bin/:na]
at pxb.android.dex2jar.v3.Main.main(Main.java:47) [bin/:na]
Caused by: java.lang.RuntimeException: Not support Opcode :0x03=MOVE_16
@[0x01ac]
at pxb.android.dex2jar.reader.DexCodeReader.accept(DexCodeReader.java:446) [bin/:na]
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.java:477) [bin/:na]
... 4 common frames omitted
Exception in thread "main" java.lang.RuntimeException:
java.lang.RuntimeException: Error in method:[Lcom/a/a/e;.<clinit>
()V]
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:179)
at pxb.android.dex2jar.v3.Main.doFile(Main.java:66)
at pxb.android.dex2jar.v3.Main.main(Main.java:47)
Caused by: java.lang.RuntimeException: Error in method:[Lcom/a/a/e;.<clinit>()V]
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.java:479)
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:300)
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:175)
... 2 more
Caused by: java.lang.RuntimeException: Not support Opcode :0x03=MOVE_16
@[0x01ac]
at pxb.android.dex2jar.reader.DexCodeReader.accept(DexCodeReader.java:446)
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.java:477)
... 4 more
E:\dex2jar\
Original issue reported on code.google.com by [email protected]
on 18 Aug 2010 at 2:51
Caused by: java.lang.RuntimeException: Not support Opcode :0x03=MOVE_16
@[0x0082]
at pxb.android.dex2jar.reader.DexCodeReader.accept(DexCodeReader.java:446)
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.java:477)
... 4 more
Original issue reported on code.google.com by [email protected]
on 25 Sep 2010 at 8:37
What steps will reproduce the problem?
It happen when I try to restore my classes.dex for Android
What is the expected output? What do you see instead?
It works with other dex but this one is different
version:0.0.7.8-SNAPSHOT
2 [main] INFO pxb.android.dex2jar.v3.Main - dex2jar classes.dex ->
classes.dex.dex2jar.jar
3195 [main] ERROR pxb.android.dex2jar.reader.DexFileReader - Fail on class
java.lang.RuntimeException: Not support yet.
at pxb.android.dex2jar.reader.DexAnnotationReader.acceptAnnotation(DexAnnotationReader.java:188)
at pxb.android.dex2jar.reader.DexAnnotationReader.acceptAnnotation(DexAnnotationReader.java:169)
at pxb.android.dex2jar.reader.DexAnnotationReader.accept(DexAnnotationReader.java:84)
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:237)
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:177)
at pxb.android.dex2jar.v3.Main.doData(Main.java:78)
at pxb.android.dex2jar.v3.Main.doFile(Main.java:114)
at pxb.android.dex2jar.v3.Main.main(Main.java:64)
Exception in thread "main" java.lang.RuntimeException:
java.lang.RuntimeException: Not support yet.
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:181)
at pxb.android.dex2jar.v3.Main.doData(Main.java:78)
at pxb.android.dex2jar.v3.Main.doFile(Main.java:114)
at pxb.android.dex2jar.v3.Main.main(Main.java:64)
Caused by: java.lang.RuntimeException: Not support yet.
at pxb.android.dex2jar.reader.DexAnnotationReader.acceptAnnotation(DexAnnotationReader.java:188)
at pxb.android.dex2jar.reader.DexAnnotationReader.acceptAnnotation(DexAnnotationReader.java:169)
at pxb.android.dex2jar.reader.DexAnnotationReader.accept(DexAnnotationReader.java:84)
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:237)
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:177)
... 3 more
What version of the product are you using? On what operating system?
0.0.7.8-SNAPSHOT
Please provide any additional information below.
Will it work correctly with java 1.6 sdk?
Original issue reported on code.google.com by [email protected]
on 29 Mar 2011 at 8:04
What steps will reproduce the problem?
1.使用dex2jar处理附件
2.对得到jar中的"/JigsawView.class"使用 JD-GUI 0.3.3
无法获得initJigsaw函数的正确源代码,Jad v1.5.8g
可解析但也有提示"Couldn't fully decompile method <init>"
3.
What is the expected output? What do you see instead?
以下为JD-GUI 0.3.3提示
// ERROR //
public void initJigsaw(int paramInt1, int paramInt2)
{
// Byte code:
// 0: aload_0
// 1: getfield 73 com/huzi/puzzle/jigsaw/JigsawView:mBlocks Ljava/util/ArrayList;
// 4: invokevirtual 323 java/util/ArrayList:clear ()V
// 7: aload_0
// 8: getfield 293 com/huzi/puzzle/jigsaw/JigsawView:origImage Landroid/graphics/Bitmap;
// 11: invokevirtual 131 android/graphics/Bitmap:getWidth ()I
// 14: istore_3
// 15: aload_0
// 16: getfield 63 com/huzi/puzzle/jigsaw/JigsawView:xN I
// 19: istore 4
// 21: iload_3
...
// 2360: fdiv
// 2361: fstore 19
// 2363: goto -2073 -> 290
}
What version of the product are you using? On what operating system?
dex2jar-0.0.7.7-SNAPSHOT
Win7 jdk1.6_23
Please provide any additional information below.
附件和Issues 36是同一个文件
Original issue reported on code.google.com by [email protected]
on 19 Dec 2010 at 12:18
Attachments:
尝试使用了一下,两个classes.dex都报Not support
Opcode的错误,贴一个例子如
下:
Caused by: java.lang.RuntimeException: Not support Opcode
:0x25=FILLED_NEW_ARRAY
_RANGE @[0x0015]
at
pxb.android.dex2jar.reader.DexCodeReader.accept(DexCodeReader.java:38
5)
at
pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.ja
va:477)
... 4 more
不清楚是不是对android的sdk版本有要求,我试验的文件应该都�
��sdk 1.5的?
Original issue reported on code.google.com by [email protected]
on 9 Apr 2010 at 7:26
10:18:05.172 ERROR p.a.d.reader.DexFileReader - Fail on class
java.lang.RuntimeException: Error transform
method:Lcom/jackdoit/common/utils/ReportUtils;.reportDev
ice(Landroid/app/Activity;)Ljava/lang/String;
at pxb.android.dex2jar.v3.V3MethodAdapter.visitEnd(V3MethodAdapter.java:151) [dex2jar-0.0.7-
SNAPSHOT.jar:na]
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.java:484) [dex2jar-0.0
.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:300) [dex2jar-0.0
.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:175) [dex2jar-0.0.7-SN
APSHOT.jar:na]
at pxb.android.dex2jar.v3.Main.doFile(Main.java:66) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.v3.Main.main(Main.java:47) [dex2jar-0.0.7-SNAPSHOT.jar:na]
Caused by: java.lang.RuntimeException: fail on
Lcom/jackdoit/common/utils/ReportUtils;.reportDevice(
Landroid/app/Activity;)Ljava/lang/String;
at pxb.android.dex2jar.optimize.C.transform(C.java:43) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.v3.V3MethodAdapter.visitEnd(V3MethodAdapter.java:147) [dex2jar-0.0.7-
SNAPSHOT.jar:na]
... 5 common frames omitted
Caused by:
pxb.android.dex2jar.org.objectweb.asm.tree.analysis.AnalyzerException: Error at
instructi
on 111: Illegal use of POP
at pxb.android.dex2jar.org.objectweb.asm.tree.analysis.Analyzer.analyze(Analyzer.java:292) [
dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.optimize.C.transform(C.java:41) [dex2jar-0.0.7-SNAPSHOT.jar:na]
... 6 common frames omitted
Caused by:
pxb.android.dex2jar.org.objectweb.asm.tree.analysis.AnalyzerException: Illegal
use of POP
at pxb.android.dex2jar.org.objectweb.asm.tree.analysis.Frame.execute(Frame.java:306) [dex2ja
r-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.org.objectweb.asm.tree.analysis.Analyzer.analyze(Analyzer.java:193) [
dex2jar-0.0.7-SNAPSHOT.jar:na]
... 7 common frames omitted
Exception in thread "main" java.lang.RuntimeException:
java.lang.RuntimeException: Error transform m
ethod:Lcom/jackdoit/common/utils/ReportUtils;.reportDevice(Landroid/app/Activity
;)Ljava/lang/String;
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:179)
at pxb.android.dex2jar.v3.Main.doFile(Main.java:66)
at pxb.android.dex2jar.v3.Main.main(Main.java:47)
Caused by: java.lang.RuntimeException: Error transform
method:Lcom/jackdoit/common/utils/ReportUtils
;.reportDevice(Landroid/app/Activity;)Ljava/lang/String;
at pxb.android.dex2jar.v3.V3MethodAdapter.visitEnd(V3MethodAdapter.java:151)
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.java:484)
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:300)
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:175)
... 2 more
Caused by: java.lang.RuntimeException: fail on
Lcom/jackdoit/common/utils/ReportUtils;.reportDevice(
Landroid/app/Activity;)Ljava/lang/String;
at pxb.android.dex2jar.optimize.C.transform(C.java:43)
at pxb.android.dex2jar.v3.V3MethodAdapter.visitEnd(V3MethodAdapter.java:147)
... 5 more
Caused by:
pxb.android.dex2jar.org.objectweb.asm.tree.analysis.AnalyzerException: Error at
instructi
on 111: Illegal use of POP
at pxb.android.dex2jar.org.objectweb.asm.tree.analysis.Analyzer.analyze(Analyzer.java:292)
at pxb.android.dex2jar.optimize.C.transform(C.java:41)
... 6 more
Caused by:
pxb.android.dex2jar.org.objectweb.asm.tree.analysis.AnalyzerException: Illegal
use of POP
at pxb.android.dex2jar.org.objectweb.asm.tree.analysis.Frame.execute(Frame.java:306)
at pxb.android.dex2jar.org.objectweb.asm.tree.analysis.Analyzer.analyze(Analyzer.java:193)
... 7 more
Original issue reported on code.google.com by [email protected]
on 31 Aug 2010 at 2:20
Attachments:
[deleted issue]
[deleted issue]
...
Original issue reported on code.google.com by [email protected]
on 8 Apr 2010 at 6:39
No issue.
Original issue reported on code.google.com by [email protected]
on 6 Mar 2011 at 3:07
说中文应该能行吧。。。。
在工程中用到roboguice的项目,dex-->jar
,然后修改jar,再dx的时候报错。
错误大概是说 在某位置需要A.class 但是缺的到B.class。
怀疑是对运行时的注释(比如@Inject)处理的问题。
我是在反编译android pad QQ时遇到这个问题的。
Original issue reported on code.google.com by [email protected]
on 13 Jan 2011 at 6:35
What steps will reproduce the problem?
1.Converted Dex To Jar using this tool.[Success]
2.Tried converting back to dex using Android dx tool.[Failure]
What is the expected output? What do you see instead?
Expected output is proper conversion from dex to jar and back to dex.
It seems though the conversion from dex to jar is happening but some data is
getting lost so the conversion from jar to dex is not happening.
Also have attached the logs of the conversion process and also the apk file
which i tried to convert.
What version of the product are you using? On what operating system?
dex2jar-0.0.7.7 On Windows Xp
Please provide any additional information below.
>>UNEXPECTED TOP-LEVEL EXCEPTION:
>>com.android.dx.cf.code.SimException: at stack depth 0, expected type int but
found null
Original issue reported on code.google.com by [email protected]
on 18 Dec 2010 at 6:14
Attachments:
[deleted issue]
What steps will reproduce the problem?
1. Converted from dex to jar
2. Tried to use the jar in an Android project
3. Conversion to Dalvik format failed with error 1
Full stack trace:
com.android.dx.cf.code.SimException: local 0004: invalid
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.cf.code.OneLocalsArray.throwSimException(OneLocalsArray.java
:244)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.cf.code.OneLocalsArray.get(OneLocalsArray.java:156)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.cf.code.BaseMachine.localArg(BaseMachine.java:206)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.cf.code.Simulator$SimVisitor.visitLocal(Simulator.java:533)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.cf.code.BytecodeArray.parseInstruction(BytecodeArray.java:33
7)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.cf.code.Simulator.simulate(Simulator.java:99)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.cf.code.Ropper.processBlock(Ropper.java:684)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.cf.code.Ropper.doit(Ropper.java:639)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.cf.code.Ropper.convert(Ropper.java:252)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:252)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:131)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:85)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.command.dexer.Main.processClass(Main.java:299)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.command.dexer.Main.processFileBytes(Main.java:278)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.command.dexer.Main.access$100(Main.java:56)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:229)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.jav
a:244)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:13
0)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.command.dexer.Main.processOne(Main.java:247)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.command.dexer.Main.processAllFiles(Main.java:183)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.dx.command.dexer.Main.run(Main.java:139)
[2010-06-04 18:40:22 - AndroidNativeTest] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2010-06-04 18:40:22 - AndroidNativeTest] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9)
[2010-06-04 18:40:22 - AndroidNativeTest] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:25)
[2010-06-04 18:40:22 - AndroidNativeTest] at
java.lang.reflect.Method.invoke(Method.java:597)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.ide.eclipse.adt.internal.sdk.DexWrapper.run(Unknown Source)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.ide.eclipse.adt.internal.build.ApkBuilder.executeDx(Unknown
Source)
[2010-06-04 18:40:22 - AndroidNativeTest] at
com.android.ide.eclipse.adt.internal.build.ApkBuilder.build(Unknown Source)
[2010-06-04 18:40:22 - AndroidNativeTest] at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
[2010-06-04 18:40:22 - AndroidNativeTest] at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2010-06-04 18:40:22 - AndroidNativeTest] at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
170)
[2010-06-04 18:40:22 - AndroidNativeTest] at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
201)
[2010-06-04 18:40:22 - AndroidNativeTest] at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
[2010-06-04 18:40:22 - AndroidNativeTest] at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2010-06-04 18:40:22 - AndroidNativeTest] at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
256)
[2010-06-04 18:40:22 - AndroidNativeTest] at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j
ava:309)
[2010-06-04 18:40:22 - AndroidNativeTest] at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
[2010-06-04 18:40:22 - AndroidNativeTest] at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140
)
[2010-06-04 18:40:22 - AndroidNativeTest] at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
[2010-06-04 18:40:22 - AndroidNativeTest] at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
...at bytecode offset 00000002
locals[0000]: Lapp/AIRNativeAndroid/AppEntry;
locals[0001]: Ljava/lang/reflect/Method;
locals[0002]: [Ljava/lang/Object;
locals[0003]: I
locals[0004]: <invalid>
locals[0005]: <invalid>
...while working on block 0000
...while working on method
InvokeMethod:(Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Obje
ct;
...while processing InvokeMethod
(Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
...while processing app/AIRNativeAndroid/AppEntry.class
[2010-06-04 18:40:22 - AndroidNativeTest] 1 error; aborting
[2010-06-04 18:40:22 - AndroidNativeTest] Conversion to Dalvik format
failed with error 1
The classes.dex and the jar are attached.
Original issue reported on code.google.com by [email protected]
on 5 Jun 2010 at 12:48
Attachments:
What steps will reproduce the problem?
1. use dex2jar-0.0.7.3 convertering dex file to jar, and then put jar into
another android project lib path.
Error Info:
[2010-08-24 11:24:44 - Mytoms] Conversion to Dalvik format failed with error 1
[2010-08-24 11:27:17 - sdd]
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dx.cf.code.SimException: expected type java.lang.Object but found
long
[2010-08-24 11:27:17 - sdd] at
com.android.dx.cf.code.BaseMachine.popArgs(BaseMachine.java:156)
[2010-08-24 11:27:17 - sdd] at
com.android.dx.cf.code.Simulator$SimVisitor.visitLocal(Simulator.java:521)
[2010-08-24 11:27:17 - sdd] at
com.android.dx.cf.code.BytecodeArray.parseInstruction(BytecodeArray.java:517)
[2010-08-24 11:27:17 - sdd] at
com.android.dx.cf.code.Simulator.simulate(Simulator.java:96)
[2010-08-24 11:27:17 - sdd] at
com.android.dx.cf.code.Ropper.processBlock(Ropper.java:681)
[2010-08-24 11:27:17 - sdd] at
com.android.dx.cf.code.Ropper.doit(Ropper.java:636)
[2010-08-24 11:27:17 - sdd] at
com.android.dx.cf.code.Ropper.convert(Ropper.java:253)
What version of the product are you using? On what operating system?
the Version dex2jar-0.0.7.3-SNAPSHOT winxp Android1.5 jdk1.6
Original issue reported on code.google.com by [email protected]
on 24 Aug 2010 at 3:42
Attachments:
Error when convertering dex file to jar, and then put jar into another android
project lib path.
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dx.cf.code.SimException: expected type float but found null
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.cf.code.BaseMachine.popArgs(BaseMachine.java:174)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.cf.code.Simulator$SimVisitor.visitConstant(Simulator.java:566)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.cf.code.BytecodeArray.parseInstruction(BytecodeArray.java:750)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.cf.code.Simulator.simulate(Simulator.java:96)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.cf.code.Ropper.processBlock(Ropper.java:681)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.cf.code.Ropper.doit(Ropper.java:636)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.cf.code.Ropper.convert(Ropper.java:253)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:252)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:131)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:85)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.command.dexer.Main.processClass(Main.java:297)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.command.dexer.Main.processFileBytes(Main.java:276)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.command.dexer.Main.access$100(Main.java:56)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:228)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245
)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.command.dexer.Main.processOne(Main.java:245)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.command.dexer.Main.processAllFiles(Main.java:183)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.dx.command.dexer.Main.run(Main.java:139)
[2010-08-20 18:50:07 - AndroidHackTest] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2010-08-20 18:50:07 - AndroidHackTest] at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[2010-08-20 18:50:07 - AndroidHackTest] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[2010-08-20 18:50:07 - AndroidHackTest] at
java.lang.reflect.Method.invoke(Unknown Source)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.ide.eclipse.adt.internal.sdk.DexWrapper.run(Unknown Source)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.ide.eclipse.adt.internal.build.ApkBuilder.executeDx(Unknown Source)
[2010-08-20 18:50:07 - AndroidHackTest] at
com.android.ide.eclipse.adt.internal.build.ApkBuilder.build(Unknown Source)
[2010-08-20 18:50:07 - AndroidHackTest] at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
[2010-08-20 18:50:07 - AndroidHackTest] at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2010-08-20 18:50:07 - AndroidHackTest] at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
[2010-08-20 18:50:07 - AndroidHackTest] at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
[2010-08-20 18:50:07 - AndroidHackTest] at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
[2010-08-20 18:50:07 - AndroidHackTest] at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2010-08-20 18:50:07 - AndroidHackTest] at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
[2010-08-20 18:50:07 - AndroidHackTest] at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:3
09)
[2010-08-20 18:50:07 - AndroidHackTest] at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
[2010-08-20 18:50:07 - AndroidHackTest] at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
[2010-08-20 18:50:07 - AndroidHackTest] at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
[2010-08-20 18:50:07 - AndroidHackTest] at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
...at bytecode offset 00000012
locals[0000]: Lcom/slgmobile/beamreader/ChangePageView;
locals[0001]: Landroid/content/Context;
locals[0002]: <invalid>
...while working on block 0010
...while working on method <init>:(Landroid/content/Context;)V
...while processing <init> (Landroid/content/Context;)V
...while processing com/slgmobile/beamreader/ChangePageView.class
[2010-08-20 18:50:07 - AndroidHackTest] 1 error; aborting
[2010-08-20 18:50:07 - AndroidHackTest] Conversion to Dalvik format failed with
error 1
Original issue reported on code.google.com by [email protected]
on 20 Aug 2010 at 10:53
Attachments:
[deleted issue]
error log:
11:38:29.531 ERROR p.a.d.reader.DexFileReader - Fail on class
java.lang.NullPointerException: null
at pxb.android.dex2jar.optimize.B.link(B.java:369) [dex2jar-0.0.7-SNAPSH
OT.jar:na]
at pxb.android.dex2jar.optimize.B.linkBlocks(B.java:307) [dex2jar-0.0.7-
SNAPSHOT.jar:na]
at pxb.android.dex2jar.optimize.B.transform(B.java:230) [dex2jar-0.0.7-S
NAPSHOT.jar:na]
at pxb.android.dex2jar.v3.V3MethodAdapter.visitEnd(V3MethodAdapter.java:
146) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.ja
va:484) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.ja
va:300) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:17
5) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.v3.Main.doFile(Main.java:66) [dex2jar-0.0.7-SNAPS
HOT.jar:na]
at pxb.android.dex2jar.v3.Main.main(Main.java:47) [dex2jar-0.0.7-SNAPSHO
T.jar:na]
Exception in thread "main" java.lang.RuntimeException: java.lang.NullPointerExce
ption
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:17
9)
at pxb.android.dex2jar.v3.Main.doFile(Main.java:66)
at pxb.android.dex2jar.v3.Main.main(Main.java:47)
Caused by: java.lang.NullPointerException
at pxb.android.dex2jar.optimize.B.link(B.java:369)
at pxb.android.dex2jar.optimize.B.linkBlocks(B.java:307)
at pxb.android.dex2jar.optimize.B.transform(B.java:230)
at pxb.android.dex2jar.v3.V3MethodAdapter.visitEnd(V3MethodAdapter.java:
146)
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.ja
va:484)
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.ja
va:300)
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:17
5)
... 2 more
Original issue reported on code.google.com by [email protected]
on 15 Jul 2010 at 3:42
Attachments:
$SWITCH_TABLE$android$graphics$Bitmap$Config()没有翻译。
下面是smali的代码:
.line 44
invoke-static {}, Lcom/test/google/TestUtil;->$SWITCH_TABLE$android$graphics$Bitmap$Config()[I
move-result-object v0
dex2jar以后,依然是:
int[] arrayOfInt = $SWITCH_TABLE$android$graphics$Bitmap$Config();
Original issue reported on code.google.com by [email protected]
on 12 Jan 2011 at 3:40
[deleted issue]
我对自己的apk进行了测试,发现了下面的问题:
我的源代码是:
protected Dialog onCreateDialog(int id)
{
switch(id)
{
case DIALOG_ABOUT:
return new AlertDialog.Builder(this)
.setTitle("关于")
.setIcon(android.R.drawable.ic_dialog_info)
.setMessage("TinyPlayer\n关于")
.setPositiveButton("确定", null)
.create();
default:return null;
}
编译成APK再反编译后变成了:
protected Dialog onCreateDialog(int paramInt)
{
switch (paramInt)
{
default:
case 1:
}
for (AlertDialog localAlertDialog = null; ; localAlertDialog = new AlertDialog.Builder(this).setTitle("关于").setIcon(17301659).setMessage("TinyPlayer\n关于").setPositiveButton("确定", null).create())
return localAlertDialog;
}
}
Original issue reported on code.google.com by [email protected]
on 28 Feb 2011 at 3:49
What steps will reproduce the problem?
1.使用dex2jar处理附件
2.对得到jar中的"/JigsawView.class"使用 Jad v1.5.8g 和 JD-GUI 0.3.3
都无法获得getRotateAngle函数的正确源代码
3.
What is the expected output? What do you see instead?
Jad处理后函数参数错误getRotateAngle
(d,d2,d3,d4),参考源代码及函数体应为getRotateAngle (d,d1,d2,d3)
JD-GUI处理后函数体内出现"???"变量,应为函数的第二个参数
看起来好像参数被处理丢失
(从网上找到的 getRotateAngle 函数源代码:
http://www.cnblogs.com/lsmdiao0812/archive/2010/05/05/1728122.html
)
What version of the product are you using? On what operating system?
dex2jar-0.0.7.7-SNAPSHOT
Win7 jdk1.6_23
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 19 Dec 2010 at 12:07
Attachments:
[deleted issue]
using dex2jar-0.0.7.8-SNAPSHOT.jar
attached is extracted classes.dex (renamed core.dex) from froyo core.jar
2 [main] INFO pxb.android.dex2jar.v3.Main - dex2jar core.dex ->
core.dex.dex2jar.jar
329 [main] ERROR pxb.android.dex2jar.reader.DexFileReader - Fail on class
java.lang.NullPointerException
at org.objectweb.asm.Type.getType(Type.java:207)
at pxb.android.dex2jar.asm.TypeNameAdapter.x(TypeNameAdapter.java:173)
at pxb.android.dex2jar.asm.TypeNameAdapter.visit(TypeNameAdapter.java:191)
at pxb.android.dex2jar.v3.V3ClassAdapter.build(V3ClassAdapter.java:69)
at pxb.android.dex2jar.v3.V3ClassAdapter.visitMethod(V3ClassAdapter.java:146)
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.java:466)
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:302)
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:177)
at pxb.android.dex2jar.v3.Main.doData(Main.java:78)
at pxb.android.dex2jar.v3.Main.doFile(Main.java:114)
at pxb.android.dex2jar.v3.Main.main(Main.java:64)
Exception in thread "main" java.lang.RuntimeException:
java.lang.NullPointerException
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:181)
at pxb.android.dex2jar.v3.Main.doData(Main.java:78)
at pxb.android.dex2jar.v3.Main.doFile(Main.java:114)
at pxb.android.dex2jar.v3.Main.main(Main.java:64)
Caused by: java.lang.NullPointerException
at org.objectweb.asm.Type.getType(Type.java:207)
at pxb.android.dex2jar.asm.TypeNameAdapter.x(TypeNameAdapter.java:173)
at pxb.android.dex2jar.asm.TypeNameAdapter.visit(TypeNameAdapter.java:191)
at pxb.android.dex2jar.v3.V3ClassAdapter.build(V3ClassAdapter.java:69)
at pxb.android.dex2jar.v3.V3ClassAdapter.visitMethod(V3ClassAdapter.java:146)
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.java:466)
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:302)
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:177)
... 3 more
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 18 Feb 2011 at 7:41
Attachments:
Go below exception when I tries to dex2jar-0.0.7.8-SNAPSHOT/dex2jar.bat on apk
file
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at pxb.android.dex2jar.optimize.c.CFrame.init(CFrame.java:111)
at pxb.android.dex2jar.optimize.c.CFrame.<init>(CFrame.java:98)
at pxb.android.dex2jar.optimize.c.CAnalyzer.newFrame(CAnalyzer.java:33)
at pxb.android.dex2jar.optimize.c.Analyzer.merge(Analyzer.java:393)
at pxb.android.dex2jar.optimize.c.Analyzer.analyze(Analyzer.java:264)
at pxb.android.dex2jar.optimize.C.transform(C.java:45)
at pxb.android.dex2jar.v3.V3MethodAdapter.visitEnd(V3MethodAdapter.java:
170)
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.ja
va:504)
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.ja
va:302)
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:17
7)
at pxb.android.dex2jar.v3.Main.doData(Main.java:78)
at pxb.android.dex2jar.v3.Main.doFile(Main.java:120)
at pxb.android.dex2jar.v3.Main.main(Main.java:64)
Original issue reported on code.google.com by [email protected]
on 5 Feb 2011 at 11:51
[deleted issue]
What steps will reproduce the problem?
1..\dex2jar.bat .\mtv.classes.dex
What is the expected output? What do you see instead?
执行正常就行。
What version of the product are you using? On what operating system?
0.0.7.7
Please provide any additional information below.
要提供原来的文件么?好像很多人都会遇到类似的异常。
Original issue reported on code.google.com by [email protected]
on 9 Dec 2010 at 12:23
D:\编程\反编译apk\dex2jar-0.0.7-SNAPSHOT>dex2jar.bat classes.dex
lib\slf4j-api-1.5.8.jar;lib\logback-core-0.9.18.jar;lib\logback-classic-0.9.18.j
ar;lib\dex2jar-0.0.7-SNAPSHOT.jar;lib\commons-io-1.4.jar;lib\asm-debug-all-3.2.j
ar;
21:00:00.940 ERROR p.a.d.reader.DexFileReader - Fail on class
java.lang.RuntimeException: fail on Lcom/taobao/tao/connector/BindHelper;.syncPa
ser([B)Ljava/lang/Object;
at pxb.android.dex2jar.optimize.C.transform(C.java:43) [dex2jar-0.0.7-SN
APSHOT.jar:na]
at pxb.android.dex2jar.v3.V3MethodAdapter.visitEnd(V3MethodAdapter.java:
146) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.ja
va:484) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.ja
va:304) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:17
5) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.v3.Main.doFile(Main.java:66) [dex2jar-0.0.7-SNAPS
HOT.jar:na]
at pxb.android.dex2jar.v3.Main.main(Main.java:47) [dex2jar-0.0.7-SNAPSHO
T.jar:na]
Caused by: pxb.android.dex2jar.org.objectweb.asm.tree.analysis.AnalyzerException
: Error at instruction 30: Cannot pop operand off an empty stack.
at pxb.android.dex2jar.org.objectweb.asm.tree.analysis.Analyzer.analyze(
Analyzer.java:295) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.optimize.C.transform(C.java:41) [dex2jar-0.0.7-SN
APSHOT.jar:na]
... 6 common frames omitted
Caused by: java.lang.IndexOutOfBoundsException: Cannot pop operand off an empty
stack.
at pxb.android.dex2jar.org.objectweb.asm.tree.analysis.Frame.pop(Frame.j
ava:204) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.org.objectweb.asm.tree.analysis.Frame.execute(Fra
me.java:563) [dex2jar-0.0.7-SNAPSHOT.jar:na]
at pxb.android.dex2jar.org.objectweb.asm.tree.analysis.Analyzer.analyze(
Analyzer.java:193) [dex2jar-0.0.7-SNAPSHOT.jar:na]
... 7 common frames omitted
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeExceptio
n: fail on Lcom/taobao/tao/connector/BindHelper;.syncPaser([B)Ljava/lang/Object;
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:17
9)
at pxb.android.dex2jar.v3.Main.doFile(Main.java:66)
at pxb.android.dex2jar.v3.Main.main(Main.java:47)
Caused by: java.lang.RuntimeException: fail on Lcom/taobao/tao/connector/BindHel
per;.syncPaser([B)Ljava/lang/Object;
at pxb.android.dex2jar.optimize.C.transform(C.java:43)
at pxb.android.dex2jar.v3.V3MethodAdapter.visitEnd(V3MethodAdapter.java:
146)
at pxb.android.dex2jar.reader.DexFileReader.visitMethod(DexFileReader.ja
va:484)
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.ja
va:304)
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:17
5)
... 2 more
Caused by: pxb.android.dex2jar.org.objectweb.asm.tree.analysis.AnalyzerException
: Error at instruction 30: Cannot pop operand off an empty stack.
at pxb.android.dex2jar.org.objectweb.asm.tree.analysis.Analyzer.analyze(
Analyzer.java:295)
at pxb.android.dex2jar.optimize.C.transform(C.java:41)
... 6 more
Caused by: java.lang.IndexOutOfBoundsException: Cannot pop operand off an empty
stack.
at pxb.android.dex2jar.org.objectweb.asm.tree.analysis.Frame.pop(Frame.j
ava:204)
at pxb.android.dex2jar.org.objectweb.asm.tree.analysis.Frame.execute(Fra
me.java:563)
at pxb.android.dex2jar.org.objectweb.asm.tree.analysis.Analyzer.analyze(
Analyzer.java:193)
... 7 more
Original issue reported on code.google.com by [email protected]
on 18 Nov 2010 at 1:18
Attachments:
What steps will reproduce the problem?
1. use dex2jar-0.0.7.3 convertering dex file to jar, and then put jar into
another android project lib path.
Error Info:
[2010-08-24 11:24:44 - Mytoms] Conversion to Dalvik format failed with error 1
[2010-08-24 11:27:17 - sdd]
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dx.cf.code.SimException: expected type java.lang.Object but found
long
[2010-08-24 11:27:17 - sdd] at
com.android.dx.cf.code.BaseMachine.popArgs(BaseMachine.java:156)
[2010-08-24 11:27:17 - sdd] at
com.android.dx.cf.code.Simulator$SimVisitor.visitLocal(Simulator.java:521)
[2010-08-24 11:27:17 - sdd] at
com.android.dx.cf.code.BytecodeArray.parseInstruction(BytecodeArray.java:517)
[2010-08-24 11:27:17 - sdd] at
com.android.dx.cf.code.Simulator.simulate(Simulator.java:96)
[2010-08-24 11:27:17 - sdd] at
com.android.dx.cf.code.Ropper.processBlock(Ropper.java:681)
[2010-08-24 11:27:17 - sdd] at
com.android.dx.cf.code.Ropper.doit(Ropper.java:636)
[2010-08-24 11:27:17 - sdd] at
com.android.dx.cf.code.Ropper.convert(Ropper.java:253)
What version of the product are you using? On what operating system?
the Version dex2jar-0.0.7.3-SNAPSHOT winxp Android1.5 jdk1.6
Original issue reported on code.google.com by [email protected]
on 24 Aug 2010 at 3:42
Attachments:
Is there any resolution to this? Could it be a class path issue?
Original issue reported on code.google.com by [email protected]
on 19 Jul 2010 at 5:48
[deleted issue]
What steps will reproduce the problem?
1. Try to run dex2jar SNAPSHOT 0.0.7.9 on attached classes.dex
What is the expected output? What do you see instead?
Correctly converted jar is expected. Instead I see the following stacktraces:
Caused by: com.googlecode.dex2jar.DexException: while accept
method:[Lcom/psmsapp/android/psms/RegisterResults;.checkError1()Ljava/lang/Strin
g;]
at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod (DexFileReader.java:550)
com.googlecode.dex2jar.reader.DexFileReader.acceptClass (DexFileReader.java:323)
com.googlecode.dex2jar.reader.DexFileReader.accept (DexFileReader.java:205)
com.googlecode.dex2jar.v3.Main.doData (Main.java:105)
...
Caused by: com.googlecode.dex2jar.DexException: while accept code in
method:[Lcom/psmsapp/android/psms/RegisterResults;.checkError1()Ljava/lang/Strin
g;]
at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod (DexFileReader.java:540)
com.googlecode.dex2jar.reader.DexFileReader.acceptClass (DexFileReader.java:323)
com.googlecode.dex2jar.reader.DexFileReader.accept (DexFileReader.java:205)
com.googlecode.dex2jar.v3.Main.doData (Main.java:105)
...
Caused by: com.googlecode.dex2jar.DexException: Not support Opcode
:0x06=MOVE_WIDE_16 @[0x001c] at
com.googlecode.dex2jar.reader.DexCodeReader.accept (DexCodeReader.java:463)
com.googlecode.dex2jar.reader.DexFileReader.acceptMethod (DexFileReader.java:538)
com.googlecode.dex2jar.reader.DexFileReader.acceptClass (DexFileReader.java:323)
com.googlecode.dex2jar.reader.DexFileReader.accept (DexFileReader.java:205)
com.googlecode.dex2jar.v3.Main.doData (Main.java:105)
What version of the product are you using? On what operating system?
Snapshot 0.0.7.9, Windows XP, Java 1.6_24
Thanks for your great work!
Original issue reported on code.google.com by [email protected]
on 30 Mar 2011 at 8:34
Attachments:
Exception in thread "main" java.lang.NoSuchMethodError:
java.lang.String.<init>([BLjava/nio/charset/Charset;)V
at pxb.android.dex2jar.reader.DexFileReader.getString(DexFileReader.java:390)
at pxb.android.dex2jar.reader.DexFileReader.getType(DexFileReader.java:414)
at pxb.android.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:196)
at pxb.android.dex2jar.reader.DexFileReader.accept(DexFileReader.java:177)
at pxb.android.dex2jar.v3.Main.doData(Main.java:62)
at pxb.android.dex2jar.v3.Main.doFile(Main.java:99)
at pxb.android.dex2jar.v3.Main.main(Main.java:50)
Original issue reported on code.google.com by [email protected]
on 1 Dec 2010 at 6:51
Attachments:
What steps will reproduce the problem?
1. Download the ASM bytecode library (http://asm.ow2.org/)
2. Compile the attached test program
3. Run dex2jar on the Camera application from R8 of the Android SDK
4. Extract the resulting jar file into $CAMERA_TMP
5. Run the test program on one of the classes from the Camera application:
java -cp asm-all-3.3.1.jar:.:$ANDROID_JAR:$CAMERA_TMP $CAMERA_TMP/com/android/camera/Util.class
What is the expected output? What do you see instead?
I expect there to be no verification exceptions. Instead, ASM reports several
verification exceptions. In summary:
org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 31: First argument: expected F, but found D
org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 22: Expected I, but found F
org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 2: First argument: expected I, but found Ljava/lang/Object
org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 50: First argument: expected I, but found Landroid/graphics/Bitmap
I experienced similar verification issues on many of the class files extracted
from the Android SDK (R8). The class files all seem to be syntactically
correct, but many are not completely semantically correct.
Fortunately, ASM provides a lot of debugging output when verification fails.
I've attached a log of its output on the com.android.camera.Util class, and
similar logs should be easily created for other class files.
What version of the product are you using? On what operating system?
I'm running the latest Mercurial checkout of dex2jar as of March 10, 2011. The
most recent changeset in 'hg log' is 109:419340041bfe. I'm using Mac OS X
10.6.6, with JVM version 1.6.0_22.
Please provide any additional information below.
It may make sense to include bytecode verification tests, along with parsing
tests, in the dex2jar test suite.
Original issue reported on code.google.com by [email protected]
on 10 Mar 2011 at 7:22
Attachments:
switch statement looks like :
switch (paramMenuItem.getItemId())
{
default:
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
}
while (true)
{
while (true)
{
while (true)
{
while (true)
{
while (true)
{
while (true)
{
Original issue reported on code.google.com by [email protected]
on 2 Apr 2010 at 12:34
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.