[ 
https://issues.apache.org/jira/browse/WW-4970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brice Roncace updated WW-4970:
------------------------------
    Description: 
This issue was fixed in Struts 2.5.14 but the fix never made it to the Struts 
2.3 branch.
{code:java}
java.nio.file.InvalidPathException: Illegal char <:> at index 3: 
jar:file:\C:\development\projects\AcademyIntegration\AcademyIntegration\target\AcademyIntegration-0.1\WEB-INF\lib\struts2-core-2.3.36.jar
    java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
    java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
    java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
    java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
    java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
    java.base/java.io.File.toPath(File.java:2290)
    java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1222)
    java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:726)
    java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:843)
    java.base/java.util.zip.ZipFile.<init>(ZipFile.java:246)
    java.base/java.util.zip.ZipFile.<init>(ZipFile.java:176)
    java.base/java.util.jar.JarFile.<init>(JarFile.java:346)
    java.base/java.util.jar.JarFile.<init>(JarFile.java:317)
    java.base/java.util.jar.JarFile.<init>(JarFile.java:256)
    
com.opensymphony.xwork2.util.fs.JarEntryRevision.needsReloading(JarEntryRevision.java:76)
    
com.opensymphony.xwork2.util.fs.DefaultFileManager.fileNeedsReloading(DefaultFileManager.java:66)
    
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.needsReload(XmlConfigurationProvider.java:397)
    
org.apache.struts2.config.StrutsXmlConfigurationProvider.needsReload(StrutsXmlConfigurationProvider.java:169)
    
com.opensymphony.xwork2.config.ConfigurationManager.needReloadContainerProviders(ConfigurationManager.java:215)
    
com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManager.java:179)
    
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:73)
    org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:978)
    
org.apache.struts2.dispatcher.ng.PrepareOperations.createActionContext(PrepareOperations.java:81)
    
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:89)
    
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
    
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
    
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:186)
    
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
    
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
    
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
    
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:180)
    
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106){code}

  was:
This issue was fixed in the Struts 2.5.14 but fix never made it to the Struts 
2.3 branch. 
{code:java}
java.nio.file.InvalidPathException: Illegal char <:> at index 3: 
jar:file:\C:\development\projects\AcademyIntegration\AcademyIntegration\target\AcademyIntegration-0.1\WEB-INF\lib\struts2-core-2.3.36.jar
    java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
    java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
    java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
    java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
    java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
    java.base/java.io.File.toPath(File.java:2290)
    java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1222)
    java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:726)
    java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:843)
    java.base/java.util.zip.ZipFile.<init>(ZipFile.java:246)
    java.base/java.util.zip.ZipFile.<init>(ZipFile.java:176)
    java.base/java.util.jar.JarFile.<init>(JarFile.java:346)
    java.base/java.util.jar.JarFile.<init>(JarFile.java:317)
    java.base/java.util.jar.JarFile.<init>(JarFile.java:256)
    
com.opensymphony.xwork2.util.fs.JarEntryRevision.needsReloading(JarEntryRevision.java:76)
    
com.opensymphony.xwork2.util.fs.DefaultFileManager.fileNeedsReloading(DefaultFileManager.java:66)
    
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.needsReload(XmlConfigurationProvider.java:397)
    
org.apache.struts2.config.StrutsXmlConfigurationProvider.needsReload(StrutsXmlConfigurationProvider.java:169)
    
com.opensymphony.xwork2.config.ConfigurationManager.needReloadContainerProviders(ConfigurationManager.java:215)
    
com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManager.java:179)
    
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:73)
    org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:978)
    
org.apache.struts2.dispatcher.ng.PrepareOperations.createActionContext(PrepareOperations.java:81)
    
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:89)
    
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
    
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
    
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:186)
    
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
    
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
    
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
    
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:180)
    
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106){code}


> Struts 2.3.36 - InvalidPathException: Illegal char <:> on JDK 9,10,11 on 
> windows
> --------------------------------------------------------------------------------
>
>                 Key: WW-4970
>                 URL: https://issues.apache.org/jira/browse/WW-4970
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch Filter
>    Affects Versions: 2.3.36
>            Reporter: Brice Roncace
>            Priority: Major
>              Labels: Java10, Java11, java9
>
> This issue was fixed in Struts 2.5.14 but the fix never made it to the Struts 
> 2.3 branch.
> {code:java}
> java.nio.file.InvalidPathException: Illegal char <:> at index 3: 
> jar:file:\C:\development\projects\AcademyIntegration\AcademyIntegration\target\AcademyIntegration-0.1\WEB-INF\lib\struts2-core-2.3.36.jar
>     
> java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
>     java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
>     java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
>     java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
>     java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
>     java.base/java.io.File.toPath(File.java:2290)
>     java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1222)
>     java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:726)
>     java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:843)
>     java.base/java.util.zip.ZipFile.<init>(ZipFile.java:246)
>     java.base/java.util.zip.ZipFile.<init>(ZipFile.java:176)
>     java.base/java.util.jar.JarFile.<init>(JarFile.java:346)
>     java.base/java.util.jar.JarFile.<init>(JarFile.java:317)
>     java.base/java.util.jar.JarFile.<init>(JarFile.java:256)
>     
> com.opensymphony.xwork2.util.fs.JarEntryRevision.needsReloading(JarEntryRevision.java:76)
>     
> com.opensymphony.xwork2.util.fs.DefaultFileManager.fileNeedsReloading(DefaultFileManager.java:66)
>     
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.needsReload(XmlConfigurationProvider.java:397)
>     
> org.apache.struts2.config.StrutsXmlConfigurationProvider.needsReload(StrutsXmlConfigurationProvider.java:169)
>     
> com.opensymphony.xwork2.config.ConfigurationManager.needReloadContainerProviders(ConfigurationManager.java:215)
>     
> com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManager.java:179)
>     
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:73)
>     org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:978)
>     
> org.apache.struts2.dispatcher.ng.PrepareOperations.createActionContext(PrepareOperations.java:81)
>     
> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:89)
>     
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
>     
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
>     
> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:186)
>     
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
>     
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
>     
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
>     
> org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:180)
>     
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to