Bug 1434141

Summary: [GSS](6.4.z) NullPointerException when removing configuration history
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: dereed
Component: Domain ManagementAssignee: Jiri Ondrusek <jondruse>
Status: CLOSED CURRENTRELEASE QA Contact: Peter Mackay <pmackay>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: bmaxwell, brian.stansberry, dandread, jondruse, pmackay, ppalaga, rnetuka, thofman
Target Milestone: CR1   
Target Release: EAP 6.4.22   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 12:44:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1613417    

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