Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10178

[7.0] NullPointerException when removing configuration history

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.0.5.GA
    • 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.

              jondruse@redhat.com Jiri Ondrusek
              jondruse@redhat.com Jiri Ondrusek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: