[jboss-user] [JBossCache] - TreeMap

tfranconville do-not-reply at jboss.com
Thu Mar 13 13:08:29 EDT 2008

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:136)
  | 	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)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136404#4136404

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136404

More information about the jboss-user mailing list