Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4324

while extracting text from region : "Error: expected hex character and not s:115"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 2.0.2
    • Fix Version/s: None
    • Component/s: Text extraction
    • Labels:
      None

      Description

      I am getting following error when I try to extract text of any specific region of 2nd page of attached pdf (while 1st page is working fine)

       

      Error Message:

      "Error: expected hex character and not s:115"

       

      Stack-trace:

      at org.apache.pdfbox.contentstream.PDFStreamEngine.operatorException(Operator operator, List operands, IOException e)
      at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(Operator operator, List operands)
      at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDContentStream )
      at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDContentStream )
      at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDPage page)
      at org.apache.pdfbox.text.PDFTextStreamEngine.processPage(PDPage )
      at org.apache.pdfbox.text.PDFTextStripper.processPage(PDPage page)
      at org.apache.pdfbox.text.PDFTextStripperByArea.extractRegions(PDPage page)

        Attachments

        1. ToUnicode.txt
          0.3 kB
          Tilman Hausherr
        2. SRI NAGAR.PDF
          49 kB
          Amit Maheshwari

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aa.amit.mahheshwari Amit Maheshwari
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: