[infinispan-issues] [JBoss JIRA] (ISPN-1551) NPE when creating a DefaultCacheManager with the new Configuration
Mircea Markus (Resolved) (JIRA)
jira-events at lists.jboss.org
Wed Nov 23 09:29:42 EST 2011
[ https://issues.jboss.org/browse/ISPN-1551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mircea Markus resolved ISPN-1551.
---------------------------------
Resolution: Done
> NPE when creating a DefaultCacheManager with the new Configuration
> ------------------------------------------------------------------
>
> Key: ISPN-1551
> URL: https://issues.jboss.org/browse/ISPN-1551
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 5.1.0.BETA5
> Reporter: Kevin Pollet
> Assignee: Pete Muir
> Priority: Blocker
> Fix For: 5.1.0.CR1
>
>
> The following code throws an NPE.
> {code}
> new DefaultCacheManager(new ConfigurationBuilder().build())
> {code}
> The exception:
> {quote}
> Caused by: java.lang.NullPointerException
> at org.infinispan.configuration.global.LegacyGlobalConfigurationAdaptor.adapt(LegacyGlobalConfigurationAdaptor.java:12)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:307)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:176)
> {quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list