FileWriteAction NullPointerException in JBoss EAP 5 log when the farm directory contains any empty file

Solution Verified - Updated -


  • The following exception appears in the JBoss EAP server log

    ERROR [org.jboss.system.server.profileservice.repository.clustered.local.file.FileWriteAction] (Incoming-14, Caught exception in doPrepare()
            at org.jboss.system.server.profileservice.repository.clustered.local.file.FileUtil.localMove(


  • JBoss Enterprise Application Platform (EAP)
    • 5.0.x
    • 5.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content