NPE when using the new ConfigurationBuilder
-------------------------------------------
Key: ISPN-1549
URL:
https://issues.jboss.org/browse/ISPN-1549
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
For example the following codes throws an NPE:
{code}
Configuration configuration = new ConfigurationBuilder()
.eviction().maxEntries(20)
.build();
----
Configuration configuration = new ConfigurationBuilder()
.jmxStatistics()
.build();
{code}
The exception:
{quote}
java.lang.NullPointerException
at
org.infinispan.configuration.cache.LoadersConfigurationBuilder.create(LoadersConfigurationBuilder.java:48)
at
org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:140)
{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