Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9687 Hunspell support improvements
  3. LUCENE-9733

Hunspell: exception when loading dictionaries with mixed-case words and aliased flags

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • None
    • None
    • New

    Description

      java.lang.NumberFormatException: For input string: "ÿç397"
      at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.base/java.lang.Integer.parseInt(Integer.java:652)
      at java.base/java.lang.Integer.parseInt(Integer.java:770)
      at org.apache.lucene.analysis.hunspell.Dictionary.readSortedDictionaries(Dictionary.java:1044)
      at org.apache.lucene.analysis.hunspell.Dictionary.<init>(Dictionary.java:247)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Gromov Peter Gromov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m