[ https://issues.apache.org/jira/browse/VFS-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory closed VFS-682. ---------------------------- Resolution: Fixed in svn trunk. > Throw a org.apache.commons.vfs2.FileSystemException instead of a > NullPointerException in > org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(FileName, > String, NameScope) > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: VFS-682 > URL: https://issues.apache.org/jira/browse/VFS-682 > Project: Commons VFS > Issue Type: Improvement > Reporter: Gary Gregory > Assignee: Gary Gregory > Priority: Major > Fix For: 2.3 > > > Throw a {{org.apache.commons.vfs2.FileSystemException}} instead of a > {{NullPointerException}} in > {{org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(FileName, > String, NameScope)}} > Since we already throw a {{org.apache.commons.vfs2.FileSystemException}} when > {{base}} is {{null}}, we should also throw the same exception when {{name}} > is null. -- This message was sent by Atlassian JIRA (v7.6.3#76005)