Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-3091

java.lang.NullPointerException when calling hashCode after instantiating PDFParserConfig

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.24
    • 1.24.1
    • None
    • None

    Description

      averageCharTolerance and spacingTolerance are null after instantiating PDFParserConfig
      that can cause NullPointerException when calling hashCode. 

      PDFParserConfig pdfParserConfig = new PDFParserConfig();
      pdfParserConfig.hashCode();
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              guima Eduardo Guimarães
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: