[jbosscache-issues] [JBoss JIRA] (JBCACHE-1628) NullPointerException in AsyncCacheLoaderConfig.setProperties

Dennis Reed (JIRA) jira-events at lists.jboss.org
Thu Dec 6 16:47:17 EST 2012


Dennis Reed created JBCACHE-1628:
------------------------------------

             Summary: NullPointerException in AsyncCacheLoaderConfig.setProperties
                 Key: JBCACHE-1628
                 URL: https://issues.jboss.org/browse/JBCACHE-1628
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Cache loaders
    Affects Versions: 3.2.8.GA
            Reporter: Dennis Reed
            Assignee: Dennis Reed


When using a cache loader with async=true, but without an explicit "properties" configuration set, AsyncCacheLoaderConfig.setProperties throws a NullPointerException:

Caused by: java.lang.NullPointerException
        at org.jboss.cache.loader.AsyncCacheLoaderConfig.setProperties(AsyncCacheLoaderConfig.java:121) 
        at org.jboss.cache.config.CacheLoaderConfig$IndividualCacheLoaderConfig.populateFromBaseConfig(CacheLoaderConfig.java:207)
        at org.jboss.cache.loader.AsyncCacheLoaderConfig.<init>(AsyncCacheLoaderConfig.java:57)
        at org.jboss.cache.loader.AsyncCacheLoader.setConfig(AsyncCacheLoader.java:143)
        at org.jboss.cache.loader.CacheLoaderManager.createCacheLoader(CacheLoaderManager.java:269)
        at org.jboss.cache.loader.CacheLoaderManager.createCacheLoader(CacheLoaderManager.java:195)
        at org.jboss.cache.loader.CacheLoaderManager.injectDependencies(CacheLoaderManager.java:106)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosscache-issues mailing list