[JBoss JIRA] (ISPN-9682) NullPointerException when put to JCache
by Andrei Arkaev (Jira)
[ https://issues.jboss.org/browse/ISPN-9682?page=com.atlassian.jira.plugin.... ]
Andrei Arkaev commented on ISPN-9682:
-------------------------------------
I need simple in-memory cache with no serialization/deserialization with JCache-api. What should I use?
> NullPointerException when put to JCache
> ---------------------------------------
>
> Key: ISPN-9682
> URL: https://issues.jboss.org/browse/ISPN-9682
> Project: Infinispan
> Issue Type: Bug
> Components: JCache
> Affects Versions: 9.4.0.Final, 9.4.1.Final
> Reporter: Andrei Arkaev
> Priority: Blocker
>
> After upgrade from 9.4.0.RC3 to 9.4.0.Final (and 9.4.1.Final too) I have an error
> java.lang.NullPointerException: null
> at org.infinispan.functional.impl.AbstractFunctionalMap.invokeAsync(AbstractFunctionalMap.java:127)
> at org.infinispan.functional.impl.ReadWriteMapImpl.eval(ReadWriteMapImpl.java:70)
> at org.infinispan.jcache.embedded.JCache.put(JCache.java:409)
> Cache configuration
> <local-cache
> name="SomeGlobalCache"
> simple-cache="true"
> statistics="false"
> statistics-available="false">
> <transaction mode="NONE"/>
> </local-cache>
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (ISPN-8213) Functional commands are not replayed in tx on non-read owner
by Gustavo Lira (Jira)
[ https://issues.jboss.org/browse/ISPN-8213?page=com.atlassian.jira.plugin.... ]
Gustavo Lira closed ISPN-8213.
------------------------------
> Functional commands are not replayed in tx on non-read owner
> ------------------------------------------------------------
>
> Key: ISPN-8213
> URL: https://issues.jboss.org/browse/ISPN-8213
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.1.0.Final
> Reporter: Radim Vansa
> Assignee: Radim Vansa
> Priority: Major
> Fix For: 9.4.0.Final
>
>
> When a functional command is executed on a node that is rebalancing and is not a read owner, we don't fetch the value (it does not end up in context's looked-up entries) but execute the command remotely in a read-only way.
> The entry should be later written on this node, too, but EWI tries to commit only looked-up entries.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (ISPN-9685) Update Distributed task execution policy documentation - DistributedExecutorService is deprecated
by Diego Lovison (Jira)
Diego Lovison created ISPN-9685:
-----------------------------------
Summary: Update Distributed task execution policy documentation - DistributedExecutorService is deprecated
Key: ISPN-9685
URL: https://issues.jboss.org/browse/ISPN-9685
Project: Infinispan
Issue Type: Bug
Reporter: Diego Lovison
Since 9.1 DistributedExecutorService is deprecated
In the document section "Distributed task execution policy" ( http://infinispan.org/docs/stable/user_guide/user_guide.html#distributed_... ) the code example
{code:java}
DistributedExecutorService des = new DefaultExecutorService(cache);
DistributedTaskBuilder<Boolean> taskBuilder = des.createDistributedTaskBuilder(new SomeCallable());
taskBuilder.executionPolicy(DistributedTaskExecutionPolicy.SAME_RACK);
DistributedTask<Boolean> distributedTask = taskBuilder.build();
Future<Boolean> future = des.submit(distributedTask);
Boolean r = future.get();
{code}
uses a deprecated class DistributedExecutorService
We should update the document.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months