Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-26032

(7.4.z) org.infinispan.commons.CacheException: java.lang.IllegalArgumentException: Only byte[] instances are supported currently!

XMLWordPrintable

      Using two clustered datagrid nodes of version 8.4.5 (also older versions) and a cluster or two nodes of EAP 7.4.14 the following error is observed when accessing /clusterbench/session twice ....

       

      org.infinispan.commons.CacheException: java.lang.IllegalArgumentException: Only byte[] instances are supported currently! at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.InvocationContextInterceptor.rethrowException(InvocationContextInterceptor.java:134) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.InvocationContextInterceptor.lambda$new$0(InvocationContextInterceptor.java:62) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.ExceptionSyncInvocationStage.andExceptionally(ExceptionSyncInvocationStage.java:40) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:133) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:61) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.BatchingInterceptor.handleDefault(BatchingInterceptor.java:69) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.DDAsyncInterceptor.visitGetKeyValueCommand(DDAsyncInterceptor.java:105) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:34) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:49) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:244) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.cache.impl.InvocationHelper.doInvoke(InvocationHelper.java:298) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:102) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:541) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:535) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.cache.impl.AbstractDelegatingCache.get(AbstractDelegatingCache.java:439) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.cache.impl.EncoderCache.get(EncoderCache.java:696) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.cache.impl.AbstractDelegatingCache.get(AbstractDelegatingCache.java:439) at org.wildfly.clustering.web.infinispan@7.4.14.GA-redhat-00001//org.wildfly.clustering.web.infinispan.session.InfinispanSessionMetaDataFactory.getValue(InfinispanSessionMetaDataFactory.java:101) at org.wildfly.clustering.web.infinispan@7.4.14.GA-redhat-00001//org.wildfly.clustering.web.infinispan.session.InfinispanSessionMetaDataFactory.findValue(InfinispanSessionMetaDataFactory.java:91) at org.wildfly.clustering.web.infinispan@7.4.14.GA-redhat-00001//org.wildfly.clustering.web.infinispan.session.InfinispanSessionMetaDataFactory.findValue(InfinispanSessionMetaDataFactory.java:54) at org.wildfly.clustering.web.cache@7.4.14.GA-redhat-00001//org.wildfly.clustering.web.cache.session.CompositeSessionFactory.findValue(CompositeSessionFactory.java:63) at org.wildfly.clustering.web.cache@7.4.14.GA-redhat-00001//org.wildfly.clustering.web.cache.session.CompositeSessionFactory.findValue(CompositeSessionFactory.java:40) at org.wildfly.clustering.web.infinispan@7.4.14.GA-redhat-00001//org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.findSession(InfinispanSessionManager.java:160) at org.wildfly.clustering.web.cache@7.4.14.GA-redhat-00001//org.wildfly.clustering.web.cache.session.ConcurrentSessionManager$2.apply(ConcurrentSessionManager.java:66) at org.wildfly.clustering.web.cache@7.4.14.GA-redhat-00001//org.wildfly.clustering.web.cache.session.ConcurrentSessionManager$2.apply(ConcurrentSessionManager.java:63) at org.wildfly.clustering.ee.cache@7.4.14.GA-redhat-00001//org.wildfly.clustering.ee.cache.SimpleManager.apply(SimpleManager.java:52) at org.wildfly.clustering.web.cache@7.4.14.GA-redhat-00001//org.wildfly.clustering.web.cache.session.ConcurrentSessionManager.findSession(ConcurrentSessionManager.java:71) at org.wildfly.clustering.web.undertow@7.4.14.GA-redhat-00001//org.wildfly.clustering.web.undertow.session.DistributableSessionManager.getSession(DistributableSessionManager.java:228) at io.undertow.servlet@2.2.28.SP1-redhat-00001//io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:910) at io.undertow.servlet@2.2.28.SP1-redhat-00001//io.undertow.servlet.spec.HttpServletRequestImpl.getSession(HttpServletRequestImpl.java:429) at org.jboss.weld.core@3.1.10.Final-redhat-00001//org.jboss.weld.module.web.servlet.SessionHolder.requestInitialized(SessionHolder.java:47) at org.jboss.weld.core@3.1.10.Final-redhat-00001//org.jboss.weld.module.web.servlet.HttpContextLifecycle.requestInitialized(HttpContextLifecycle.java:247) at org.jboss.weld.core@3.1.10.Final-redhat-00001//org.jboss.weld.module.web.servlet.WeldInitialListener.requestInitialized(WeldInitialListener.java:146) at io.undertow.servlet@2.2.28.SP1-redhat-00001//io.undertow.servlet.core.ApplicationListeners.requestInitialized(ApplicationListeners.java:263) at io.undertow.servlet@2.2.28.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:274) at io.undertow.servlet@2.2.28.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79) at io.undertow.servlet@2.2.28.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134) at io.undertow.servlet@2.2.28.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131) at io.undertow.servlet@2.2.28.SP1-redhat-00001//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet@2.2.28.SP1-redhat-00001//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at org.wildfly.extension.undertow@7.4.14.GA-redhat-00001//org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105) at org.wildfly.extension.undertow@7.4.14.GA-redhat-00001//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1555) at org.wildfly.extension.undertow@7.4.14.GA-redhat-00001//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1555) at org.wildfly.extension.undertow@7.4.14.GA-redhat-00001//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1555) at org.wildfly.extension.undertow@7.4.14.GA-redhat-00001//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1555) at io.undertow.servlet@2.2.28.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255) at io.undertow.servlet@2.2.28.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79) at io.undertow.servlet@2.2.28.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100) at io.undertow.core@2.2.28.SP1-redhat-00001//io.undertow.server.Connectors.executeRootHandler(Connectors.java:393) at io.undertow.core@2.2.28.SP1-redhat-00001//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852) at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at org.jboss.xnio@3.8.11.SP1-redhat-00001//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.lang.IllegalArgumentException: Only byte[] instances are supported currently! at org.infinispan.client.hotrod@11.0.18.Final-redhat-00001//org.infinispan.client.hotrod.marshall.BytesOnlyMarshaller.checkByteArray(BytesOnlyMarshaller.java:27) at org.infinispan.client.hotrod@11.0.18.Final-redhat-00001//org.infinispan.client.hotrod.marshall.BytesOnlyMarshaller.objectToByteBuffer(BytesOnlyMarshaller.java:33) at org.infinispan.client.hotrod@11.0.18.Final-redhat-00001//org.infinispan.client.hotrod.marshall.MarshallerUtil.obj2bytes(MarshallerUtil.java:99) at org.infinispan.client.hotrod@11.0.18.Final-redhat-00001//org.infinispan.client.hotrod.DataFormat.keyToBytes(DataFormat.java:93) at org.infinispan.client.hotrod@11.0.18.Final-redhat-00001//org.infinispan.client.hotrod.impl.RemoteCacheImpl.keyToBytes(RemoteCacheImpl.java:572) at org.infinispan.client.hotrod@11.0.18.Final-redhat-00001//org.infinispan.client.hotrod.impl.RemoteCacheImpl.getAsync(RemoteCacheImpl.java:556) at org.wildfly.clustering.infinispan.client@7.4.14.GA-redhat-00001//org.wildfly.clustering.infinispan.client.RegisteredRemoteCache.getAsync(RegisteredRemoteCache.java:281) at org.jboss.as.clustering.infinispan@7.4.14.GA-redhat-00001//org.jboss.as.clustering.infinispan.subsystem.remote.HotRodStore.load(HotRodStore.java:147) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.persistence.manager.PersistenceManagerImpl.lambda$loadFromAllStores$38(PersistenceManagerImpl.java:815) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.internal.operators.mixed.FlowableConcatMapMaybe$ConcatMapMaybeSubscriber.drain(FlowableConcatMapMaybe.java:254) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.internal.operators.mixed.FlowableConcatMapMaybe$ConcatMapMaybeSubscriber.onNext(FlowableConcatMapMaybe.java:136) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.internal.operators.flowable.FlowableFilter$FilterSubscriber.tryOnNext(FlowableFilter.java:74) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.internal.operators.flowable.FlowableFromIterable$IteratorConditionalSubscription.slowPath(FlowableFromIterable.java:380) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.internal.operators.flowable.FlowableFromIterable$BaseRangeSubscription.request(FlowableFromIterable.java:131) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.internal.subscribers.BasicFuseableSubscriber.request(BasicFuseableSubscriber.java:153) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.internal.operators.mixed.FlowableConcatMapMaybe$ConcatMapMaybeSubscriber.onSubscribe(FlowableConcatMapMaybe.java:125) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.internal.subscribers.BasicFuseableSubscriber.onSubscribe(BasicFuseableSubscriber.java:67) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.internal.operators.flowable.FlowableFromIterable.subscribe(FlowableFromIterable.java:66) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.internal.operators.flowable.FlowableFromIterable.subscribeActual(FlowableFromIterable.java:47) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15838) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.internal.operators.flowable.FlowableFilter.subscribeActual(FlowableFilter.java:37) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15838) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.internal.operators.mixed.FlowableConcatMapMaybe.subscribeActual(FlowableConcatMapMaybe.java:61) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15838) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5330) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.internal.operators.maybe.MaybeUsing.subscribeActual(MaybeUsing.java:94) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5330) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.core.Maybe.subscribeWith(Maybe.java:5402) at io.reactivex.rxjava3.rxjava@3.0.9.redhat-00001//io.reactivex.rxjava3.core.Maybe.toCompletionStage(Maybe.java:6219) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.persistence.manager.PersistenceManagerImpl.loadFromAllStores(PersistenceManagerImpl.java:819) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.CacheLoaderInterceptor.loadAndStoreInDataContainer(CacheLoaderInterceptor.java:403) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.CacheLoaderInterceptor.loadInContext(CacheLoaderInterceptor.java:376) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.CacheLoaderInterceptor.loadIfNeeded(CacheLoaderInterceptor.java:338) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitDataCommand(CacheLoaderInterceptor.java:204) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.CacheLoaderInterceptor.visitGetKeyValueCommand(CacheLoaderInterceptor.java:148) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:34) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:232) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitDataReadCommand(EntryWrappingInterceptor.java:220) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitGetKeyValueCommand(EntryWrappingInterceptor.java:206) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:34) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.DDAsyncInterceptor.visitGetKeyValueCommand(DDAsyncInterceptor.java:105) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:34) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.DDAsyncInterceptor.visitGetKeyValueCommand(DDAsyncInterceptor.java:105) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:34) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.locking.PessimisticLockingInterceptor.visitDataReadCommand(PessimisticLockingInterceptor.java:60) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitGetKeyValueCommand(AbstractLockingInterceptor.java:107) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:34) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.TxInterceptor.visitGetKeyValueCommand(TxInterceptor.java:310) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:34) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndHandle(BaseAsyncInterceptor.java:188) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.BaseStateTransferInterceptor.handleReadCommand(BaseStateTransferInterceptor.java:191) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.BaseStateTransferInterceptor.visitGetKeyValueCommand(BaseStateTransferInterceptor.java:166) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:34) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitDataReadCommand(CacheMgmtInterceptor.java:146) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitGetKeyValueCommand(CacheMgmtInterceptor.java:122) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:34) at org.infinispan@11.0.18.Final-redhat-00001//org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128) ... 53 more

        1. clusterbench-ee8.ear
          65 kB
        2. eap-1.log.zip
          188.17 MB
        3. eap-1.standalone-ha.xml
          35 kB
        4. eap-2.log.zip
          176.07 MB
        5. eap-2.standalone-ha.xml
          35 kB
        6. errorlog.txt
          129 kB
        7. jdg1.log.zip
          3 kB
        8. jdg2.log.zip
          2 kB
        9. standalone-ha-1.xml
          35 kB
        10. standalone-ha-2.xml
          35 kB

              pferraro@redhat.com Paul Ferraro
              psotirop@redhat.com Panagiotis Sotiropoulos (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: