-
Bug
-
Resolution: Done
-
Major
-
1.11.0.Final
-
None
When calling the method iterateModules and there is a module defined with a module-absent the following exception is thrown:
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$3.hasNext(LocalModuleFinder.java:299) at org.jboss.modules.ModuleLoader$2.hasNext(ModuleLoader.java:348) at org.jboss.modules.LocalModuleLoaderTest.testIterateModules(LocalModuleLoaderTest.java:82) ...
This was detected in JBEAP-22428 because 7.4.1 adds a module absent for okhttp3.
- causes
-
JBEAP-22428 [QE](7.4.z) MODULES-406 - ModuleLoader fails when iterating over an absent module
- Closed