Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-423

IllegalStateException when using deptree

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.3.Final
    • 1.12.0.Final, 2.0.2.Final
    • None
    • None

      java -jar jboss-modules.jar -mp modules -deptree org.jboss.as.standalone
      

      running this from $JBOSS_HOME with both the latest WildFly and EAP will throw an exception midway through generating the tree:

      Exception in thread "main" java.lang.IllegalStateException: Failed to create URL
      	at org.jboss.modules.ServiceResourceLoader.createResource(ServiceResourceLoader.java:78)
      	at org.jboss.modules.ResourceLoaders.createServiceResourceLoader(ResourceLoaders.java:217)
      	at org.jboss.modules.ModuleSpec$1.create(ModuleSpec.java:176)
      	at org.jboss.modules.xml.ModuleXmlParser.parseDocument(ModuleXmlParser.java:471)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:335)
      ...
      Caused by: java.net.MalformedURLException: unknown protocol: data
      	at java.base/java.net.URL.<init>(URL.java:652)
      	at java.base/java.net.URL.<init>(URL.java:541)
      	at java.base/java.net.URL.<init>(URL.java:488)
      	at org.jboss.modules.ServiceResourceLoader.createResource(ServiceResourceLoader.java:76)
      	... 77 more
      

              mpetrov@redhat.com Michal Petrov
              mpetrov@redhat.com Michal Petrov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: