Solr
  1. Solr
  2. SOLR-1077

DIH: java.lang.IndexOutOfBoundsException with useSolrAddSchema in XPathEntityProcessor

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Labels:
      None

      Description

      Index checks are not done properly in XPathEntityProcessor when useSolrAddSchema is used

      Caused by: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.get(ArrayList.java:321) at
      org.apache.solr.handler.dataimport.XPathEntityProcessor.readRow(XPathEntityProcessor.java:266) at
      org.apache.solr.handler.dataimport.XPathEntityProcessor.access$100(XPathEntityProcessor.java:53) at
      

      mail : http://markmail.org/message/zd7whumzxvy3b2mx

      1. SOLR-1077.patch
        0.9 kB
        Noble Paul

        Activity

        Hide
        Noble Paul added a comment -

        supposedly the fix

        Show
        Noble Paul added a comment - supposedly the fix
        Hide
        Sam Keen added a comment -

        My email was what caused this issue to be logged.

        I've applied the patch and now this is fixed for me.
        Thanks for the incredibly fast turn around on this.

        cheers,
        sam

        Show
        Sam Keen added a comment - My email was what caused this issue to be logged. I've applied the patch and now this is fixed for me. Thanks for the incredibly fast turn around on this. cheers, sam
        Hide
        Shalin Shekhar Mangar added a comment -

        Committed revision 756684.

        Thanks Sam and Noble!

        Show
        Shalin Shekhar Mangar added a comment - Committed revision 756684. Thanks Sam and Noble!
        Hide
        Grant Ingersoll added a comment -

        Bulk close for Solr 1.4

        Show
        Grant Ingersoll added a comment - Bulk close for Solr 1.4

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Noble Paul
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development