We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
JDK版本: jdk21 hutool版本: 6.0.0-M12
java.lang.NullPointerException: Cannot read the array length because "<local3>" is null at org.dromara.hutool.core.annotation.elements.CombinationAnnotatedElement.parseDeclared(CombinationAnnotatedElement.java:149) at org.dromara.hutool.core.annotation.elements.CombinationAnnotatedElement.parseDeclared(CombinationAnnotatedElement.java:158) at org.dromara.hutool.core.annotation.elements.CombinationAnnotatedElement.init(CombinationAnnotatedElement.java:130) at org.dromara.hutool.core.annotation.elements.CombinationAnnotatedElement.<init>(CombinationAnnotatedElement.java:95) at org.dromara.hutool.core.annotation.elements.CombinationAnnotatedElement.<init>(CombinationAnnotatedElement.java:83) at org.dromara.hutool.core.annotation.AnnotationUtil.toCombination(AnnotationUtil.java:76) at org.dromara.hutool.core.annotation.AnnotationUtil.getAnnotation(AnnotationUtil.java:162) at org.dromara.hutool.core.annotation.AnnotationUtil.hasAnnotation(AnnotationUtil.java:174)
堆栈信息
测试涉及到的文件(注意脱密) org.dromara.hutool.core.annotation.elements.CombinationAnnotatedElement#parseDeclared
The text was updated successfully, but these errors were encountered:
这个问题似乎是递归解析注解的时候有一个注解数组为空导致的,可否有更具体的复现代码?
Sorry, something went wrong.
@Createsequence
是不是这个为null导致的?加个空判定?
@Createsequence 我加了空判断返回。
@SkyLight1234 6.0.0-M13修复此问题~~
好的
还没提交maven么
@SkyLight1234 定期提交的,不是每改一个bug就提交。
你可以把v6-devpull下来本地install
v6-dev
No branches or pull requests
版本情况
JDK版本: jdk21
hutool版本: 6.0.0-M12
问题描述(包括截图)
堆栈信息
测试涉及到的文件(注意脱密)
org.dromara.hutool.core.annotation.elements.CombinationAnnotatedElement#parseDeclared
The text was updated successfully, but these errors were encountered: