[
https://issues.apache.org/jira/browse/ISIS-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333239#comment-14333239
]
Jeroen van der Wal commented on ISIS-1050:
------------------------------------------
I'm not sure if the Jetty console has ever been free from these stacktraces, I
only use it when testing a release. Anyway, the harmless nature doesn't justify
cutting a release just for this.
> 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
> Assignee: Dan Haywood
> Priority: Minor
>
> 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
(v6.3.4#6332)