-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting below errors after socket opened and when i try to subscribe my payload from Server sometimes #230
Comments
hello, anyone has same issue. |
It would greatly increase fix chance if you provide a code snippet to reproduce the issue(and use some markdown). |
Hi, Here is the Socket manager class which i written for Socket connection and data subscription.
|
1st Error: handleCallbackError: java.util.TreeMap cannot be cast to java.lang.Throwable
2nd error: @OverRide
public void handleCallbackError(WebSocket websocket, Throwable cause) throws Exception {
super.handleCallbackError(websocket, cause);
Log.i(TAG, " handleCallbackError: " + cause.getMessage());
}
handleCallbackError: java.lang.RuntimeException: Can't create handler inside thread Thread[WritingThread,5,main] that has not called Looper.prepare()
because of 2nd error sometimes i could not able to subscribe my payload and no updates from server
The text was updated successfully, but these errors were encountered: