Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert 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.

Solutions on the web

via Spring JIRA by Mark Anderson, 1 year ago
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]
via Spring JIRA by Mark Anderson, 1 year ago
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]
via Eclipse Bugzilla by gregw, 1 year ago
Cannot call method public void org.eclipse.jetty.websocket.jsr356.server.JettyEchoSocket#onMessage(java.lang.String) with args: [java.lang.String]
via Stack Overflow by dargolith
, 2 years ago
Cannot call method public void ClientSocket#onClose(org.eclipse.jetty.websocket.api.Session, int, java.lang.String) with args: [org.eclipse.jetty.websocket.common.WebSocketSession, java.lang.Integer, <null>]
via Stack Overflow by user3986688
, 1 year ago
Cannot call method public void oooo.WebSocketConnection#onMessage(java.lang.String) with args: [java.lang.String]
java.lang.IllegalArgumentException: payload must not be null	at org.springframework.util.Assert.notNull(Assert.java:112)	at org.springframework.web.socket.AbstractWebSocketMessage.(AbstractWebSocketMessage.java:52)	at org.springframework.web.socket.AbstractWebSocketMessage.(AbstractWebSocketMessage.java:40)	at org.springframework.web.socket.PongMessage.(PongMessage.java:41)	at org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter.onWebSocketFrame(JettyWebSocketHandlerAdapter.java:99)	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)	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)