]
Gustavo Fernandes updated ISPN-5650:
------------------------------------
Issue Type: Bug (was: Enhancement)
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: Bug
Components: Server
Affects Versions: 7.2.3.Final, 8.0.0.Beta2
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}