weixin_39927799 2020-11-30 09:01
浏览 0

Fallback transport sometimes cut message in half

Originally by -

When testing http://artur.virtuallypreinstalled.com/CardGame/ a couple of times you quite quickly run into a "Communication Error" with a JSON message that abruptly ends in the middle. The server does not support websockets and it seems that the an update to the client some times is pushed in two parts.

Imported from https://dev.vaadin.com/ issue #11547

该提问来源于开源项目:vaadin/framework

  • 写回答

6条回答 默认 最新

  • weixin_39927799 2020-11-30 09:01
    关注

    Originally by -

    Might be related to a logged exception

    
    java.lang.NullPointerException
            at org.atmosphere.client.TrackMessageSizeInterceptor.inspect(TrackMessageSizeInterceptor.java:96)
            at org.atmosphere.cpr.AsynchronousProcessor.invokeInterceptors(AsynchronousProcessor.java:278)
            at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:244)
            at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:166)
            at org.atmosphere.container.BlockingIOCometSupport.service(BlockingIOCometSupport.java:101)
            at org.atmosphere.container.Tomcat7BIOSupportWithWebSocket.doService(Tomcat7BIOSupportWithWebSocket.java:65)
            at org.atmosphere.container.TomcatWebSocketUtil.doService(TomcatWebSocketUtil.java:87)
            at org.atmosphere.container.Tomcat7BIOSupportWithWebSocket.service(Tomcat7BIOSupportWithWebSocket.java:61)
    
    评论

报告相同问题?