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

Use uniqueKey for error log in UIMAUpdateRequestProcessor

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None

      Description

      In UIMAUpdateRequestProcessor the catch block in processAdd() method can have a StringIndexOutOfBoundsException while composing the error message if the logging field is not set and the text being processed is shorter than 100 chars (...append(text.substring(0, 100))...).

        Attachments

        1. SOLR-2582.patch
          3 kB
          Koji Sekiguchi

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: