net.sf.ehcache.CacheException: Cache: visitorDomain was being used with cache writer features, but it wasn't properly registered beforehand.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Terracotta Project Issue Tracker by Patrice Jaton, 1 year ago
Cache: visitorDomain was being used with cache writer features, but it wasn't properly registered beforehand.
via Terracotta Project Issue Tracker by Patrice Jaton, 1 year ago
Cache: visitorDomain was being used with cache writer features, but it wasn't properly registered beforehand.
net.sf.ehcache.CacheException: Cache: visitorDomain was being used with cache writer features, but it wasn't properly registered beforehand.
at net.sf.ehcache.Cache.initialiseCacheWriterManager(Cache.java:1033)
at net.sf.ehcache.Cache.putInternal(Cache.java:1165)
at com.localmatters.ds.dao.terracotta.ehcache.EhcacheWithWriteBehind.save(EhcacheWithWriteBehind.java:29)
at com.localmatters.ds.dao.cache.CacheWithKeyGeneration.save(CacheWithKeyGeneration.java:27)
at com.localmatters.ds.dao.cache.CacheWithKeyGeneration.save(CacheWithKeyGeneration.java:14)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.localmatters.util.hotswap.HotSwappingInvoker.invoke(HotSwappingInvoker.java:35)
at undefined.$Proxy37.save(Unknown Source)
at com.localmatters.ds.dao.cache.VisitorDaoCache.saveVisitorDomain(VisitorDaoCache.java:196)
at com.localmatters.ds.dao.cache.VisitorDaoCache.saveVisitor(VisitorDaoCache.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.localmatters.util.hotswap.HotSwappingInvoker.invoke(HotSwappingInvoker.java:35)
at undefined.$Proxy38.saveVisitor(Unknown Source)
at com.localmatters.ds.persistence.DefaultPersistenceControllerImpl.saveVisitor(DefaultPersistenceControllerImpl.java:183)
at com.localmatters.ds.service.DefaultVisitorDomainServiceImpl$2.doInTemplate(DefaultVisitorDomainServiceImpl.java:148)
at com.localmatters.mvc.domain.DomainTemplate.execute(DomainTemplate.java:48)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.