3 Replies Latest reply on Apr 26, 2019 8:46 AM by tomlux

    WebSocket13Channel not Serializable

    alecs.farca

      Hi,

      Getting following exception when accessing a distributable Vaadin 11-based app deployed to WF13:

      Suppressed: java.util.concurrent.ExecutionException: org.infinispan.commons.marshall.NotSerializableException: io.undertow.websockets.core.protocol.version13.WebSocket13Channel

                      at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)

                      at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915)

                      at org.infinispan.util.concurrent.CompletableFutures.await(CompletableFutures.java:82)

                      at org.infinispan.interceptors.impl.SimpleAsyncInvocationStage.get(SimpleAsyncInvocationStage.java:37)

                      at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:250)

                      at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:137)

                      at org.infinispan.transaction.impl.TransactionCoordinator.commit(TransactionCoordinator.java:155)

                      at org.infinispan.transaction.xa.XaTransactionTable.commit(XaTransactionTable.java:122)

                      at org.infinispan.transaction.xa.TransactionXaAdapter.commit(TransactionXaAdapter.java:68)

                      at org.infinispan.commons.tx.TransactionImpl.finishResource(TransactionImpl.java:419)

                      at org.infinispan.commons.tx.TransactionImpl.commitResources(TransactionImpl.java:466)

                      at org.infinispan.commons.tx.TransactionImpl.runCommit(TransactionImpl.java:335)

                      at org.infinispan.commons.tx.TransactionImpl.commit(TransactionImpl.java:110)

                      at org.wildfly.clustering.ee.infinispan.InfinispanBatch.close(InfinispanBatch.java:97)

                      at org.wildfly.clustering.web.undertow.session.DistributableSession.requestDone(DistributableSession.java:91)

                      at io.undertow.servlet.spec.ServletContextImpl.updateSessionAccessTime(ServletContextImpl.java:945)

                      at io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:579)

                      at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:339)

                      at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)

                      at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)

                      at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)

                      at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)

                      at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

                      at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)

                      at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)

                      at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)

                      at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)

                      at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)

                      at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)

                      at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)

                      at io.undertow.server.Connectors.executeRootHandler(Connectors.java:360)

                      at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)

                      at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)

                      at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)

                      at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)

                      at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)

                      at java.lang.Thread.run(Thread.java:748)

              [CIRCULAR REFERENCE:org.infinispan.commons.marshall.NotSerializableException: io.undertow.websockets.core.protocol.version13.WebSocket13Channel]

      Caused by: an exception which occurred:

              in object io.undertow.websockets.core.protocol.version13.WebSocket13Channel@7782481a

              in object java.util.ArrayList@77824839

              in object java.util.HashMap@cb5997c3

       

      Not seeing any Vaadin reference in the stacktraces, so should I be looking for the problem elsewhere ?

      Thanks!