Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-89886

Cannot index module-info.class when starting up JBoss and Wildfly

    Details

      Description

      Steps to reproduce issue:

      1. Start JBoss bundle.

      Expected result: No warnings or errors are thrown during startup
      Actual result: Warnings are thrown when starting Wildfly bundle

      [exec] [0m[33m01:04:02,079 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0003: Could not index class module-info.class at /opt/dev/projects/github/liferay-portal-7.1.x-private/bundles/jboss-eap-7.1.0/standalone/deployments/ROOT.war/WEB-INF/lib/asm-commons.jar: java.lang.IllegalStateException: Unknown tag! pos=3 poolCount = 16
           [exec] 	at org.jboss.jandex.Indexer.processConstantPool(Indexer.java:1417)
           [exec] 	at org.jboss.jandex.Indexer.index(Indexer.java:1451)
           [exec] 	at org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:99)
           [exec] 	at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
           [exec] 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec] 	at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec] [0m[33m01:04:03,184 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0003: Could not index class module-info.class at /opt/dev/projects/github/liferay-portal-7.1.x-private/bundles/jboss-eap-7.1.0/standalone/deployments/ROOT.war/WEB-INF/lib/asm-util.jar: java.lang.IllegalStateException: Unknown tag! pos=3 poolCount = 16
           [exec] 	at org.jboss.jandex.Indexer.processConstantPool(Indexer.java:1417)
           [exec] 	at org.jboss.jandex.Indexer.index(Indexer.java:1451)
           [exec] 	at org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:99)
           [exec] 	at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
           [exec] 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec] 	at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec] [0m[33m01:04:03,637 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0003: Could not index class module-info.class at /opt/dev/projects/github/liferay-portal-7.1.x-private/bundles/jboss-eap-7.1.0/standalone/deployments/ROOT.war/WEB-INF/lib/asm-tree.jar: java.lang.IllegalStateException: Unknown tag! pos=3 poolCount = 12
           [exec] 	at org.jboss.jandex.Indexer.processConstantPool(Indexer.java:1417)
           [exec] 	at org.jboss.jandex.Indexer.index(Indexer.java:1451)
           [exec] 	at org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:99)
           [exec] 	at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
           [exec] 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec] 	at java.lang.Thread.run(Thread.java:745)
           [exec] 
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  20 weeks, 1 day ago

                  Packages

                  Version Package
                  7.1.10 DXP FP8
                  7.1.10.2 SP2
                  7.1.3 CE GA4
                  7.1.X