question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

at zmq.socket.pubsub.Dist.terminated(Dist.java:102) ERROR

See original GitHub issue

zmq.socket.pubsub.Dist.java line: 102 Collections.swap(pipes, pipes.indexOf(pipe), eligible - 1); The length of ‘(eligible - 1)’ may bigger than length of pipes, that must cause the java exception of IndexOutOfBoundsException.

java.lang.IndexOutOfBoundsException: Index: 172, Size: 172
     at java.util.ArrayList.rangeCheck(ArrayList.java:653)
     at java.util.ArrayList.set(ArrayList.java:444)
     at java.util.Collections.swap(Collections.java:497)
     at zmq.socket.pubsub.Dist.terminated(Dist.java:102)
     at zmq.socket.pubsub.XPub.xpipeTerminated(XPub.java:156)
     at zmq.SocketBase.pipeTerminated(SocketBase.java:1123)
     at zmq.pipe.Pipe.processPipeTermAck(Pipe.java:397)
     at zmq.ZObject.processCommand(ZObject.java:91)
     at zmq.Command.process(Command.java:75)
     at zmq.SocketBase.processCommands(SocketBase.java:936)
     at zmq.SocketBase.send(SocketBase.java:696) 

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
daveyarwoodcommented, Nov 2, 2018

@xixifeng 其实,我在大学学过一点中文!但是,很久没练习了。😅

1reaction
xixifengcommented, Nov 5, 2018

@daveyarwood 作为一个外国人,你这句中文说得非常好。“其实”表示承上文,“但是”表示转折的语气,这个你都知道,就连标点符号都用对了,很了不起!中文博大精深,她是立体、多维的。就算是我们这些把中文当作母语的人都很难掌握,你的智力非凡,如果你愿意继续学习中文,一定能更上一层楼。 一次偶然机会,我听到 clojure 之父 Rich Hickey 的演讲,他说,“建议年轻人应该追求其它的学习兴趣去帮助理解在编程中的各种问题”。我知道你也使用 clojure,学习中文的思维,可能对编程有帮助,就像我学习英文一样,从中受益匪浅。

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 5 - Advanced Pub-Sub Patterns - ZeroMQ Guide
Pub-sub addresses an old messaging problem, which is multicast or group ... You get weird spikes, unfair distribution (some subscribers getting the message ......
Read more >
c# - ZMQ Pub-Sub Program Failure When Losing Network ...
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information ...
Read more >
Zeromq Jeromq Statistics & Issues - Codesti
Issue Title State Comments Created Date Updated Date Problem: No clear examples for Curve usage open 0 2022‑11‑15 2022‑12‑04 Problem: Changelog is out of date...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found