Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-482

Array index out of range Error in LoadBalancerStatisticsCollector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0 Alpha
    • None
    • None

    Description

      The following error was raised while executing a load test against the load balancer:

      [2014-02-26 21:49:34,717] ERROR - ResponseInterceptor Could not decrement in-flight request count
      java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 146
      at java.util.Vector.remove(Vector.java:777)
      at org.apache.stratos.load.balancer.statistics.LoadBalancerStatisticsCollector.removeAnInFlightRequest(LoadBalancerStatisticsCollector.java:133)
      at org.apache.stratos.load.balancer.mediators.ResponseInterceptor.mediate(ResponseInterceptor.java:41)
      at org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78)
      at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
      at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
      at org.apache.synapse.mediators.filters.OutMediator.mediate(OutMediator.java:61)
      at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
      at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
      at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
      at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:228)
      at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:486)
      at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170)
      at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
      at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
      at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      at java.lang.Thread.run(Thread.java:662)

      Attachments

        Activity

          People

            imesh Imesh Gunaratne
            imesh Imesh Gunaratne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: