Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1077

DIH: java.lang.IndexOutOfBoundsException with useSolrAddSchema in XPathEntityProcessor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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
        gsingers Grant Ingersoll added a comment -

        Bulk close for Solr 1.4

        Show
        gsingers Grant Ingersoll added a comment - Bulk close for Solr 1.4
        Hide
        shalinmangar Shalin Shekhar Mangar added a comment -

        Committed revision 756684.

        Thanks Sam and Noble!

        Show
        shalinmangar Shalin Shekhar Mangar added a comment - Committed revision 756684. Thanks Sam and Noble!
        Hide
        samkeen 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
        samkeen 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
        noble.paul Noble Paul added a comment -

        supposedly the fix

        Show
        noble.paul Noble Paul added a comment - supposedly the fix

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development