【BUG】The remote endpoint was in state [TEXT_PARTIAL_WRITING] which is an invalid stat
1.报错信息
Caused by: java.lang.IllegalStateException: The remote endpoint was in state [TEXT_PARTIAL_WRITING] which is an invalid state for called method
2.解决方法
加锁,保证一个session在某个时刻不会被调用多次
参考:https://blog.csdn.net/qq_20641565/article/details/80857408