tx-lcn icon indicating copy to clipboard operation
tx-lcn copied to clipboard

Exception in thread "Thread-18" java.lang.IllegalArgumentException: count < 0

Open developers-youcong opened this issue 4 years ago • 0 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

1. Bug Description

详细错误信息: Exception in thread "Thread-18" java.lang.IllegalArgumentException: count < 0 at java.util.concurrent.CountDownLatch.(CountDownLatch.java:199) at com.codingapi.txlcn.tc.txmsg.TMSearcher.search(TMSearcher.java:80) at com.codingapi.txlcn.tc.txmsg.AutoTMClusterEngine.prepareToResearchTMCluster(AutoTMClusterEngine.java:83) at com.codingapi.txlcn.tc.txmsg.AutoTMClusterEngine.onInitialized(AutoTMClusterEngine.java:57) at com.codingapi.txlcn.tc.txmsg.TCSideRpcInitCallBack.lambda$null$1(TCSideRpcInitCallBack.java:95) at java.util.ArrayList.forEach(ArrayList.java:1257) at com.codingapi.txlcn.tc.txmsg.TCSideRpcInitCallBack.lambda$connected$2(TCSideRpcInitCallBack.java:95) at java.lang.Thread.run(Thread.java:748)

为什么启动集群配置,启动正常成功,但是会出现这样的异常信息?

2. Environment:

  • JDK version:1.8
  • OS:window10或centos7.8
  • TX-LCN version:5.0.2
  • Others:

3. Exception Stacktrace

Paste your Exception Stacktrace here!

4. Tour Idea

developers-youcong avatar Sep 22 '20 03:09 developers-youcong