How can I handle java.io.EOFException?
The error came up in the QR Scan Fragment that I created, when I finished scan, the error said
D/StompClient: Socket closed with error
Below are the list of error:-
java.lang.Exception: java.io.EOFException
at ua.naiksoftware.stomp.provider.OkHttpConnectionProvider$1.onFailure(OkHttpConnectionProvider.java:84)
at okhttp3.internal.ws.RealWebSocket.failWebSocket(RealWebSocket.java:570)
at okhttp3.internal.ws.RealWebSocket$1.onResponse(RealWebSocket.java:211)...