Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-595

Colon in folder name fire NPE on start up

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Labels:
      None
    • Environment:

      Mac OS X Java 8

      Description

      A NullPointerException is thrown when a folder containing a colon is found.

      StackTrace:

      java.lang.NullPointerException
      at org.apache.commons.vfs2.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:322)
      at org.apache.commons.vfs2.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:317)
      at org.apache.commons.vfs2.provider.AbstractFileObject.resolveFile(AbstractFileObject.java:752)
      at org.apache.commons.vfs2.provider.AbstractFileObject.resolveFiles(AbstractFileObject.java:744)
      at org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:647)
      at org.apache.commons.vfs2.impl.DefaultFileMonitor.doAddFile(DefaultFileMonitor.java:217)
      at org.apache.commons.vfs2.impl.DefaultFileMonitor.addFile(DefaultFileMonitor.java:174)
      at de.sourcepark.synaptic.hashfs.FileMonitor.start(FileMonitor.java:32)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              barmeier Matthias Barmeier
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: