-
Bug
-
Resolution: Done
-
Blocker
-
5.1.0.BETA5
-
None
This code:
ConfigurationBuilder cb = new ConfigurationBuilder();
cb.transaction().use1PcForAutoCommitTransactions(true)
.transactionManagerLookup(new DummyTransactionManagerLookup());
DefaultCacheManager cm = new DefaultCacheManager(cb.build());
Throws an exception:
java.lang.NullPointerException
at org.infinispan.config.ConfigurationValidatingVisitor.visitEvictionType(ConfigurationValidatingVisitor.java:129)
at org.infinispan.config.DelegatingConfigurationVisitor.visitEvictionType(DelegatingConfigurationVisitor.java:172)
at org.infinispan.config.Configuration$EvictionType.accept(Configuration.java:2878)
at org.infinispan.config.Configuration.accept(Configuration.java:1448)
at org.infinispan.manager.DefaultCacheManager.wireCache(DefaultCacheManager.java:684)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:647)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:543)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:516)
at org.infinispan.tx.Use1PcForInducedTransactionTest.testNewConfigurationCorrectness(Use1PcForInducedTransactionTest.java:80)
- duplicates
-
ISPN-1558 NPE in org.infinispan.config.ConfigurationValidatingVisitor.visitEvictionType
- Closed