Never mind, I had a few mins waiting for a delayed meeting to start ...
https://github.com/infinispan/infinispan/pull/1753
https://github.com/infinispan/infinispan/pull/1754
- M
On 5 Apr 2013, at 13:34, Manik Surtani <msurtani(a)redhat.com> wrote:
JIRA?
On 5 Apr 2013, at 10:29, Mircea Markus <mmarkus(a)redhat.com> wrote:
> It should throw an IllegalArgumentException because the tx should not be null.
> The problem there is that cache.lock() is invoked outside of the scope of a
transaction.
>
> On 5 Apr 2013, at 00:06, Sanne Grinovero wrote:
>
>>
>> Should this error message not say the opposite?
>>
>>
>> Caused by: java.lang.IllegalStateException: This is a tx cache!
>> at
org.infinispan.context.TransactionalInvocationContextContainer.createInvocationContext(TransactionalInvocationContextContainer.java:112)
>> at
org.infinispan.context.TransactionalInvocationContextContainer.createInvocationContext(TransactionalInvocationContextContainer.java:107)
>> at org.infinispan.CacheImpl.getInvocationContextForWrite(CacheImpl.java:465)
>> at org.infinispan.CacheImpl.lock(CacheImpl.java:561)
>> at org.infinispan.CacheImpl.lock(CacheImpl.java:546)
>> at
org.hibernate.search.infinispan.impl.indexmanager.RoutingArbiter.failoverCheck(RoutingArbiter.java:93)
>> at
org.hibernate.search.infinispan.impl.indexmanager.RoutingArbiter.onViewChange(RoutingArbiter.java:81)
>> at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
>> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:212)
>> ... 31 more
>>
>> Sanne
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> Cheers,
> --
> Mircea Markus
> Infinispan lead (
www.infinispan.org)
>
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Platform Architect, JBoss Data Grid
http://red.ht/data-grid
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Platform Architect, JBoss Data Grid
http://red.ht/data-grid