binance-java-api is a lightweight Java library for the Binance API, supporting synchronous and asynchronous requests, as well as event streaming using WebSockets.
When running the UserDataStreamExample, after receiving an OrderTradeUpdateEvent, the final callback returns a null object at line 38, which then throws a NPE when trying to retrieve getOriginalQuantity().
When running the UserDataStreamExample, after receiving an OrderTradeUpdateEvent, the final callback returns a null object at line 38, which then throws a NPE when trying to retrieve getOriginalQuantity().
Just added a null check for the event.