Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4071 Improve code quality (3)
  3. PDFBOX-4122

Resolve potential NPEs flagged by Sonar

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0 PDFBox
    • 3.0.0 PDFBox
    • None
    • None

    Description

      We have many potential NPEs resolved by now but there are still some flagged by Sonar

      https://builds.apache.org/analysis/component_issues?id=org.apache.pdfbox%3Apdfbox-reactor#resolved=false|types=BUG|severities=BLOCKER.

      Although it's very unlikely that we hit them in practice e.g. as this would mean a very corrupt font file I'll try to resolve these debug logging the condition and returning in that case.

      tilman lehmi please comment/revert if you are not happy with the approach.

      Attachments

        Activity

          People

            msahyoun Maruan Sahyoun
            msahyoun Maruan Sahyoun
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: