Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-1713

PDF Document not closed during re-index

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 1.3
    • 1.2
    • Search - Core
    • Jetty 4.2.20
      Java 1.4.2_03
      SuSE 9.1

    Description

      When performing a re-index, we encounter a lot of the folloing stacktrace in our server log (I'm guessing probably 1 per pdf document we have).

      java.lang.Throwable: Warning: You did not close the PDF Document
      at org.pdfbox.cos.COSDocument.finalize(COSDocument.java:384)
      at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
      at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
      at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
      at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)

      I realize this is only a warning and the document is seemingly being closed by the finalize anyways, but we have a lot of attached pdf documents and these clutter the error log making it difficult to see if there are any "real" exceptions occuring.

      Attachments

        Activity

          People

            Unassigned Unassigned
            d30f0628ab1d Craig McElroy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: