[jboss-jira] [JBoss JIRA] (WFLY-1879) Poor error handling in FilesystemDeploymentScanner when a directory cannot be read

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Aug 14 11:53:26 EDT 2013


Brian Stansberry created WFLY-1879:
--------------------------------------

             Summary: Poor error handling in FilesystemDeploymentScanner when a directory cannot be read
                 Key: WFLY-1879
                 URL: https://issues.jboss.org/browse/WFLY-1879
             Project: WildFly
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 8.0.0.Alpha1
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
            Priority: Minor
             Fix For: 8.0.0.Beta1


http://paste2.org/1VEUkjbz

When the scanner reads a directory and File.listFiles() returns null, that means there was a problem doing the list, which should result in an exception. It does, but the exception is an NPE (see stack trace linked above); it should be something more meaningful.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list