-
Bug
-
Resolution: Done
-
Major
-
25.0.0.Final
-
None
Getting the below exception when a webservice is invoked from a web application deployed in Wildfly 25. Works well in wildfly 24 and prior versions.
Caused by: java.lang.IllegalStateException: WFLYWELD0056: Weld is not initialized yet at org.jboss.as.weld.WeldProvider.getCDI(WeldProvider.java:67) at javax.enterprise.inject.spi.CDI.lambda$getCDIProvider$0(CDI.java:87) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) at java.util.TreeMap$KeySpliterator.tryAdvance(TreeMap.java:2770) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:499) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:486) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:531) at javax.enterprise.inject.spi.CDI.getCDIProvider(CDI.java:88) at javax.enterprise.inject.spi.CDI.current(CDI.java:64) at org.wildfly.extension.opentelemetry.api.OpenTelemetryClientRequestFilter.filter(OpenTelemetryClientRequestFilter.java:34) at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.filterRequest(ClientInvocation.java:767) ... 131 more