[forge-issues] [JBoss JIRA] (FURNACE-120) Furnace seems to be proxying java.nio.Path instances

George Gastaldi (JIRA) issues at jboss.org
Tue Aug 23 18:36:00 EDT 2016


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

George Gastaldi updated FURNACE-120:
------------------------------------
    Affects Version/s: 2.23.7.Final


> Furnace seems to be proxying java.nio.Path instances
> ----------------------------------------------------
>
>                 Key: FURNACE-120
>                 URL: https://issues.jboss.org/browse/FURNACE-120
>             Project: Forge: Furnace
>          Issue Type: Bug
>    Affects Versions: 2.23.7.Final
>            Reporter: Jess Sightler
>            Assignee: George Gastaldi
>             Fix For: 2.23.8.Final
>
>
> Class name: org.javassist.tmp.java.nio.file.Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83
> ClassLoader: ModuleClassLoader for Module "org.jboss.windup.exec.windup-exec:3.0.0-SNAPSHOT_45979342-4d41-4637-84bf-5f11f9de6cb8" from AddonModuleLoader
> Calling Files.isDirectory with this proxy object results in the following exception:
> Windup Execution failed due to: org.javassist.tmp.java.io.Closeable_$$_javassist_43fd2113-1fd1-4d0d-a9f6-7bf2667e61ab cannot be cast to java.nio.file.FileSystem
> java.lang.ClassCastException: org.javassist.tmp.java.io.Closeable_$$_javassist_43fd2113-1fd1-4d0d-a9f6-7bf2667e61ab cannot be cast to java.nio.file.FileSystem
> 	at org.javassist.tmp.java.nio.file.Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83.getFileSystem(Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83.java)
> 	at java.nio.file.Files.provider(Files.java:97)
> 	at java.nio.file.Files.readAttributes(Files.java:1737)
> 	at java.nio.file.Files.isDirectory(Files.java:2192)
> 	at org.jboss.windup.ext.groovy.GroovyWindupRuleProviderLoader.getScripts(GroovyWindupRuleProviderLoader.java:184)



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list