EasySocket icon indicating copy to clipboard operation
EasySocket copied to clipboard

服务端如果突然断开连接,客户端inputStream会NullPointerException导致程序崩溃

Open BestDreams opened this issue 4 years ago • 1 comments

java.lang.NullPointerException: Attempt to invoke virtual method 'int java.io.InputStream.read(byte[])' on a null object reference at com.easysocket.connection.iowork.EasyReader.readOriginDataFromSteam(EasyReader.java:217) at com.easysocket.connection.iowork.EasyReader.read(EasyReader.java:66) at com.easysocket.connection.iowork.EasyReader$1.run(EasyReader.java:194) at java.lang.Thread.run(Thread.java:761)

BestDreams avatar Sep 23 '20 06:09 BestDreams

出现了同样的问题

Hwy152 avatar Oct 28 '20 07:10 Hwy152