In a new test written by Scott, the VFS is asked to get a root that doesn't exist.
The VFS gives an unhelpful message for this
| ava.lang.IllegalArgumentException: Null root, rootURI:
file:/home/ejort/jboss-cl/classloading-vfs/target/tests-classes/org/jboss/test/class
| loading/vfs/lib.jar, file:
/home/ejort/jboss-cl/classloading-vfs/target/tests-classes/org/jboss/test/classloading/vfs/lib.jar
| at
org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:184)
| at
org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:156)
| at
org.jboss.virtual.plugins.context.file.FileSystemContextFactory.getVFS(FileSystemContextFactory.java:65)
| at org.jboss.virtual.VFS.getVFS(VFS.java:89)
| at org.jboss.virtual.VFS.getRoot(VFS.java:103)
|
This error message needs improving. It should be lib.jar doesn't exist.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166634#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...