You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
发消息的时候会产生这个错误类型转换异常。产生错误后就会导致服务器崩溃
Exception in thread "Thread-2" java.lang.ClassCastException: class com.chen.a12763.myqq.bean.ChatEntity cannot be cast to class com.chen.a12763.myqq.bean.User (com.chen.a12763.myqq.bean.ChatEntity and com.chen.a12763.myqq.bean.User are in unnamed module of loader 'app')
at com.chen.a12763.myqq.client.ClientActivity.update_info(ClientActivity.java:255)
at com.chen.a12763.myqq.client.ClientListenThread.readMsg(ClientListenThread.java:60)
at com.chen.a12763.myqq.client.ClientListenThread.run(ClientListenThread.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
The text was updated successfully, but these errors were encountered:
发消息的时候会产生这个错误类型转换异常。产生错误后就会导致服务器崩溃
Exception in thread "Thread-2" java.lang.ClassCastException: class com.chen.a12763.myqq.bean.ChatEntity cannot be cast to class com.chen.a12763.myqq.bean.User (com.chen.a12763.myqq.bean.ChatEntity and com.chen.a12763.myqq.bean.User are in unnamed module of loader 'app')
at com.chen.a12763.myqq.client.ClientActivity.update_info(ClientActivity.java:255)
at com.chen.a12763.myqq.client.ClientListenThread.readMsg(ClientListenThread.java:60)
at com.chen.a12763.myqq.client.ClientListenThread.run(ClientListenThread.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
The text was updated successfully, but these errors were encountered: