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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 1.4
    • Schema and Analysis
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment