[
https://issues.apache.org/jira/browse/VFS-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15139677#comment-15139677
]
Bernd Eckenfels commented on VFS-595:
-------------------------------------
Can you try a 2.1 snapshot the parser code did change a bit. Can you tell us
how the path with the colon actually looks like and what directory you have
added to the monitor (i.e. is the colon in a subdir or parent name component?).
Could you actually quickly debug that (will take a few days for me to get an
environment where I an reproduce it).
> Colon in folder name fire NPE on start up
> -----------------------------------------
>
> Key: VFS-595
> URL: https://issues.apache.org/jira/browse/VFS-595
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: Mac OS X Java 8
> Reporter: Matthias Barmeier
>
> 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)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)