com.alibaba.bytekit.asm.interceptor.AtInvokeTest2执行失败
- Dominant language
- Java
- Stars
- 525
- Forks
- 115
- PR merge metrics
- No merged PRs in 30d
Description
java.lang.IllegalArgumentException: Error at instruction 28: Expected an object reference, but found . test()V
00000 R . . . : : L0
00001 R . . . : : LINENUMBER 22 L0
00002 R . . . : : NEW com/alibaba/bytekit/asm/interceptor/AtInvokeTest2$Sample
00003 R . . . : R : DUP
00004 R . . . : R R : INVOKESPECIAL com/alibaba/bytekit/asm/interceptor/AtInvokeTest2$Sample. ()V
00005 R . . . : R : ASTORE 1
00006 R R . . : : L1
00007 R R . . : : LINENUMBER 24 L1
00008 R R . . : : ICONST_0
00009 R R . . : I : ISTORE 2
00010 R R I . : : L2
00011 R R I . : : FRAME APPEND [com/alibaba/bytekit/asm/interceptor/AtInvokeTest2$Sample I]
00012 R R I . : : ILOAD 2
00013 R R I . : I : BIPUSH 10
00014 R R I . : I I : IF_ICMPGE L3
00015 R R I . : : L4
00016 R R I . : : LINENUMBER 25 L4
00017 R R I . : : GETSTATIC java/util/concurrent/TimeUnit.SECONDS : Ljava/util/concurrent/TimeUnit;
00018 R R I . : R : LCONST_1
00019 R R I . : R J : INVOKEVIRTUAL java/util/concurrent/TimeUnit.sleep (J)V
00020 R R I . : : L5
00021 R R I . : : LINENUMBER 27 L5
00022 R R I . : : ALOAD 1
00023 R R I . : R : LDC "hello"
00024 R R I . : R R : ILOAD 2
00025 R R I . : R R I : ALOAD 0
00026 R R I . : R R I R : LDC Lcom/alibaba/bytekit/asm/interceptor/AtInvokeTest2$Sample;.class
00027 R R I . : R R I R R : BIPUSH 27
00028 R R I . : R R I R R I : ALOAD 3
00029 ? : INVOKESTATIC com/alibaba/bytekit/asm/interceptor/AtInvokeTest2$TestAccessInterceptor.onInvoke (Ljava/lang/Object;Ljava/lang/Object;I[Ljava/lang/Object;)V
00030 ? : INVOKEVIRTUAL com/alibaba/bytekit/asm/interceptor/AtInvokeTest2$Sample.hello (Ljava/lang/String;I)Ljava/lang/String;
00031 ? : POP
00032 ? : L6
00033 ? : LINENUMBER 24 L6
00034 ? : IINC 2 1
00035 ? : GOTO L2
00036 R R I . : : L3
00037 R R I . : : LINENUMBER 29 L3
00038 R R I . : : FRAME SAME
00039 R R I . : : RETURN
00040 ? : L7
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the AtInvokeTest2 test and the TestAccessInterceptor.onInvoke entry point referenced in the trace. Reproduce the failure and inspect the bytecode around instruction 28, where the verifier reports that an object reference is missing. Done means AtInvokeTest2 executes without the IllegalArgumentException and the relevant test passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- compilers, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100