Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-2335

data monitor throw IndexOutOfBoundsException if no address configured

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • java-chassis-2.6.0
    • Java-Chassis
    • None

    Description

      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) ~[na:1.8.0_111] at java.util.ArrayList.get(ArrayList.java:429) ~[na:1.8.0_111] at org.apache.servicecomb.huaweicloud.dashboard.monitor.AddressManager.nextServer(AddressManager.java:63) ~[classes/:na] at org.apache.servicecomb.huaweicloud.dashboard.monitor.DefaultMonitorDataPublisher.publish(DefaultMonitorDataPublisher.java:83) ~[classes/:na] at org.apache.servicecomb.huaweicloud.dashboard.monitor.DataFactory.sendData(DataFactory.java:93) ~[classes/:na] at org.apache.servicecomb.huaweicloud.dashboard.monitor.DataFactory.lambda$start$0(DataFactory.java:78) ~[classes/:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_111] at java.util.concurrent.FutureTask.runAndReset$$$capture(FutureTask.java:308) ~[na:1.8.0_111] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java) ~[na:1.8.0_111] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[na:1.8.0_111] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[na:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_111] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.67.Final.jar:4.1.67.Final] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111]

      Attachments

        Issue Links

          Activity

            People

              liubao68 liubao
              liubao68 liubao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: