1
sockjsがwebsocketプロトコルを使用している場合、私のアプリは正常に動作します。しかし、WebSocketからXHR Streamingに戻ったときに、サーバーにエラーが発生しています。Stomp SockJSエラー
22:27:13,340||ERROR|XhrReceivingTransportHandler:|Failed to read message
com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input
at [Source: [email protected]; line: 1, column: 1]
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164) ~[jackson-databind-2.3.2.jar:2.3.2]
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3036) ~[jackson-databind-2.3.2.jar:2.3.2]
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2978) ~[jackson-databind-2.3.2.jar:2.3.2]
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2144) ~[jackson-databind-2.3.2.jar:2.3.2]
at org.springframework.web.socket.sockjs.frame.Jackson2SockJsMessageCodec.decodeInputStream(Jackson2SockJsMessageCodec.java:67) ~[spring-websocket-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.web.socket.sockjs.transport.handler.XhrReceivingTransportHandler.readMessages(XhrReceivingTransportHandler.java:41) ~[spring-websocket-4.2.5.RELEASE.jar:4.2.5.RELEASE]
ご協力いただきありがとうございます。
ありがとうございました