Error while creating the cache object

100 views
Skip to first unread message

Santosh Guptha

unread,
Oct 25, 2013, 6:54:10 AM10/25/13
to cald...@googlegroups.com
Hi R,
I am trying to optimize the sync process using cache. 

But when I call enableSimpleCache() to create cache object I am getting the following error. 

10-24 07:04:48.923: W/System.err(11219): net.sf.ehcache.CacheException?:   
java.lang.AssertionError?: No net.sf.ehcache.EhcacheInit? services found   
10-24 07:04:48.933: W/System.err(11219): at   
net.sf.ehcache.LibraryInit?.init(LibraryInit?.java:55) 10-24 07:04:48.943:   
W/System.err(11219): at   
net.sf.ehcache.CacheManager?.init(CacheManager?.java:381) 10-24   
07:04:48.953: W/System.err(11219): at   
net.sf.ehcache.CacheManager?.<init>(CacheManager?.java:266) 10-24   
07:04:48.953: W/System.err(11219): at   
net.sf.ehcache.CacheManager?.newInstance(CacheManager?.java:1082) 10-24   
07:04:48.953: W/System.err(11219): at   
net.sf.ehcache.CacheManager?.newInstance(CacheManager?.java:858) 10-24   
07:04:48.953: W/System.err(11219): at   
net.sf.ehcache.CacheManager?.create(CacheManager?.java:839) 10-24   
07:04:48.963: W/System.err(11219): at   
org.osaf.caldav4j.cache.EhCacheResourceCache?.createSimpleCache(EhCacheResourceCache?.java:85)   

Could you please me what to do this for this error??

I am testing it in android jellybean 4.1 version device.

Roberto Polli

unread,
Oct 25, 2013, 7:04:56 AM10/25/13
to cald...@googlegroups.com
2013/10/25 Santosh Guptha <p.santos...@gmail.com>:
> I am trying to optimize the sync process using cache.
Did you check if your ehcache configuration is fine?

I would try to figure out how your EhCache version works...

Peace,
R.
> --
> You received this message because you are subscribed to the Google Groups
> "caldav4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to caldav4j+u...@googlegroups.com.
> To post to this group, send email to cald...@googlegroups.com.
> Visit this group at http://groups.google.com/group/caldav4j.
> For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages