You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2019/01/09 13:22:00 UTC

[jira] [Closed] (ISIS-1050) [WON'T FIX] Reflection VFS related issues in jetty-console

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

Dan Haywood closed ISIS-1050.
-----------------------------
    Resolution: Fixed

> [WON'T FIX] Reflection VFS related issues in jetty-console
> ----------------------------------------------------------
>
>                 Key: ISIS-1050
>                 URL: https://issues.apache.org/jira/browse/ISIS-1050
>             Project: Isis
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: core-1.8.0
>            Reporter: Martin Grigorov
>            Priority: Minor
>             Fix For: 2.0.0-M2
>
>
> Just tried java -jar .../simpleapp-...-jetty-console.jar and it logs several VFS related stacktraces:
> java.io.FileNotFoundException: /tmp/simpleapp-webapp-1.8.0-SNAPSHOT-jetty-console.jar_8080/webapp/WEB-INF/classes (Is a directory)
> 	at java.util.zip.ZipFile.open(Native Method)
> 	at java.util.zip.ZipFile.<init>(ZipFile.java:215)
> 	at java.util.zip.ZipFile.<init>(ZipFile.java:145)
> 	at java.util.jar.JarFile.<init>(JarFile.java:154)
> 	at java.util.jar.JarFile.<init>(JarFile.java:118)
> 	at org.reflections.vfs.Vfs$DefaultUrlTypes$1.createDir(Vfs.java:207)
> 	at org.reflections.vfs.Vfs.fromURL(Vfs.java:98)
> 	at org.reflections.vfs.Vfs.fromURL(Vfs.java:90)
> 	at org.reflections.Reflections.scan(Reflections.java:236)
> 	at org.reflections.Reflections.scan(Reflections.java:203)
> 	at org.reflections.Reflections.<init>(Reflections.java:128)
> 	at org.reflections.Reflections.<init>(Reflections.java:169)
> 	at org.apache.isis.applib.services.classdiscovery.ClassDiscoveryServiceUsingReflections.findSubTypesOfClasses(ClassDiscoveryServiceUsingReflections.java:76)
> 	at org.apache.isis.applib.fixturescripts.FixtureScripts.findSubTypesOfClasses(FixtureScripts.java:226)
> ....
> and
> ava.lang.NoClassDefFoundError: org/apache/commons/vfs2/VFS
> 	at org.reflections.vfs.Vfs$DefaultUrlTypes$7.matches(Vfs.java:281)
> 	at org.reflections.vfs.Vfs.fromURL(Vfs.java:97)
> 	at org.reflections.vfs.Vfs.fromURL(Vfs.java:90)
> 	at org.reflections.Reflections.scan(Reflections.java:236)
> 	at org.reflections.Reflections.scan(Reflections.java:203)
> 	at org.reflections.Reflections.<init>(Reflections.java:128)
> 	at org.reflections.Reflections.<init>(Reflections.java:169)
> 	at org.reflections.Reflections.<init>(Reflections.java:142)
> 	at org.apache.isis.objectstore.jdo.service.RegisterEntities.registerAllPersistenceCapables(RegisterEntities.java:67)
> It seems they are harmless. The application seems to run fine.
> The problem could be related to the recent upgrade of Reflections to 0.9.9 and/or jetty-console-maven-plugin to 1.56.



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