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

Solution Verified - Updated -

Issue

  • The following exception appears in the JBoss EAP server log

    ERROR [org.jboss.system.server.profileservice.repository.clustered.local.file.FileWriteAction] (Incoming-14,10.1.2.3:55200) Caught exception in doPrepare()
    java.lang.NullPointerException
            at org.jboss.system.server.profileservice.repository.clustered.local.file.FileUtil.localMove(FileUtil.java:50)
            ...
    

Environment

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.