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 2015/02/23 12:29:11 UTC
[jira] [Commented] (ISIS-1050) Reflection VFS related issues in
jetty-console
[ https://issues.apache.org/jira/browse/ISIS-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333227#comment-14333227 ]
Dan Haywood commented on ISIS-1050:
-----------------------------------
My suspicion is the latter.
It's a bit annoying, cos we have, for a while there at least, got rid of these stacktraces. Perhaps a 1.8.1 release might be in order...
> 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)