AopInvocationHandler invode空指针异常
- Dominant language
- Java
- Stars
- 3.9k
- Forks
- 525
- PR merge metrics
- No merged PRs in 30d
Description
我使用的版本是2.10.6,springboot版本2.7.11,执行到AopInvocationHandler.invoke方法时,入参args为null,导致触发空指针异常
java.lang.ClassCastException: java.lang.NullPointerException cannot be cast to java.lang.reflect.InvocationTargetException
at com.yomahub.liteflow.core.proxy.ComponentProxy$AopInvocationHandler.invoke(ComponentProxy.java:238) ~[liteflow-core-2.10.6.jar:2.10.6]
at com.flow.component.cmp1.ByteBuddy$j$HFDQWR.isAccess(Unknown Source) ~[na:na]
at com.yomahub.liteflow.flow.element.Node.execute(Node.java:135) ~[liteflow-core-2.10.6.jar:2.10.6]
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the failure with LiteFlow 2.10.6 and Spring Boot 2.7.11, then inspect ComponentProxy.java at AopInvocationHandler.invoke (around line 238) and the Node.execute call path. Determine why a null args value reaches the handler; done means the reported invocation no longer throws the null-pointer-related exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100