Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2562

NullPointerException when removing configuration history

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Beta12
    • 2.1.0.Final
    • Management
    • None

      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 configuration history directories during boot, and the NullPointerException causes the EAP boot to abort.

              kwills@redhat.com Ken Wills
              rhn-support-dereed Dennis Reed
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: