[jboss-jira] [JBoss JIRA] (WFLY-1516) Cannot iterate over module resources on WinOS

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Jun 13 06:11:54 EDT 2013


     [ https://issues.jboss.org/browse/WFLY-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler reassigned WFLY-1516:
------------------------------------

    Assignee: David Lloyd  (was: Jason Greene)

    
> Cannot iterate over module resources on WinOS
> ---------------------------------------------
>
>                 Key: WFLY-1516
>                 URL: https://issues.jboss.org/browse/WFLY-1516
>             Project: WildFly
>          Issue Type: Bug
>          Components: Server
>            Reporter: Thomas Diesler
>            Assignee: David Lloyd
>            Priority: Critical
>             Fix For: 8.0.0.Alpha2
>
>
> {code}
>     Caused by: java.lang.IllegalArgumentException: Cannot compare relative and absolute paths
>         at org.jboss.modules.PathUtils.isChild(PathUtils.java:226)
>         at org.jboss.modules.JarFileResourceLoader$1.hasNext(JarFileResourceLoader.java:243)
>         at org.jboss.modules.ModuleClassLoader$2.hasNext(ModuleClassLoader.java:657)
>         at org.jboss.osgi.resolver.spi.AbstractResourceBuilder.loadFrom(AbstractResourceBuilder.java:347)
> {code}
> The code in AbstractResourceBuilder is
> {code}
>    Iterator<Resource> it = module.getClassLoader().iterateResources("", true);
>    while (it.hasNext())
> {code}
> Seems to be happening on WinOS only

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list