NullPointerException in JBoss Cache when using an asynchronous CacheLoader

Solution Verified - Updated -

Issue

  • In a distributed cache with a file cache loader that is working, when changing the async property to true the following exception occurs:

    ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Instantiated: name=MyCache state=Described
    org.jboss.cache.config.ConfigurationException: Unable to build interceptor chain
    ...
    Caused by: java.lang.NullPointerException
            at org.jboss.cache.loader.AsyncCacheLoaderConfig.setProperties(AsyncCacheLoaderConfig.java:121)
    ...
    

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.1.2

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.