[JBoss JIRA] (ISPN-8350) Some scripts fail to execute on off-heap cache
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8350?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8350:
------------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5470
> Some scripts fail to execute on off-heap cache
> ----------------------------------------------
>
> Key: ISPN-8350
> URL: https://issues.jboss.org/browse/ISPN-8350
> Project: Infinispan
> Issue Type: Bug
> Components: Server, Tasks
> Affects Versions: 9.1.0.Final
> Reporter: Vojtech Juranek
> Assignee: Gustavo Fernandes
>
> While executing simple scripts on server with off-heap cache seems to work fine, some scripts like script with map and reduce functions fails with
> {noformat}
> 12:33:00,695 DEBUG [org.infinispan.server.hotrod.HotRodExceptionHandler] (HotRod-ServerWorker-5-3) Exception caught: org.infinispan.commons.CacheException: java.io.IOException: Unsupported protocol version 1
> at org.infinispan.commons.dataconversion.MarshallerEncoder.fromStorage(MarshallerEncoder.java:36)
> at org.infinispan.cache.impl.EncoderEntryMapper.decode(EncoderEntryMapper.java:56)
> at org.infinispan.cache.impl.EncoderEntryMapper.apply(EncoderEntryMapper.java:66)
> at org.infinispan.cache.impl.EncoderEntryMapper.apply(EncoderEntryMapper.java:23)
> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
> at org.infinispan.commons.util.Closeables$SpliteratorAsCloseableSpliterator.tryAdvance(Closeables.java:143)
> at java.util.Spliterator.forEachRemaining(Spliterator.java:326)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.infinispan.stream.impl.local.LocalCacheStream.collect(LocalCacheStream.java:360)
> at jdk.nashorn.internal.scripts.Script$1$\^eval\_.:program(<eval>:11)
> at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637)
> at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)
> at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
> at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:418)
> at jdk.nashorn.api.scripting.NashornScriptEngine.access$300(NashornScriptEngine.java:73)
> at jdk.nashorn.api.scripting.NashornScriptEngine$3.eval(NashornScriptEngine.java:511)
> at javax.script.CompiledScript.eval(CompiledScript.java:92)
> at org.infinispan.scripting.impl.ScriptingManagerImpl.execute(ScriptingManagerImpl.java:239)
> at org.infinispan.scripting.impl.LocalRunner.runScript(LocalRunner.java:19)
> at org.infinispan.scripting.impl.ScriptingManagerImpl.runScript(ScriptingManagerImpl.java:222)
> at org.infinispan.scripting.impl.ScriptingTaskEngine.runTask(ScriptingTaskEngine.java:44)
> at org.infinispan.tasks.impl.TaskManagerImpl.runTask(TaskManagerImpl.java:99)
> at org.infinispan.server.hotrod.ContextHandler.realRead(ContextHandler.java:120)
> at org.infinispan.server.hotrod.ContextHandler.lambda$channelRead0$0(ContextHandler.java:52)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.IOException: Unsupported protocol version 1
> at org.jboss.marshalling.river.RiverUnmarshaller.start(RiverUnmarshaller.java:1348)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.startObjectInput(AbstractJBossMarshaller.java:128)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.objectFromByteBuffer(AbstractJBossMarshaller.java:109)
> at org.infinispan.commons.marshall.AbstractMarshaller.objectFromByteBuffer(AbstractMarshaller.java:82)
> at org.infinispan.commons.dataconversion.MarshallerEncoder.fromStorage(MarshallerEncoder.java:34)
> ... 32 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8348) Some methods from cache API do not work properly with off-heap
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-8348?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-8348:
--------------------------------
Fix Version/s: 9.1.2.Final
9.2.0.Alpha1
> Some methods from cache API do not work properly with off-heap
> --------------------------------------------------------------
>
> Key: ISPN-8348
> URL: https://issues.jboss.org/browse/ISPN-8348
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.1.0.Final
> Reporter: Vojtech Juranek
> Assignee: William Burns
> Fix For: 9.1.2.Final, 9.2.0.Alpha1
>
>
> Following methods from cache API don't work properly with off-heap:
> * {{get()}} returns value even for keys, which are not equal (for keys, which have same content, but {{key#equals()}} returns {{false}})
> * {{keySet()}} - from docs: modifications and changes to the cache will be reflected in the set and vice versa. This is not the case for off-heap.
> * {{replaceAll()}} fails with class cast exception (e.g. in case of {{Cache<String,String>}} with {{java.lang.ClassCastException: java.lang.String cannot be cast to org.infinispan.commons.marshall.WrappedBytes}})
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8348) Some methods from cache API do not work properly with off-heap
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-8348?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-8348:
--------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5469
> Some methods from cache API do not work properly with off-heap
> --------------------------------------------------------------
>
> Key: ISPN-8348
> URL: https://issues.jboss.org/browse/ISPN-8348
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.1.0.Final
> Reporter: Vojtech Juranek
> Assignee: William Burns
>
> Following methods from cache API don't work properly with off-heap:
> * {{get()}} returns value even for keys, which are not equal (for keys, which have same content, but {{key#equals()}} returns {{false}})
> * {{keySet()}} - from docs: modifications and changes to the cache will be reflected in the set and vice versa. This is not the case for off-heap.
> * {{replaceAll()}} fails with class cast exception (e.g. in case of {{Cache<String,String>}} with {{java.lang.ClassCastException: java.lang.String cannot be cast to org.infinispan.commons.marshall.WrappedBytes}})
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8348) Some methods from cache API do not work properly with off-heap
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-8348?page=com.atlassian.jira.plugin.... ]
Work on ISPN-8348 started by William Burns.
-------------------------------------------
> Some methods from cache API do not work properly with off-heap
> --------------------------------------------------------------
>
> Key: ISPN-8348
> URL: https://issues.jboss.org/browse/ISPN-8348
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.1.0.Final
> Reporter: Vojtech Juranek
> Assignee: William Burns
>
> Following methods from cache API don't work properly with off-heap:
> * {{get()}} returns value even for keys, which are not equal (for keys, which have same content, but {{key#equals()}} returns {{false}})
> * {{keySet()}} - from docs: modifications and changes to the cache will be reflected in the set and vice versa. This is not the case for off-heap.
> * {{replaceAll()}} fails with class cast exception (e.g. in case of {{Cache<String,String>}} with {{java.lang.ClassCastException: java.lang.String cannot be cast to org.infinispan.commons.marshall.WrappedBytes}})
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8350) Some scripts fail to execute on off-heap cache
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8350?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8350:
------------------------------------
Status: Open (was: New)
> Some scripts fail to execute on off-heap cache
> ----------------------------------------------
>
> Key: ISPN-8350
> URL: https://issues.jboss.org/browse/ISPN-8350
> Project: Infinispan
> Issue Type: Bug
> Components: Server, Tasks
> Affects Versions: 9.1.0.Final
> Reporter: Vojtech Juranek
> Assignee: Gustavo Fernandes
>
> While executing simple scripts on server with off-heap cache seems to work fine, some scripts like script with map and reduce functions fails with
> {noformat}
> 12:33:00,695 DEBUG [org.infinispan.server.hotrod.HotRodExceptionHandler] (HotRod-ServerWorker-5-3) Exception caught: org.infinispan.commons.CacheException: java.io.IOException: Unsupported protocol version 1
> at org.infinispan.commons.dataconversion.MarshallerEncoder.fromStorage(MarshallerEncoder.java:36)
> at org.infinispan.cache.impl.EncoderEntryMapper.decode(EncoderEntryMapper.java:56)
> at org.infinispan.cache.impl.EncoderEntryMapper.apply(EncoderEntryMapper.java:66)
> at org.infinispan.cache.impl.EncoderEntryMapper.apply(EncoderEntryMapper.java:23)
> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
> at org.infinispan.commons.util.Closeables$SpliteratorAsCloseableSpliterator.tryAdvance(Closeables.java:143)
> at java.util.Spliterator.forEachRemaining(Spliterator.java:326)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.infinispan.stream.impl.local.LocalCacheStream.collect(LocalCacheStream.java:360)
> at jdk.nashorn.internal.scripts.Script$1$\^eval\_.:program(<eval>:11)
> at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637)
> at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)
> at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
> at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:418)
> at jdk.nashorn.api.scripting.NashornScriptEngine.access$300(NashornScriptEngine.java:73)
> at jdk.nashorn.api.scripting.NashornScriptEngine$3.eval(NashornScriptEngine.java:511)
> at javax.script.CompiledScript.eval(CompiledScript.java:92)
> at org.infinispan.scripting.impl.ScriptingManagerImpl.execute(ScriptingManagerImpl.java:239)
> at org.infinispan.scripting.impl.LocalRunner.runScript(LocalRunner.java:19)
> at org.infinispan.scripting.impl.ScriptingManagerImpl.runScript(ScriptingManagerImpl.java:222)
> at org.infinispan.scripting.impl.ScriptingTaskEngine.runTask(ScriptingTaskEngine.java:44)
> at org.infinispan.tasks.impl.TaskManagerImpl.runTask(TaskManagerImpl.java:99)
> at org.infinispan.server.hotrod.ContextHandler.realRead(ContextHandler.java:120)
> at org.infinispan.server.hotrod.ContextHandler.lambda$channelRead0$0(ContextHandler.java:52)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.IOException: Unsupported protocol version 1
> at org.jboss.marshalling.river.RiverUnmarshaller.start(RiverUnmarshaller.java:1348)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.startObjectInput(AbstractJBossMarshaller.java:128)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.objectFromByteBuffer(AbstractJBossMarshaller.java:109)
> at org.infinispan.commons.marshall.AbstractMarshaller.objectFromByteBuffer(AbstractMarshaller.java:82)
> at org.infinispan.commons.dataconversion.MarshallerEncoder.fromStorage(MarshallerEncoder.java:34)
> ... 32 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8350) Some scripts fail to execute on off-heap cache
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8350?page=com.atlassian.jira.plugin.... ]
Work on ISPN-8350 started by Gustavo Fernandes.
-----------------------------------------------
> Some scripts fail to execute on off-heap cache
> ----------------------------------------------
>
> Key: ISPN-8350
> URL: https://issues.jboss.org/browse/ISPN-8350
> Project: Infinispan
> Issue Type: Bug
> Components: Server, Tasks
> Affects Versions: 9.1.0.Final
> Reporter: Vojtech Juranek
> Assignee: Gustavo Fernandes
>
> While executing simple scripts on server with off-heap cache seems to work fine, some scripts like script with map and reduce functions fails with
> {noformat}
> 12:33:00,695 DEBUG [org.infinispan.server.hotrod.HotRodExceptionHandler] (HotRod-ServerWorker-5-3) Exception caught: org.infinispan.commons.CacheException: java.io.IOException: Unsupported protocol version 1
> at org.infinispan.commons.dataconversion.MarshallerEncoder.fromStorage(MarshallerEncoder.java:36)
> at org.infinispan.cache.impl.EncoderEntryMapper.decode(EncoderEntryMapper.java:56)
> at org.infinispan.cache.impl.EncoderEntryMapper.apply(EncoderEntryMapper.java:66)
> at org.infinispan.cache.impl.EncoderEntryMapper.apply(EncoderEntryMapper.java:23)
> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
> at org.infinispan.commons.util.Closeables$SpliteratorAsCloseableSpliterator.tryAdvance(Closeables.java:143)
> at java.util.Spliterator.forEachRemaining(Spliterator.java:326)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.infinispan.stream.impl.local.LocalCacheStream.collect(LocalCacheStream.java:360)
> at jdk.nashorn.internal.scripts.Script$1$\^eval\_.:program(<eval>:11)
> at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637)
> at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)
> at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
> at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:418)
> at jdk.nashorn.api.scripting.NashornScriptEngine.access$300(NashornScriptEngine.java:73)
> at jdk.nashorn.api.scripting.NashornScriptEngine$3.eval(NashornScriptEngine.java:511)
> at javax.script.CompiledScript.eval(CompiledScript.java:92)
> at org.infinispan.scripting.impl.ScriptingManagerImpl.execute(ScriptingManagerImpl.java:239)
> at org.infinispan.scripting.impl.LocalRunner.runScript(LocalRunner.java:19)
> at org.infinispan.scripting.impl.ScriptingManagerImpl.runScript(ScriptingManagerImpl.java:222)
> at org.infinispan.scripting.impl.ScriptingTaskEngine.runTask(ScriptingTaskEngine.java:44)
> at org.infinispan.tasks.impl.TaskManagerImpl.runTask(TaskManagerImpl.java:99)
> at org.infinispan.server.hotrod.ContextHandler.realRead(ContextHandler.java:120)
> at org.infinispan.server.hotrod.ContextHandler.lambda$channelRead0$0(ContextHandler.java:52)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.IOException: Unsupported protocol version 1
> at org.jboss.marshalling.river.RiverUnmarshaller.start(RiverUnmarshaller.java:1348)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.startObjectInput(AbstractJBossMarshaller.java:128)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.objectFromByteBuffer(AbstractJBossMarshaller.java:109)
> at org.infinispan.commons.marshall.AbstractMarshaller.objectFromByteBuffer(AbstractMarshaller.java:82)
> at org.infinispan.commons.dataconversion.MarshallerEncoder.fromStorage(MarshallerEncoder.java:34)
> ... 32 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8004) Optimize serialization of encoders
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-8004?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-8004:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.2.0.Alpha1
9.2.0.Final
Resolution: Done
> Optimize serialization of encoders
> ----------------------------------
>
> Key: ISPN-8004
> URL: https://issues.jboss.org/browse/ISPN-8004
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 9.1.0.CR1
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Fix For: 9.2.0.Alpha1, 9.2.0.Final
>
>
> Certain cache operations such streams, compute and functional commands require shipping the current associated encoder/wrapper to the cache instance to remote nodes.
> Currently, the Class<?> representing the encoder is sent over the wire, both for the key and for the value. It should be possible to associate an id to each encoder/wrapper and sent those instead
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8350) Some scripts fail to execute on off-heap cache
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8350?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes reassigned ISPN-8350:
---------------------------------------
Assignee: Gustavo Fernandes
> Some scripts fail to execute on off-heap cache
> ----------------------------------------------
>
> Key: ISPN-8350
> URL: https://issues.jboss.org/browse/ISPN-8350
> Project: Infinispan
> Issue Type: Bug
> Components: Server, Tasks
> Affects Versions: 9.1.0.Final
> Reporter: Vojtech Juranek
> Assignee: Gustavo Fernandes
>
> While executing simple scripts on server with off-heap cache seems to work fine, some scripts like script with map and reduce functions fails with
> {noformat}
> 12:33:00,695 DEBUG [org.infinispan.server.hotrod.HotRodExceptionHandler] (HotRod-ServerWorker-5-3) Exception caught: org.infinispan.commons.CacheException: java.io.IOException: Unsupported protocol version 1
> at org.infinispan.commons.dataconversion.MarshallerEncoder.fromStorage(MarshallerEncoder.java:36)
> at org.infinispan.cache.impl.EncoderEntryMapper.decode(EncoderEntryMapper.java:56)
> at org.infinispan.cache.impl.EncoderEntryMapper.apply(EncoderEntryMapper.java:66)
> at org.infinispan.cache.impl.EncoderEntryMapper.apply(EncoderEntryMapper.java:23)
> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
> at org.infinispan.commons.util.Closeables$SpliteratorAsCloseableSpliterator.tryAdvance(Closeables.java:143)
> at java.util.Spliterator.forEachRemaining(Spliterator.java:326)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.infinispan.stream.impl.local.LocalCacheStream.collect(LocalCacheStream.java:360)
> at jdk.nashorn.internal.scripts.Script$1$\^eval\_.:program(<eval>:11)
> at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637)
> at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)
> at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
> at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:418)
> at jdk.nashorn.api.scripting.NashornScriptEngine.access$300(NashornScriptEngine.java:73)
> at jdk.nashorn.api.scripting.NashornScriptEngine$3.eval(NashornScriptEngine.java:511)
> at javax.script.CompiledScript.eval(CompiledScript.java:92)
> at org.infinispan.scripting.impl.ScriptingManagerImpl.execute(ScriptingManagerImpl.java:239)
> at org.infinispan.scripting.impl.LocalRunner.runScript(LocalRunner.java:19)
> at org.infinispan.scripting.impl.ScriptingManagerImpl.runScript(ScriptingManagerImpl.java:222)
> at org.infinispan.scripting.impl.ScriptingTaskEngine.runTask(ScriptingTaskEngine.java:44)
> at org.infinispan.tasks.impl.TaskManagerImpl.runTask(TaskManagerImpl.java:99)
> at org.infinispan.server.hotrod.ContextHandler.realRead(ContextHandler.java:120)
> at org.infinispan.server.hotrod.ContextHandler.lambda$channelRead0$0(ContextHandler.java:52)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.IOException: Unsupported protocol version 1
> at org.jboss.marshalling.river.RiverUnmarshaller.start(RiverUnmarshaller.java:1348)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.startObjectInput(AbstractJBossMarshaller.java:128)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.objectFromByteBuffer(AbstractJBossMarshaller.java:109)
> at org.infinispan.commons.marshall.AbstractMarshaller.objectFromByteBuffer(AbstractMarshaller.java:82)
> at org.infinispan.commons.dataconversion.MarshallerEncoder.fromStorage(MarshallerEncoder.java:34)
> ... 32 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8354) LockedStream doesn't apply encoders
by William Burns (JIRA)
William Burns created ISPN-8354:
-----------------------------------
Summary: LockedStream doesn't apply encoders
Key: ISPN-8354
URL: https://issues.jboss.org/browse/ISPN-8354
Project: Infinispan
Issue Type: Bug
Reporter: William Burns
LockedStream was recently added. However in haste to add it, it was forgotten that it may be used on a cache with encoders enabled. We need to implement an EncodedLockedStream wrapper.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months