-
Bug
-
Resolution: Done
-
Major
-
36.0.1.Final
-
None
When use in code:
@DeliveryActive
We have exception during deploy:
2025-06-20 14:56:34,442 ERROR [org.jboss.msc.service.fail:1625] (MSC service thread 1-4) [] MSC000001: Failed to start service jboss.deployment.subunit."...-SNAPSHOT.ear"."...-1.0.0-SNAPSHOT.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."...-1.0.0-SNAPSHOT.ear"."...-1.0.0-SNAPSHOT.jar".PARSE: WFLYSRV0153: Failed to process phase PARSE of subdeployment "...-SNAPSHOT.jar" of deployment "...-1.0.0-SNAPSHOT.ear" at org.jboss.as.server@28.0.1.Final//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:172) at org.jboss.msc@1.5.5.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1617) at org.jboss.msc@1.5.5.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1580) at org.jboss.msc@1.5.5.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1438) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:1583) Caused by: java.lang.NullPointerException: Cannot invoke "org.jboss.jandex.AnnotationValue.asBoolean()" because the return value of "org.jboss.jandex.AnnotationInstance.value()" is null at org.jboss.as.ejb3@36.0.1.Final//org.jboss.as.ejb3.deployment.processors.annotation.DeliveryActiveAnnotationInformationFactory.fromAnnotation(DeliveryActiveAnnotationInformationFactory.java:25) at org.jboss.as.ejb3@36.0.1.Final//org.jboss.as.ejb3.deployment.processors.annotation.DeliveryActiveAnnotationInformationFactory.fromAnnotation(DeliveryActiveAnnotationInformationFactory.java:17) at org.jboss.as.ee@36.0.1.Final//org.jboss.as.ee.metadata.ClassAnnotationInformationFactory.createAnnotationInformation(ClassAnnotationInformationFactory.java:110) at org.jboss.as.ee@36.0.1.Final//org.jboss.as.ee.metadata.AbstractEEAnnotationProcessor.deploy(AbstractEEAnnotationProcessor.java:40) at org.jboss.as.server@28.0.1.Final//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165) ... 8 more
with code:
@DeliveryActive(true)
deployment is ok