[
https://issues.jboss.org/browse/ISPN-1682?page=com.atlassian.jira.plugin....
]
Manik Surtani updated ISPN-1682:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Cache.getCacheConfiguration() fails if cache is already started
---------------------------------------------------------------
Key: ISPN-1682
URL:
https://issues.jboss.org/browse/ISPN-1682
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 5.1.0.CR2
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Priority: Blocker
Fix For: 5.1.0.CR3
Calling Cache.getCacheConfiguration() on a started cache throws the following exception:
Caused by: org.infinispan.config.ConfigurationException: Attempted to modify a
non-Dynamic configuration element [enabled] after the component has started!
at
org.infinispan.config.AbstractConfigurationBean.testImmutability(AbstractConfigurationBean.java:105)
at
org.infinispan.loaders.decorators.SingletonStoreConfig.setSingletonStoreEnabled(SingletonStoreConfig.java:72)
at
org.infinispan.loaders.AbstractCacheStoreConfig.singletonStore(AbstractCacheStoreConfig.java:92)
at
org.infinispan.configuration.cache.LegacyConfigurationAdaptor.adapt(LegacyConfigurationAdaptor.java:397)
at org.infinispan.CacheImpl.getCacheConfiguration(CacheImpl.java:377)
at
org.infinispan.AbstractDelegatingCache.getCacheConfiguration(AbstractDelegatingCache.java:67)
at
org.infinispan.AbstractDelegatingCache.getCacheConfiguration(AbstractDelegatingCache.java:67)
--
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