[jboss-dev-forums] [Design the new POJO MicroContainer] - Unhelpful message from the VFS

adrian@jboss.org do-not-reply at jboss.com
Fri Jul 25 07:28:51 EDT 2008


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#4166634

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166634



More information about the jboss-dev-forums mailing list