[zeromq-dev] zeromq poll exception - java

Pieter Hintjens ph at imatix.com
Sat Jun 2 21:47:40 CEST 2012


Possibly you're specifying an incorrect number of sockets to the poller.

On Sat, Jun 2, 2012 at 7:00 PM, Apostolis Xekoukoulotakis
<xekoukou at gmail.com> wrote:
> Exception in thread "main" org.zeromq.ZMQException: Invalid argument(0x16)
>     at org.zeromq.ZMQ$Poller.run_poll(Native Method)
>     at org.zeromq.ZMQ$Poller.poll(ZMQ.java:1298)
>     at org.zeromq.ZMQ$Poller.poll(ZMQ.java:1265)
>
>
> I simply registered one pull socket. Any reason why this would happen?
> I tried to create a test program to send it here but I couldnt reproduce the
> problem.
> In my project though, the problem persists. In what ways could the other
> parts of my program interfere with the ZMQ.Poller?
> Here is the test program that works.
>
> Os is debian. I use the latest zeromq , jzmq from github.
>
>
>
> --
>
>
> Sincerely yours,
>
>      Apostolis Xekoukoulotakis
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list