Nudity / reflections

Automatically exported from code.google.com/p/reflections
Do What The F*ck You Want To Public License
0 stars 0 forks source link

Reflections constructor fails when jnilib is encountered #165

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Here is an example stack trace.  I can reproduce it on my own source base -- 
but am trying to make a smaller code snippet to reproduce.  Looks pretty 
straightforward though...

Caused by: java.lang.RuntimeException: 
org.apache.commons.vfs2.FileNotFolderException: Could not list the contents of 
"file:///System/Library/Java/Extensions/libJ3DAudio.jnilib" because it is not a 
folder.
    at org.reflections.vfs.CommonsVfs2UrlType$Dir$FileAbstractIterator.listFiles(CommonsVfs2UrlType.java:85)
    at org.reflections.vfs.CommonsVfs2UrlType$Dir$FileAbstractIterator.listDir(CommonsVfs2UrlType.java:73)
    at org.reflections.vfs.CommonsVfs2UrlType$Dir$FileAbstractIterator.<init>(CommonsVfs2UrlType.java:53)
    at org.reflections.vfs.CommonsVfs2UrlType$Dir$FileAbstractIterator.<init>(CommonsVfs2UrlType.java:49)
    at org.reflections.vfs.CommonsVfs2UrlType$Dir$1.iterator(CommonsVfs2UrlType.java:36)
    at org.reflections.Reflections.scan(Reflections.java:231)
    at org.reflections.Reflections.scan(Reflections.java:204)
    at org.reflections.Reflections.<init>(Reflections.java:129)
    at org.reflections.Reflections.<init>(Reflections.java:170)
    at org.reflections.Reflections.<init>(Reflections.java:143)

Original issue reported on code.google.com by eric.hub...@gmail.com on 19 Nov 2013 at 10:50