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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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).

        Attachments

        1. SOLR-1504.patch
          1 kB
          Koji Sekiguchi

          Activity

            People

            • Assignee:
              koji Koji Sekiguchi
              Reporter:
              koji Koji Sekiguchi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: