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