[JBoss JIRA] (ISPN-11315) Split XSiteAdminCommand into individual commands
by Pedro Ruivo (Jira)
[ https://issues.redhat.com/browse/ISPN-11315?page=com.atlassian.jira.plugi... ]
Pedro Ruivo updated ISPN-11315:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Split XSiteAdminCommand into individual commands
> ------------------------------------------------
>
> Key: ISPN-11315
> URL: https://issues.redhat.com/browse/ISPN-11315
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 11.0.0.Alpha1
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.Beta1
>
>
> Currently the XSiteAdminCommand uses a Type field and a switch statement to differentiate between various actions. This worked well for the old Externalizer approach, however it does not fit well with protobuf messages. Instead, the command should be split into individual commands.
> This enables the logic of the command types to be separated, making it easier to maintain backwards compatibility in the long term. Each command will use a ProtoStream TypeId in the range of 1000 -> 3999, so the cost of two bytes is the same as the existing class ID plus enum Type.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (ISPN-11331) Add tests for the Hot Rod client running under a SecurityManager
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11331?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11331:
-----------------------------------
Description:
Netty's PlatformDependent class attempts to open two files
which fails when running with a SecurityManager. We need to add a test for it as well as the following to the default policy:
{noformat}
grant codeBase "file://netty-common.jar" {
permission java.io.FilePermission "/etc/os-release", "read";
permission java.io.FilePermission "/usr/lib/os-release", "read";
}
{noformat}
was:
Netty's PlatformDependent class attempts to open two files
which fails when running with a SecurityManager. We need to add a test for it as well as the following to the default policy:
grant codeBase "file://netty-common.jar" {
permission java.io.FilePermission "/etc/os-release", "read";
permission java.io.FilePermission "/usr/lib/os-release", "read";
}
> Add tests for the Hot Rod client running under a SecurityManager
> ----------------------------------------------------------------
>
> Key: ISPN-11331
> URL: https://issues.redhat.com/browse/ISPN-11331
> Project: Infinispan
> Issue Type: Bug
> Components: Hot Rod, Security
> Affects Versions: 9.4.17.Final, 10.1.2.Final, 11.0.0.Alpha1
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
>
> Netty's PlatformDependent class attempts to open two files
> which fails when running with a SecurityManager. We need to add a test for it as well as the following to the default policy:
> {noformat}
> grant codeBase "file://netty-common.jar" {
> permission java.io.FilePermission "/etc/os-release", "read";
> permission java.io.FilePermission "/usr/lib/os-release", "read";
> }
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (ISPN-11332) Add tests for the Hot Rod client running under a SecurityManager
by Tristan Tarrant (Jira)
Tristan Tarrant created ISPN-11332:
--------------------------------------
Summary: Add tests for the Hot Rod client running under a SecurityManager
Key: ISPN-11332
URL: https://issues.redhat.com/browse/ISPN-11332
Project: Infinispan
Issue Type: Bug
Components: Hot Rod, Security
Affects Versions: 9.4.17.Final, 10.1.2.Final, 11.0.0.Alpha1
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Netty's PlatformDependent class attempts to open two files
which fails when running with a SecurityManager. We need to add a test for it as well as the following to the default policy:
grant codeBase "file://netty-common.jar" {
permission java.io.FilePermission "/etc/os-release", "read";
permission java.io.FilePermission "/usr/lib/os-release", "read";
}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (ISPN-11331) Add tests for the Hot Rod client running under a SecurityManager
by Tristan Tarrant (Jira)
Tristan Tarrant created ISPN-11331:
--------------------------------------
Summary: Add tests for the Hot Rod client running under a SecurityManager
Key: ISPN-11331
URL: https://issues.redhat.com/browse/ISPN-11331
Project: Infinispan
Issue Type: Bug
Components: Hot Rod, Security
Affects Versions: 11.0.0.Alpha1, 10.1.2.Final, 9.4.17.Final
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Netty's PlatformDependent class attempts to open two files
which fails when running with a SecurityManager. We need to add a test for it as well as the following to the default policy:
grant codeBase "file://netty-common.jar" {
permission java.io.FilePermission "/etc/os-release", "read";
permission java.io.FilePermission "/usr/lib/os-release", "read";
}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (ISPN-10760) nodejs-client fails when tries to use iterator, custom event converters, script execution
by Anna Manukyan (Jira)
[ https://issues.redhat.com/browse/ISPN-10760?page=com.atlassian.jira.plugi... ]
Anna Manukyan commented on ISPN-10760:
--------------------------------------
The exception after running the tests with ISPN Server 10.1.2.Final, the exception appears for custom filters, iterators and javascript script execution:
{code}
14:13:09,638 ERROR (SINGLE_PORT-ServerIO-5-1) [org.infinispan.interceptors.impl.InvocationContextInterceptor] ISPN000136: Error executing command PutKeyValueCommand on Cache 'default', writing keys [WrappedByteArray{bytes=\l\i\s\t\e\n\-\t\y\p\e\d\-\k\e\y, hashCode=-225335305}] org.infinispan.commons.dataconversion.EncodingException: ISPN000934: Unsupported content '[B@4f57559d'
at org.infinispan.commons.dataconversion.BinaryTranscoder.transcode(BinaryTranscoder.java:65)
at org.infinispan.encoding.DataConversion.convert(DataConversion.java:141)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl.convertKey(CacheNotifierImpl.java:314)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl.configureEvent(CacheNotifierImpl.java:518)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl.doNotifyCreated(CacheNotifierImpl.java:409)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl.notifyCacheEntryCreated(CacheNotifierImpl.java:393)
at org.infinispan.interceptors.impl.CallInterceptor.performPut(CallInterceptor.java:221)
at org.infinispan.interceptors.impl.CallInterceptor.visitPutKeyValueCommand(CallInterceptor.java:208)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:61)
at org.infinispan.interceptors.impl.CallInterceptor.visitCommand(CallInterceptor.java:175)
at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:61)
at org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232)
at org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:739)
at org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutKeyValueCommand(EntryWrappingInterceptor.java:343)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:61)
at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155)
at org.infinispan.interceptors.locking.AbstractLockingInterceptor.lambda$nonTxLockAndInvokeNext$3(AbstractLockingInterceptor.java:308)
at org.infinispan.interceptors.SyncInvocationStage.andHandle(SyncInvocationStage.java:69)
at org.infinispan.interceptors.locking.AbstractLockingInterceptor.nonTxLockAndInvokeNext(AbstractLockingInterceptor.java:303)
at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitNonTxDataWriteCommand(AbstractLockingInterceptor.java:128)
at org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitDataWriteCommand(NonTransactionalLockingInterceptor.java:40)
at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitPutKeyValueCommand(AbstractLockingInterceptor.java:82)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:61)
at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155)
at org.infinispan.interceptors.impl.CacheMgmtInterceptor.updateStoreStatistics(CacheMgmtInterceptor.java:249)
at org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:210)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:61)
at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59)
at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53)
at org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:61)
at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128)
at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90)
at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:244)
at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1829)
at org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1352)
at org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1953)
at org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:226)
at org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:450)
at org.infinispan.cache.impl.EncoderCache.put(EncoderCache.java:674)
at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$3$\^eval\_/0x00000001007de840.:program(<eval>:2)
at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:655)
at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:527)
at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:428)
at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine$3.eval(NashornScriptEngine.java:521)
at java.scripting/javax.script.CompiledScript.eval(CompiledScript.java:89)
at org.infinispan.scripting.impl.ScriptingManagerImpl.execute(ScriptingManagerImpl.java:201)
at org.infinispan.scripting.impl.LocalRunner.runScript(LocalRunner.java:19)
at org.infinispan.scripting.impl.ScriptingManagerImpl.runScript(ScriptingManagerImpl.java:185)
at org.infinispan.scripting.impl.ScriptingTaskEngine.runTask(ScriptingTaskEngine.java:44)
at org.infinispan.tasks.impl.TaskManagerImpl.runTask(TaskManagerImpl.java:94)
at org.infinispan.server.hotrod.TaskRequestProcessor.exec(TaskRequestProcessor.java:39)
at org.infinispan.server.hotrod.HotRodDecoder.switch2(HotRodDecoder.java:1664)
at org.infinispan.server.hotrod.HotRodDecoder.switch1_0(HotRodDecoder.java:155)
at org.infinispan.server.hotrod.HotRodDecoder.decode(HotRodDecoder.java:143)
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:503)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:442)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:281)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
at org.infinispan.server.core.transport.StatsChannelHandler.channelRead(StatsChannelHandler.java:26)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931)
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:792)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:502)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:407)
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1050)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
{code}
> nodejs-client fails when tries to use iterator, custom event converters, script execution
> -----------------------------------------------------------------------------------------
>
> Key: ISPN-10760
> URL: https://issues.redhat.com/browse/ISPN-10760
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 10.0.0.CR3
> Reporter: Anna Manukyan
> Assignee: Ryan Emerson
> Priority: Major
>
> When the nodejs-client connects to ServerNG and tries to use a custome event converter, or run iterator, the operation fails with exception:
> {code}
> 12:39:42,721 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (SINGLE_PORT-ServerIO-5-13) ISPN000136: Error executing command PutMapCommand on Cache 'default', writing keys [WrappedByteArray{bytes=\{\"\k\"\:\"\j\l\o\c\a\l\-\i\t\3\"\}, hashCode=1235679806}, WrappedByteArray{bytes=\{\"\k\"\:\"\j\l\o\c\a\l\-\i\t\1\"\}, hashCode=1235677884}, WrappedByteArray{bytes=\{\"\k\"\:\"\j\l\o\c\a\l\-\i\t\2\"\}, hashCode=1235678845}]: org.infinispan.commons.dataconversion.EncodingException: ISPN000934: Unsupported content '[B@204b7b49'
> at org.infinispan.commons.dataconversion.BinaryTranscoder.transcode(BinaryTranscoder.java:67)
> at org.infinispan.encoding.DataConversion.convert(DataConversion.java:144)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.convertKey(CacheNotifierImpl.java:312)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.configureEvent(CacheNotifierImpl.java:515)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.doNotifyCreated(CacheNotifierImpl.java:406)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.notifyCacheEntryCreated(CacheNotifierImpl.java:390)
> at org.infinispan.interceptors.impl.CallInterceptor.visitPutMapCommand(CallInterceptor.java:481)
> at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
> at org.infinispan.interceptors.impl.CallInterceptor.visitCommand(CallInterceptor.java:166)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:81)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForManyEntriesCommand(EntryWrappingInterceptor.java:658)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutMapCommand(EntryWrappingInterceptor.java:412)
> at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.lambda$nonTxLockAndInvokeNext$3(AbstractLockingInterceptor.java:308)
> at org.infinispan.interceptors.SyncInvocationStage.andHandle(SyncInvocationStage.java:70)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.nonTxLockAndInvokeNext(AbstractLockingInterceptor.java:303)
> at org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.handleWriteManyCommand(NonTransactionalLockingInterceptor.java:65)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitPutMapCommand(AbstractLockingInterceptor.java:182)
> at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59)
> at org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitPutMapCommand(CacheMgmtInterceptor.java:162)
> at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59)
> at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53)
> at org.infinispan.interceptors.DDAsyncInterceptor.visitPutMapCommand(DDAsyncInterceptor.java:89)
> at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128)
> at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:89)
> at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invokeAsync(AsyncInterceptorChainImpl.java:226)
> at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeededAsync(CacheImpl.java:1847)
> at org.infinispan.cache.impl.CacheImpl.putAllAsync(CacheImpl.java:1508)
> at org.infinispan.cache.impl.CacheImpl.putAllAsync(CacheImpl.java:1501)
> at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.putAllAsync(AbstractDelegatingAdvancedCache.java:460)
> at org.infinispan.cache.impl.EncoderCache.putAllAsync(EncoderCache.java:303)
> at org.infinispan.server.hotrod.CacheRequestProcessor.putAllInternal(CacheRequestProcessor.java:415)
> at org.infinispan.server.hotrod.CacheRequestProcessor.putAll(CacheRequestProcessor.java:410)
> at org.infinispan.server.hotrod.HotRodDecoder.switch3(HotRodDecoder.java:1836)
> at org.infinispan.server.hotrod.HotRodDecoder.switch1_0(HotRodDecoder.java:156)
> at org.infinispan.server.hotrod.HotRodDecoder.decode(HotRodDecoder.java:143)
> at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:505)
> at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:444)
> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:283)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
> at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
> at org.infinispan.server.core.transport.StatsChannelHandler.channelRead(StatsChannelHandler.java:26)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
> at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1421)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930)
> at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:794)
> at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:424)
> at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:326)
> at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918)
> at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
> at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:834)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (ISPN-10760) nodejs-client fails when tries to use iterator, custom event converters, script execution
by Anna Manukyan (Jira)
[ https://issues.redhat.com/browse/ISPN-10760?page=com.atlassian.jira.plugi... ]
Anna Manukyan updated ISPN-10760:
---------------------------------
Summary: nodejs-client fails when tries to use iterator, custom event converters, script execution (was: nodejs-client fails when tries to use iterator, custome event converters)
> nodejs-client fails when tries to use iterator, custom event converters, script execution
> -----------------------------------------------------------------------------------------
>
> Key: ISPN-10760
> URL: https://issues.redhat.com/browse/ISPN-10760
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 10.0.0.CR3
> Reporter: Anna Manukyan
> Assignee: Ryan Emerson
> Priority: Major
>
> When the nodejs-client connects to ServerNG and tries to use a custome event converter, or run iterator, the operation fails with exception:
> {code}
> 12:39:42,721 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (SINGLE_PORT-ServerIO-5-13) ISPN000136: Error executing command PutMapCommand on Cache 'default', writing keys [WrappedByteArray{bytes=\{\"\k\"\:\"\j\l\o\c\a\l\-\i\t\3\"\}, hashCode=1235679806}, WrappedByteArray{bytes=\{\"\k\"\:\"\j\l\o\c\a\l\-\i\t\1\"\}, hashCode=1235677884}, WrappedByteArray{bytes=\{\"\k\"\:\"\j\l\o\c\a\l\-\i\t\2\"\}, hashCode=1235678845}]: org.infinispan.commons.dataconversion.EncodingException: ISPN000934: Unsupported content '[B@204b7b49'
> at org.infinispan.commons.dataconversion.BinaryTranscoder.transcode(BinaryTranscoder.java:67)
> at org.infinispan.encoding.DataConversion.convert(DataConversion.java:144)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.convertKey(CacheNotifierImpl.java:312)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.configureEvent(CacheNotifierImpl.java:515)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.doNotifyCreated(CacheNotifierImpl.java:406)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.notifyCacheEntryCreated(CacheNotifierImpl.java:390)
> at org.infinispan.interceptors.impl.CallInterceptor.visitPutMapCommand(CallInterceptor.java:481)
> at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
> at org.infinispan.interceptors.impl.CallInterceptor.visitCommand(CallInterceptor.java:166)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:81)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForManyEntriesCommand(EntryWrappingInterceptor.java:658)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutMapCommand(EntryWrappingInterceptor.java:412)
> at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.lambda$nonTxLockAndInvokeNext$3(AbstractLockingInterceptor.java:308)
> at org.infinispan.interceptors.SyncInvocationStage.andHandle(SyncInvocationStage.java:70)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.nonTxLockAndInvokeNext(AbstractLockingInterceptor.java:303)
> at org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.handleWriteManyCommand(NonTransactionalLockingInterceptor.java:65)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitPutMapCommand(AbstractLockingInterceptor.java:182)
> at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59)
> at org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitPutMapCommand(CacheMgmtInterceptor.java:162)
> at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59)
> at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53)
> at org.infinispan.interceptors.DDAsyncInterceptor.visitPutMapCommand(DDAsyncInterceptor.java:89)
> at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128)
> at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:89)
> at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invokeAsync(AsyncInterceptorChainImpl.java:226)
> at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeededAsync(CacheImpl.java:1847)
> at org.infinispan.cache.impl.CacheImpl.putAllAsync(CacheImpl.java:1508)
> at org.infinispan.cache.impl.CacheImpl.putAllAsync(CacheImpl.java:1501)
> at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.putAllAsync(AbstractDelegatingAdvancedCache.java:460)
> at org.infinispan.cache.impl.EncoderCache.putAllAsync(EncoderCache.java:303)
> at org.infinispan.server.hotrod.CacheRequestProcessor.putAllInternal(CacheRequestProcessor.java:415)
> at org.infinispan.server.hotrod.CacheRequestProcessor.putAll(CacheRequestProcessor.java:410)
> at org.infinispan.server.hotrod.HotRodDecoder.switch3(HotRodDecoder.java:1836)
> at org.infinispan.server.hotrod.HotRodDecoder.switch1_0(HotRodDecoder.java:156)
> at org.infinispan.server.hotrod.HotRodDecoder.decode(HotRodDecoder.java:143)
> at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:505)
> at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:444)
> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:283)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
> at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
> at org.infinispan.server.core.transport.StatsChannelHandler.channelRead(StatsChannelHandler.java:26)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
> at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1421)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930)
> at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:794)
> at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:424)
> at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:326)
> at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918)
> at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
> at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:834)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (ISPN-11330) Tasks page - UX improvement
by Katia Aresti (Jira)
Katia Aresti created ISPN-11330:
-----------------------------------
Summary: Tasks page - UX improvement
Key: ISPN-11330
URL: https://issues.redhat.com/browse/ISPN-11330
Project: Infinispan
Issue Type: Enhancement
Components: Console
Affects Versions: 10.1.2.Final
Reporter: Katia Aresti
Assignee: Katia Aresti
Display tasks on a paginated list like the other data display
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month