-
Notifications
You must be signed in to change notification settings - Fork 622
ClassCastException on onAllMarketTickersEvent stream #72
Comments
I think the reason here is that Q A v q cannot be parsed as long. Maybe because of a recent update. |
Yes, I am facing the same issue and it is really annoying. Pleace fix this fast! |
The problem is the constructor
You can't get the Typereference of the callback that way. As a quick fix change the
This is only a temporary solution of course. Furthermore you have to change the type of Q A v q in |
Hi everyone, I'm unable to reproduce this problem, please make sure you update your repository and you're using the latest version, since there were some recent updates on the websocket-based client. |
For reference, I'm using Java(TM) SE Runtime Environment (build 1.8.0_60-b27) |
I think this is an issue related to the Runtime Environment. I switched to yours an it is working fine. When I am using my default which is 1.8.0_144 it is throwing errors. Could you pleace consider testing the API with newer Runtime versions? |
Have the same problem. Here is another example for a quick fix:
|
Hi, I used this code; for (Iterator iter = response.iterator(); iter.hasNext(); ) |
Pull request #117 fixes this issue. |
Still not fixed? Struggling with it 👎 |
This is now fixed, please update your repo. |
I am getting a class cast exception when using the market ticker event stream.
Is anyone else having this issue? Code below for reference.
The text was updated successfully, but these errors were encountered: