-
Component Upgrade
-
Resolution: Unresolved
-
Major
-
None
-
None
-
False
-
None
-
False
Good afternoon , before anything sorry for my english it's very basic.
I tried to upgrade a web service from jboss 7.4 to jboss 8.0 but when I try to run I got the next error:
12:41:54,709 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."ProjectName_war_exploded.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ProjectName_war_exploded.war".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment "ProjectName_war_exploded.war"
at org.jboss.as.server@21.0.5.Final-redhat-00001//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:189)
at org.jboss.msc@1.5.1.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1617)
at org.jboss.msc@1.5.1.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1580)
at org.jboss.msc@1.5.1.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1438)
at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0156: Failed to index deployment root for annotations
at org.jboss.as.server@21.0.5.Final-redhat-00001//org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:110)
at org.jboss.as.server@21.0.5.Final-redhat-00001//org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
at org.jboss.as.server@21.0.5.Final-redhat-00001//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
... 8 more
Caused by: java.lang.NullPointerException: Cannot invoke "org.jboss.jandex.FieldInternal.type()" because "field" is null
at io.smallrye.jandex@3.0.6.redhat-00001//org.jboss.jandex.Indexer.propagateTypeVariables(Indexer.java:2742)
at io.smallrye.jandex@3.0.6.redhat-00001//org.jboss.jandex.Indexer.complete(Indexer.java:2403)
at org.jboss.as.server@21.0.5.Final-redhat-00001//org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:106)
... 10 more
12:41:54,712 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "ProjectName_war_exploded")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"ProjectName_war_exploded.war\".STRUCTURE" => "WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"ProjectName_war_exploded.war\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0156: Failed to index deployment root for annotations
Caused by: java.lang.NullPointerException: Cannot invoke \"org.jboss.jandex.FieldInternal.type()\" because \"field\" is null"}}
12:41:54,713 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "ProjectName_war_exploded")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"ProjectName_war_exploded.war\".STRUCTURE" => "WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"ProjectName_war_exploded.war\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0156: Failed to index deployment root for annotations
Caused by: java.lang.NullPointerException: Cannot invoke \"org.jboss.jandex.FieldInternal.type()\" because \"field\" is null"}}
12:41:54,714 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "ProjectName_war_exploded.war" was rolled back with the following failure message:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"ProjectName_war_exploded.war\".STRUCTURE" => "WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"ProjectName_war_exploded.war\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0156: Failed to index deployment root for annotations
Caused by: java.lang.NullPointerException: Cannot invoke \"org.jboss.jandex.FieldInternal.type()\" because \"field\" is null"}}
12:41:54,718 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment ProjectName_war_exploded (runtime-name: ProjectName_war_exploded.war) in 3ms
[2024-04-12 12:41:54,806] Artifact ProjectName:war exploded: Error during artifact deployment. See server log for details.
[2024-04-12 12:41:54,806] Artifact ProjectName:war exploded: java.lang.Exception: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"ProjectName_war_exploded.war\".STRUCTURE" => "WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"ProjectName_war_exploded.war\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0156: Failed to index deployment root for annotations
Caused by: java.lang.NullPointerException: Cannot invoke \"org.jboss.jandex.FieldInternal.type()\" because \"field\" is null"}}