java.lang.ArrayIndexOutOfBoundsException: 2 at __randomizedtesting.SeedInfo.seed([19514036FB5C5E56:3A131EC016F531A4]:0)

Apache's JIRA Issue Tracker | Steve Rowe | 2 years ago
  1. 0

    Since {{CompositeIdRouter}} is the default router, it has to be able to deal with *any* ID string without throwing an exception. The following test (added to {{TestHashPartitioner}}) currently fails: {code:java} public void testNonConformingCompositeId() throws Exception { DocRouter router = DocRouter.getDocRouter(CompositeIdRouter.NAME); DocCollection coll = createCollection(4, router); Slice targetSlice = coll.getRouter().getTargetSlice("A!B!C!D", null, null, coll); assertNotNull(targetSlice); } {code} with the following output: {noformat} [junit4] Suite: org.apache.solr.cloud.TestHashPartitioner [junit4] 2> log4j:WARN No such property [conversionPattern] in org.apache.solr.util.SolrLogLayout. [junit4] 2> Creating dataDir: /Users/sarowe/svn/lucene/dev/trunk/solr/build/solr-core/test/J0/./temp/solr.cloud.TestHashPartitioner-19514036FB5C5E56-001/init-core-data-001 [junit4] 2> 1233 T11 oas.SolrTestCaseJ4.buildSSLConfig Randomized ssl (false) and clientAuth (false) [junit4] 2> 1296 T11 oas.SolrTestCaseJ4.setUp ###Starting testNonConformingCompositeId [junit4] > Throwable #1: java.lang.ArrayIndexOutOfBoundsException: 2 [junit4] > at __randomizedtesting.SeedInfo.seed([19514036FB5C5E56:3A131EC016F531A4]:0) [junit4] > at org.apache.solr.common.cloud.CompositeIdRouter$KeyParser.getHash(CompositeIdRouter.java:296) [junit4] > at org.apache.solr.common.cloud.CompositeIdRouter.sliceHash(CompositeIdRouter.java:58) [junit4] > at org.apache.solr.common.cloud.HashBasedRouter.getTargetSlice(HashBasedRouter.java:33) [junit4] > at org.apache.solr.cloud.TestHashPartitioner.testNonConformingCompositeId(TestHashPartitioner.java:205) [junit4] > at java.lang.Thread.run(Thread.java:745) {noformat}

    Apache's JIRA Issue Tracker | 2 years ago | Steve Rowe
    java.lang.ArrayIndexOutOfBoundsException: 2 at __randomizedtesting.SeedInfo.seed([19514036FB5C5E56:3A131EC016F531A4]:0)
  2. 0

    Lucene - Java Developer - [JENKINS] Lucene-Solr-6.x-Linux (32bit/jdk1.8.0_72) - Build # 61 - Failure!

    nabble.com | 6 months ago
    java.lang.ArrayIndexOutOfBoundsException: 5 at __randomizedtesting.SeedInfo.seed([D01EF4009F8F5DBA:ECE42B280D1049DB]:0)
  3. 0

    [JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.8.0-ea-b79) - Build # 4649 - Failure! - Grokbase

    grokbase.com | 4 months ago
    java.lang.ArrayIndexOutOfBoundsException: 37 at __randomizedtesting.SeedInfo.seed([B91765FCB4B64600]:0)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Lucene - Java Developer - [JENKINS] Lucene-Solr-6.x-Linux (32bit/jdk1.8.0_72) - Build # 61 - Failure!

    nabble.com | 6 months ago
    java.lang.ArrayIndexOutOfBoundsException: 12 at __randomizedtesting.SeedInfo.seed([D01EF4009F8F5DBA:DF926EF52CE7764F]:0)
  6. 0

    [JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.8.0-ea-b79) - Build # 4649 - Failure! - Grokbase

    grokbase.com | 4 months ago
    java.lang.ArrayIndexOutOfBoundsException: 37 at __randomizedtesting.SeedInfo.seed([B91765FCB4B64600]:0)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      2 at __randomizedtesting.SeedInfo.seed([19514036FB5C5E56:3A131EC016F531A4]:0)

      at org.apache.solr.common.cloud.CompositeIdRouter$KeyParser.getHash()
    2. Apache Solr Solrj
      HashBasedRouter.getTargetSlice
      1. org.apache.solr.common.cloud.CompositeIdRouter$KeyParser.getHash(CompositeIdRouter.java:296)
      2. org.apache.solr.common.cloud.CompositeIdRouter.sliceHash(CompositeIdRouter.java:58)
      3. org.apache.solr.common.cloud.HashBasedRouter.getTargetSlice(HashBasedRouter.java:33)
      3 frames
    3. Apache Solr Core
      TestHashPartitioner.testNonConformingCompositeId
      1. org.apache.solr.cloud.TestHashPartitioner.testNonConformingCompositeId(TestHashPartitioner.java:205)
      1 frame
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame