zeromq/jeromq

NPE after uplift jeromq from 0.5.2 to 0.5.3

todaviaCaliente opened this issue · 3 comments

After changing jeromq version from 0.5.2 to 0.5.3 we observe NPE in Thread which monitors state of connection:

java.lang.NullPointerException: null
at org.zeromq.ZMQ$Event.recv(ZMQ.java:4264) ~[jeromq-0.5.3.jar:?]
at org.zeromq.ZMQ$Event.recv(ZMQ.java:4301) ~[jeromq-0.5.3.jar:?]

It looks like problem introduced in this commit where null-check was removed.

Javadoc for ZMQ.Event.recv(Socket, int) states:
@return the received event or null if no message was received.

It’s back in commit 9dbe413

Thank you for quick fix and response.
Is there any info about (approximate) date of 0.5.4 release ?

O.5.4 has been released.