Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-1138

searchrate throws java.lang.IndexOutOfBoundsException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 3.0.0, 2.8.0
    • Component/s: tools
    • Labels:
    • Environment:
      Linux hostname 2.6.32-358.6.1.el6.x86_64 #1 SMP Fri Mar 29 16:51:51 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
    • Sprint:
      Sprint 44

      Description

      When running:

      ./searchrate -h host.customer.com -p 1389 -D "cn=Directory Manager" -b dc=customer,dc=com -A -F -c 8 -t 4 "(cn=jdoe)"

      After a period of time the search stops and I get the following:

      Sep 07, 2013 12:33:40 AM org.glassfish.grizzly.filterchain.DefaultFilterChain execute
      WARNING: Exception during FilterChain execution
      java.lang.IndexOutOfBoundsException
      at com.forgerock.opendj.ldap.tools.PerformanceRunner$ReversableArray.set(PerformanceRunner.java:547)
      at com.forgerock.opendj.ldap.tools.PerformanceRunner$UpdateStatsResultHandler.updateStats(PerformanceRunner.java:372)
      at com.forgerock.opendj.ldap.tools.PerformanceRunner$UpdateStatsResultHandler.handleResult(PerformanceRunner.java:363)
      at com.forgerock.opendj.ldap.tools.PerformanceRunner$UpdateStatsResultHandler.handleResult(PerformanceRunner.java:345)
      at com.forgerock.opendj.util.AsynchronousFutureResult$Sync.innerSetResult(AsynchronousFutureResult.java:186)
      at com.forgerock.opendj.util.AsynchronousFutureResult.handleResult(AsynchronousFutureResult.java:322)
      at com.forgerock.opendj.ldap.AbstractLDAPFutureResultImpl.setResultOrError(AbstractLDAPFutureResultImpl.java:131)
      at com.forgerock.opendj.ldap.LDAPClientFilter$1.searchResult(LDAPClientFilter.java:346)
      at com.forgerock.opendj.ldap.LDAPClientFilter$1.searchResult(LDAPClientFilter.java:79)
      at com.forgerock.opendj.ldap.LDAPReader.decodeSearchResult(LDAPReader.java:1339)
      at com.forgerock.opendj.ldap.LDAPReader.decodeProtocolOp(LDAPReader.java:1137)
      at com.forgerock.opendj.ldap.LDAPReader.decode(LDAPReader.java:166)
      at com.forgerock.opendj.ldap.LDAPClientFilter.handleRead(LDAPClientFilter.java:499)
      at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
      at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
      at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
      at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
      at org.glassfish.grizzly.strategies.SameThreadIOStrategy.executeIoEvent(SameThreadIOStrategy.java:103)
      at org.glassfish.grizzly.strategies.AbstractIOStrategy.executeIoEvent(AbstractIOStrategy.java:89)
      at org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents(SelectorRunner.java:409)
      at org.glassfish.grizzly.nio.SelectorRunner.iterateKeys(SelectorRunner.java:378)
      at org.glassfish.grizzly.nio.SelectorRunner.doSelect(SelectorRunner.java:342)
      at org.glassfish.grizzly.nio.SelectorRunner.run(SelectorRunner.java:274)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
      at java.lang.Thread.run(Thread.java:722)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gaetan Gaetan Boismal
                Reporter:
                brad.tumy Brad Tumy
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: