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, 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