Forum Discussion

genkaa's avatar
genkaa
Occasional Contributor
13 years ago

OutOfBoundsException when running loadUI distributed tests.

Hey Guys,
Sometimes while running distributed performance tests my Agents are interrupted with java.lang.ArrayIndexOutOfBoundsException.
Such exception occurs each time after requests are being made during 20 minutes from any Agent. As a result I am unable to run prolonged performance tests using certain Agents. Could you please advise?

Please take a look at the examples:
Exception: java.lang.ArrayIndexOutOfBoundsException thrown from the UncaughtExceptionHandler in thread "executor-thread-229"
Exception: java.lang.ArrayIndexOutOfBoundsException thrown from the UncaughtExceptionHandler in thread "[] Event Thread"
Exception: java.lang.ArrayIndexOutOfBoundsException thrown from the UncaughtExceptionHandler in thread "executor-thread-35"
Exception: java.lang.ArrayIndexOutOfBoundsException thrown from the UncaughtExceptionHandler in thread "Thread-2"

Load Agent version: loadUI-Agent-2.0.1-SNAPSHOT.

My project consists of:
VU Scenario
-Fixed Rate
-Script runner
-Table Log

Rate:
33 requsts/sec. from 3 Agents.
Total: 99 requests/sec.
  • genkaa's avatar
    genkaa
    Occasional Contributor
    Hello guys,

    Is there any chance this question will be answered?

    Thanks in advance.
  • deggial's avatar
    deggial
    Occasional Contributor
    Same issue here (load ui agent 2.1.1 64 bit), observed when generating more than 200 requests per second (tried with Ramp and Fixed load generator):

    Exception: java.lang.ArrayIndexOutOfBoundsException thrown from the UncaughtExceptionHandler in thread "Thread-17"

    Although one of the agents spitted lots of messages stating that stale connection detected, nullpointerexception and this:

    13:33:12,272 ERROR [SoapUI] An error occured [java.lang.NullPointerException], see error log for details
    java.lang.IllegalStateException: No match found
    at java.util.regex.Matcher.group(Unknown Source)
    at com.eviware.soapui.support.GroovyUtils.extractErrorLineNumber(GroovyUtils.java:140)
    at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:172)
    at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:238)
    at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:48)
    at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:147)
    at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:42)
    at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
    at com.eviware.loadui.components.soapui.SoapUISamplerComponent$SoapUITestCaseRunner.run(SoapUISamplerComponent.java:735)
    at com.eviware.loadui.components.soapui.SoapUISamplerComponent.sample(SoapUISamplerComponent.java:577)
    at com.eviware.loadui.impl.component.categories.RunnerBase.doSample(RunnerBase.java:507)
    at com.eviware.loadui.impl.component.categories.RunnerBase.access$700(RunnerBase.java:68)
    at com.eviware.loadui.impl.component.categories.RunnerBase$Worker.run(RunnerBase.java:774)
    at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:198)
    at java.lang.Thread.run(Unknown Source)


    Both agents are 8-core machines with 16GB of Ram (ubuntu 12.04.2 LTS) (resources are still plentiful when load ui hangs)

    Under lower load such situation didn't occur during test which lasted 1 hour, with high load less than 10 minutes guarantees such errors.
  • genkaa's avatar
    genkaa
    Occasional Contributor
    Hello Henrik,

    Just those lines.

    Thanks for your time!
    BR,
    Gena