7 Replies Latest reply on Mar 27, 2008 4:49 AM by Thomas Franconville


    Thomas Franconville Newbie

      What about TreeMap and Jboss cache

      I use JBoss 4.2.1 GA.
      I would like to share a TreeMap between node of a jboss cluster.
      What can I do to have that kind of use ?
      * an other version of Jboss Cache than the 1.4.1
      * doing an aop wrapper on treemap
      * using terracotta

      Here is the error that I obtain using the subMap method:

      Caused by: java.lang.RuntimeException: CollectionInterceptorUtil.invoke(): targetObject is null. Can
      't invoke public java.util.SortedMap AOPClassProxy$3.subMap(java.lang.Object,java.lang.Object)
       at org.jboss.cache.aop.collection.CollectionInterceptorUtil.invoke(CollectionInterceptorUtil.java:1
       at org.jboss.cache.aop.collection.CachedMapInterceptor.invoke(CachedMapInterceptor.java:117)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at AOPClassProxy$3.subMap(AOPClassProxy$3.java)