org.eclipse.jetty.websocket.api.WebSocketException

tip

If you're unit testing, you should instantiate only the service and mock the dependencies. If you're testing integration, you should add all the mocking to the configurations file.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • An unhandled error occurs when an unsolicited pong frame with zero length payload is received from IE11. I'm using Spring Framework 4.1.4 and Jetty 9.2.6. It seems that Jetty returns a null payload when an unsolicited pong frame is received and Spring cannot handle this. {noformat} WARN Feb 18 10:54:50 (328489 [qtp300104620-117] org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter) Unhandled Error (closing connection) [java] org.eclipse.jetty.websocket.api.WebSocketException: Cannot call method public void org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter#onWebSocketFrame(org.eclipse.jetty.websocket.api.extensions.Frame) with args: [org.eclipse.jetty.websocket.common.frames.PongFrame] [java] at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:99) [java] at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:72) [java] at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onFrame(JettyAnnotatedEventDriver.java:149) [java] at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:107) [java] at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:309) [java] at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:214) [java] at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220) [java] at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258) [java] at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:613) [java] at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:468) [java] at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) [java] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:626) [java] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:546) [java] at java.lang.Thread.run(Thread.java:745) [java] Caused by: java.lang.reflect.InvocationTargetException [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [java] at java.lang.reflect.Method.invoke(Method.java:483) [java] at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:71) [java] ... 13 more [java] Caused by: java.lang.IllegalArgumentException: payload must not be null [java] at org.springframework.util.Assert.notNull(Assert.java:112) [java] at org.springframework.web.socket.AbstractWebSocketMessage.<init>(AbstractWebSocketMessage.java:52) [java] at org.springframework.web.socket.AbstractWebSocketMessage.<init>(AbstractWebSocketMessage.java:40) [java] at org.springframework.web.socket.PongMessage.<init>(PongMessage.java:41) [java] at org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter.onWebSocketFrame(JettyWebSocketHandlerAdapter.java:99) [java] ... 18 more {noformat}
    via by Mark Anderson,
  • An unhandled error occurs when an unsolicited pong frame with zero length payload is received from IE11. I'm using Spring Framework 4.1.4 and Jetty 9.2.6. It seems that Jetty returns a null payload when an unsolicited pong frame is received and Spring cannot handle this. {noformat} WARN Feb 18 10:54:50 (328489 [qtp300104620-117] org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter) Unhandled Error (closing connection) [java] org.eclipse.jetty.websocket.api.WebSocketException: Cannot call method public void org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter#onWebSocketFrame(org.eclipse.jetty.websocket.api.extensions.Frame) with args: [org.eclipse.jetty.websocket.common.frames.PongFrame] [java] at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:99) [java] at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:72) [java] at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onFrame(JettyAnnotatedEventDriver.java:149) [java] at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:107) [java] at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:309) [java] at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:214) [java] at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220) [java] at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258) [java] at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:613) [java] at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:468) [java] at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) [java] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:626) [java] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:546) [java] at java.lang.Thread.run(Thread.java:745) [java] Caused by: java.lang.reflect.InvocationTargetException [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [java] at java.lang.reflect.Method.invoke(Method.java:483) [java] at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:71) [java] ... 13 more [java] Caused by: java.lang.IllegalArgumentException: payload must not be null [java] at org.springframework.util.Assert.notNull(Assert.java:112) [java] at org.springframework.web.socket.AbstractWebSocketMessage.<init>(AbstractWebSocketMessage.java:52) [java] at org.springframework.web.socket.AbstractWebSocketMessage.<init>(AbstractWebSocketMessage.java:40) [java] at org.springframework.web.socket.PongMessage.<init>(PongMessage.java:41) [java] at org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter.onWebSocketFrame(JettyWebSocketHandlerAdapter.java:99) [java] ... 18 more {noformat}
    via by Mark Anderson,
  • If JmsOutboundGateway.sendAndReceive() [line 236] returns null because of a receive timeout or because no reply is on the queue, this null gets propagated to the message converter fromMessage() method which fails an assert, resulting in a "payload must not be null" error message. Stack trace below. org.springframework.integration.message.MessageHandlingException: error occurred in message handler [org.springframework.integration.jms.JmsOutboundGateway@1b5391b] at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:54) at org.springframework.integration.dispatcher.AbstractDispatcher.sendMessageToHandler(AbstractDispatcher.java:75) at org.springframework.integration.dispatcher.SimpleDispatcher.dispatch(SimpleDispatcher.java:45) at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:56) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:116) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:94) at org.springframework.integration.channel.MessageChannelTemplate.doSend(MessageChannelTemplate.java:222) at org.springframework.integration.channel.MessageChannelTemplate.doSendAndReceive(MessageChannelTemplate.java:247) at org.springframework.integration.channel.MessageChannelTemplate.sendAndReceive(MessageChannelTemplate.java:214) at org.springframework.integration.channel.MessageChannelTemplate.sendAndReceive(MessageChannelTemplate.java:202) at com.ccbill.tgs.services.CoreServicesProxyImpl.processMerchantRequest(CoreServicesProxyImpl.java:58) at com.ccbill.tgs.servlet.MerchantInterfaceServlet.doGet(MerchantInterfaceServlet.java:96) at com.ccbill.tgs.servlet.MerchantInterfaceServletTest.testWithValidAmount(MerchantInterfaceServletTest.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.ParentRunner.run(ParentRunner.java:220) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: java.lang.IllegalArgumentException: payload must not be null at org.springframework.util.Assert.notNull(Assert.java:112) at org.springframework.integration.message.MessageBuilder.<init>(MessageBuilder.java:50) at org.springframework.integration.message.MessageBuilder.withPayload(MessageBuilder.java:79) at org.springframework.integration.handler.ReplyMessageHolder.createAndAddBuilder(ReplyMessageHolder.java:74) at org.springframework.integration.handler.ReplyMessageHolder.set(ReplyMessageHolder.java:38) at org.springframework.integration.jms.JmsOutboundGateway.handleRequestMessage(JmsOutboundGateway.java:203) at org.springframework.integration.handler.AbstractReplyProducingMessageHandler.handleMessageInternal(AbstractReplyProducingMessageHandler.java:101) at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:48) ... 36 more
    via by Emerson Farrugia,
  • While prepping to release Spring BlazeDS Integration 1.5.0.M2, I discovered a change in the behavior of the inbound-channel-adapter. When referencing a POJO method, and the method returns null, the following error now occurs (whereas versions prior to 2.0.2 allowed this, essentially discarding the null result): {code} ERROR: org.springframework.integration.handler.LoggingHandler - java.lang.IllegalArgumentException: payload must not be null at org.springframework.util.Assert.notNull(Assert.java:112) at org.springframework.integration.support.MessageBuilder.<init>(MessageBuilder.java:57) at org.springframework.integration.support.MessageBuilder.withPayload(MessageBuilder.java:83) at org.springframework.integration.endpoint.AbstractMessageSource.receive(AbstractMessageSource.java:74) at org.springframework.integration.endpoint.SourcePollingChannelAdapter.doPoll(SourcePollingChannelAdapter.java:89) at org.springframework.integration.endpoint.AbstractPollingEndpoint$1.call(AbstractPollingEndpoint.java:145) at org.springframework.integration.endpoint.AbstractPollingEndpoint$1.call(AbstractPollingEndpoint.java:143) at org.springframework.integration.endpoint.AbstractPollingEndpoint$Poller$1.run(AbstractPollingEndpoint.java:206) at org.springframework.integration.util.ErrorHandlingTaskExecutor$1.run(ErrorHandlingTaskExecutor.java:52) at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:48) at org.springframework.integration.util.ErrorHandlingTaskExecutor.execute(ErrorHandlingTaskExecutor.java:49) at org.springframework.integration.endpoint.AbstractPollingEndpoint$Poller.run(AbstractPollingEndpoint.java:201) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:51) at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) {code} For an example of the problem, see the Spring BlazeDS Integration Test Drive app at: https://src.springframework.org/svn/spring-flex/trunk/spring-flex-samples/spring-flex-testdrive This error appears upon startup, and reoccurs every 5 seconds due to the configured polling interval.
    via by Jeremy Grelle,
  • If JmsOutboundGateway.sendAndReceive() [line 236] returns null because of a receive timeout or because no reply is on the queue, this null gets propagated to the message converter fromMessage() method which fails an assert, resulting in a "payload must not be null" error message. Stack trace below. org.springframework.integration.message.MessageHandlingException: error occurred in message handler [org.springframework.integration.jms.JmsOutboundGateway@1b5391b] at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:54) at org.springframework.integration.dispatcher.AbstractDispatcher.sendMessageToHandler(AbstractDispatcher.java:75) at org.springframework.integration.dispatcher.SimpleDispatcher.dispatch(SimpleDispatcher.java:45) at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:56) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:116) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:94) at org.springframework.integration.channel.MessageChannelTemplate.doSend(MessageChannelTemplate.java:222) at org.springframework.integration.channel.MessageChannelTemplate.doSendAndReceive(MessageChannelTemplate.java:247) at org.springframework.integration.channel.MessageChannelTemplate.sendAndReceive(MessageChannelTemplate.java:214) at org.springframework.integration.channel.MessageChannelTemplate.sendAndReceive(MessageChannelTemplate.java:202) at com.ccbill.tgs.services.CoreServicesProxyImpl.processMerchantRequest(CoreServicesProxyImpl.java:58) at com.ccbill.tgs.servlet.MerchantInterfaceServlet.doGet(MerchantInterfaceServlet.java:96) at com.ccbill.tgs.servlet.MerchantInterfaceServletTest.testWithValidAmount(MerchantInterfaceServletTest.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.ParentRunner.run(ParentRunner.java:220) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: java.lang.IllegalArgumentException: payload must not be null at org.springframework.util.Assert.notNull(Assert.java:112) at org.springframework.integration.message.MessageBuilder.<init>(MessageBuilder.java:50) at org.springframework.integration.message.MessageBuilder.withPayload(MessageBuilder.java:79) at org.springframework.integration.handler.ReplyMessageHolder.createAndAddBuilder(ReplyMessageHolder.java:74) at org.springframework.integration.handler.ReplyMessageHolder.set(ReplyMessageHolder.java:38) at org.springframework.integration.jms.JmsOutboundGateway.handleRequestMessage(JmsOutboundGateway.java:203) at org.springframework.integration.handler.AbstractReplyProducingMessageHandler.handleMessageInternal(AbstractReplyProducingMessageHandler.java:101) at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:48) ... 36 more
    via by Emerson Farrugia,
  • While prepping to release Spring BlazeDS Integration 1.5.0.M2, I discovered a change in the behavior of the inbound-channel-adapter. When referencing a POJO method, and the method returns null, the following error now occurs (whereas versions prior to 2.0.2 allowed this, essentially discarding the null result): {code} ERROR: org.springframework.integration.handler.LoggingHandler - java.lang.IllegalArgumentException: payload must not be null at org.springframework.util.Assert.notNull(Assert.java:112) at org.springframework.integration.support.MessageBuilder.<init>(MessageBuilder.java:57) at org.springframework.integration.support.MessageBuilder.withPayload(MessageBuilder.java:83) at org.springframework.integration.endpoint.AbstractMessageSource.receive(AbstractMessageSource.java:74) at org.springframework.integration.endpoint.SourcePollingChannelAdapter.doPoll(SourcePollingChannelAdapter.java:89) at org.springframework.integration.endpoint.AbstractPollingEndpoint$1.call(AbstractPollingEndpoint.java:145) at org.springframework.integration.endpoint.AbstractPollingEndpoint$1.call(AbstractPollingEndpoint.java:143) at org.springframework.integration.endpoint.AbstractPollingEndpoint$Poller$1.run(AbstractPollingEndpoint.java:206) at org.springframework.integration.util.ErrorHandlingTaskExecutor$1.run(ErrorHandlingTaskExecutor.java:52) at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:48) at org.springframework.integration.util.ErrorHandlingTaskExecutor.execute(ErrorHandlingTaskExecutor.java:49) at org.springframework.integration.endpoint.AbstractPollingEndpoint$Poller.run(AbstractPollingEndpoint.java:201) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:51) at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) {code} For an example of the problem, see the Spring BlazeDS Integration Test Drive app at: https://src.springframework.org/svn/spring-flex/trunk/spring-flex-samples/spring-flex-testdrive This error appears upon startup, and reoccurs every 5 seconds due to the configured polling interval.
    via by Jeremy Grelle,
    • org.eclipse.jetty.websocket.api.WebSocketException: Cannot call method public void org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter#onWebSocketFrame(org.eclipse.jetty.websocket.api.extensions.Frame) with args: [org.eclipse.jetty.websocket.common.frames.PongFrame] at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:99) at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:72) at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onFrame(JettyAnnotatedEventDriver.java:149) at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:107) at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:309) at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:214) at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220) at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258) at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:613) at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:468) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:626) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:546) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:71) ... 13 more Caused by: java.lang.IllegalArgumentException: payload must not be null at org.springframework.util.Assert.notNull(Assert.java:112) at org.springframework.web.socket.AbstractWebSocketMessage.<init>(AbstractWebSocketMessage.java:52) at org.springframework.web.socket.AbstractWebSocketMessage.<init>(AbstractWebSocketMessage.java:40) at org.springframework.web.socket.PongMessage.<init>(PongMessage.java:41) at org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter.onWebSocketFrame(JettyWebSocketHandlerAdapter.java:99) ... 18 more

    Users with the same issue

    Unknown visitor
    Unknown visitor2 times, last one,
    osvzsosvzs
    2 times, last one,
    oddodd
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    189 more bugmates