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