Gustavo Fernandes created ISPN-5650:
---------------------------------------
Summary: NPE when trying to execute script from Hot Rod client
Key: ISPN-5650
URL:
https://issues.jboss.org/browse/ISPN-5650
Project: Infinispan
Issue Type: Enhancement
Components: Server
Affects Versions: 8.0.0.Beta2, 7.2.3.Final
Reporter: Gustavo Fernandes
{code}
String SCRIPT_CACHE = "___script_cache";
RemoteCacheManager remoteCacheManager = ...
RemoteCache<String, String> scriptCache =
remoteCacheManager.getCache(SCRIPT_CACHE);
scriptCache.put("wordCountMapper.js", ...);
{code}
throws:
{code}
14:34:21,473 ERROR [org.infinispan.interceptors.InvocationContextInterceptor]
(HotRodServerWorker-8-1) ISPN000136: Execution error: java.lang.NullPointerException
at
org.infinispan.interceptors.compat.BaseTypeConverterInterceptor.visitPutKeyValueCommand(BaseTypeConverterInterceptor.java:85)
at
org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:72)
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at
org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:102)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)