Bug 1434141 - [GSS](6.4.z) NullPointerException when removing configuration history
Summary: [GSS](6.4.z) NullPointerException when removing configuration history
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Domain Management
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: CR1
: EAP 6.4.22
Assignee: Jiri Ondrusek
QA Contact: Peter Mackay
URL:
Whiteboard:
Depends On:
Blocks: eap6422-payload
TreeView+ depends on / blocked
 
Reported: 2017-03-20 19:29 UTC by dereed
Modified: 2020-06-11 13:26 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:44:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEAP-9997 0 Major Verified NullPointerException when removing configuration history 2020-02-11 09:09:29 UTC
Red Hat Issue Tracker WFCORE-2562 0 Major Resolved NullPointerException when removing configuration history 2020-02-11 09:09:31 UTC

Description dereed 2017-03-20 19:29:05 UTC
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.

Comment 4 Peter Mackay 2019-05-08 20:21:52 UTC
Regression tests passed
Verified with EAP 6.4.22.CP.CR1


Note You need to log in before you can comment on or make changes to this bug.