[jboss-jira] [JBoss JIRA] (WFCORE-2562) NullPointerException when removing configuration history

Dennis Reed (JIRA) issues at jboss.org
Mon Mar 20 15:28:00 EDT 2017


     [ https://issues.jboss.org/browse/WFCORE-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Reed updated WFCORE-2562:
--------------------------------
    Description: 
org.jboss.as.controller.persistence.ConfigurationFile#deleteRecursively is missing error checking.

If an I/O error occurs while listing the directory contents (file permission error/etc) it still tries to use the listing and gets a NullPointerException.

This method is used while removing old history directories during boot, and the NullPointerException causes the EAP boot to abort.


  was:
org.jboss.as.controller.persistence.ConfigurationFile#deleteRecursively is missing error checking.

If an I/O error occurs while listing the directory contents (file permission error/etc) it still tries to use the listing and gets a NullPointerException, aborting startup of EAP.




> NullPointerException when removing configuration history
> --------------------------------------------------------
>
>                 Key: WFCORE-2562
>                 URL: https://issues.jboss.org/browse/WFCORE-2562
>             Project: WildFly Core
>          Issue Type: Support Patch
>          Components: Domain Management
>    Affects Versions: 2.1.0.Final
>            Reporter: Dennis Reed
>            Assignee: Brian Stansberry
>
> org.jboss.as.controller.persistence.ConfigurationFile#deleteRecursively is missing error checking.
> If an I/O error occurs while listing the directory contents (file permission error/etc) it still tries to use the listing and gets a NullPointerException.
> This method is used while removing old history directories during boot, and the NullPointerException causes the EAP boot to abort.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list