You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: java.lang.NullPointerException: Value not set for java.lang.Class<? extends akka.actor.Actor> value()
at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:92)
at io.quarkus.arc.processor.BeanGenerator.initConstructor(BeanGenerator.java:624)
at io.quarkus.arc.processor.BeanGenerator.createConstructor(BeanGenerator.java:513)
at io.quarkus.arc.processor.BeanGenerator.generateProducerMethodBean(BeanGenerator.java:371)
at io.quarkus.arc.processor.BeanGenerator.generate(BeanGenerator.java:124)
at io.quarkus.arc.processor.BeanProcessor.process(BeanProcessor.java:186)
at io.quarkus.arc.deployment.ArcAnnotationProcessor.build(ArcAnnotationProcessor.java:259)
The source code (at revision with jandex failure):
After you suggested to override jandex dependency in corresponding maven plugin to 2.1.1.Final all tests are again passing, which proves that jandex-maven-plugin uses outdated dependency.
The workarounds so far:
Use empty META-INF/beans.xml instead of jandex-maven-plugin, or
Force newer (2.1.1.Final) jandex dependency in jandex-maven-plugin:
Unfortunately, I see no other way to obtain the default value from the jandex index and so the only thing we could do is to improve the exception message so that a user knows how to fix it.
mkouba
added a commit
to mkouba/quarkus
that referenced
this issue
Apr 3, 2019
Hello @mkouba ,
This is in regards to the issue we discussed today on Zulip.
After using
jandex-maven-plugin
to generateMETA-INF/jandex.idx
I'm getting errors from all my tests.Maven plugin I used:
And the stack trace I'm getting is:
The source code (at revision with jandex failure):
https://github.com/sarxos/abberwoult/tree/00dd5d0a182f8ea85657044a4e4a228a7d828756
The problematic annotation is this buddy here:
After you suggested to override jandex dependency in corresponding maven plugin to 2.1.1.Final all tests are again passing, which proves that
jandex-maven-plugin
uses outdated dependency.The workarounds so far:
META-INF/beans.xml
instead ofjandex-maven-plugin
, orjandex-maven-plugin
:The text was updated successfully, but these errors were encountered: