0 Replies Latest reply on Jul 25, 2008 7:28 AM by Adrian Brock

    Unhelpful message from the VFS

    Adrian Brock Master

      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.