net.sf.ehcache.CacheException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web219

  • 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.
  • Failure cloning default cache. Initial cause was not supported
  • Stack trace

    • 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 net.sf.ehcache.Cache.putWithWriter(Cache.java:1160) 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 $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 $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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.