Solr
  1. Solr
  2. SOLR-1504

empty char mapping can cause ArrayIndexOutOfBoundsException in analysis.jsp and co.

    Details

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

      Description

      If you have the following mapping rule in mapping.txt:

      # destination can be empty
      "NULL" => ""
      

      you can get AIOOBE by specifying NULL for either index or query data in the input form of analysis.jsp (and co. i.e. DocumentAnalysisRequestHandler and FieldAnalysisRequestHandler).

      1. SOLR-1504.patch
        1 kB
        Koji Sekiguchi

        Activity

        Hide
        Koji Sekiguchi added a comment -

        A patch for the fix. Will commit soon.

        Show
        Koji Sekiguchi added a comment - A patch for the fix. Will commit soon.
        Hide
        Koji Sekiguchi added a comment -

        Committed revision 824045.

        Show
        Koji Sekiguchi added a comment - Committed revision 824045.
        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:
            Koji Sekiguchi
            Reporter:
            Koji Sekiguchi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development