Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-22428

[QE](7.4.z) MODULES-406 - ModuleLoader fails when iterating over an absent module

XMLWordPrintable

    • False
    • False
    • +
    • Hide

      The issue can be reproduced with the HostExcludesTestCase from the server integration TS.
      Make sure JBOSS_DIST is pointing to a patched 7.4.1 distribution and run:

      mvn clean install -Dts.domain -DfailIfNoTests=false -Djboss.dist=$JBOSS_DIST -Dtest=HostExcludesTestCase
      Show
      The issue can be reproduced with the HostExcludesTestCase from the server integration TS. Make sure JBOSS_DIST is pointing to a patched 7.4.1 distribution and run: mvn clean install -Dts.domain -DfailIfNoTests= false -Djboss.dist=$JBOSS_DIST -Dtest=HostExcludesTestCase

      We started seeing failures of HostExcludesTestCase when running against the patched 7.4.1.GA-CR1 distribution.

      java.lang.IllegalArgumentException: Module specification is null
      	at org.jboss.modules.ModuleIdentifier.fromString(ModuleIdentifier.java:176)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleAbsentContents(ModuleXmlParser.java:606)
      	at org.jboss.modules.xml.ModuleXmlParser.parseDocument(ModuleXmlParser.java:479)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:335)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:293)
      	at org.jboss.modules.LocalModuleFinder.hasNext(LocalModuleFinder.java:299)
      	at org.jboss.modules.ModuleLoader.hasNext(ModuleLoader.java:352)
      	at org.jboss.as.test.integration.domain.HostExcludesTestCase.retrieveAvailableExtensions(HostExcludesTestCase.java:415)
      	at org.jboss.as.test.integration.domain.HostExcludesTestCase.testHostExcludes(HostExcludesTestCase.java:335)
      

      The issue is not a regression, but appeared only now because of the removal of okhttp in JBEAP-21575 introducing an absent module when using a patched server.

              rhn-support-rmartinc Ricardo Martin Camarero
              pmackay@redhat.com Peter Mackay
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: