[forge-issues] [JBoss JIRA] (FORGE-2674) Forge seems to be proxying java.nio.Path instances

Jess Sightler (JIRA) issues at jboss.org
Tue Aug 23 17:22:00 EDT 2016


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

Jess Sightler moved WINDUP-1131 to FORGE-2674:
----------------------------------------------

    Project: Forge  (was: WindUp)
        Key: FORGE-2674  (was: WINDUP-1131)


> Forge seems to be proxying java.nio.Path instances
> --------------------------------------------------
>
>                 Key: FORGE-2674
>                 URL: https://issues.jboss.org/browse/FORGE-2674
>             Project: Forge
>          Issue Type: Bug
>            Reporter: Jess Sightler
>
> 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