Tilman Hausherr created PDFBOX-5981: ---------------------------------------
Summary: error "read() returns -1, assumed position: 8192, actual position: 8192" Key: PDFBOX-5981 URL: https://issues.apache.org/jira/browse/PDFBOX-5981 Project: PDFBox Issue Type: Bug Components: IO Affects Versions: 3.0.4 PDFBox Reporter: Tilman Hausherr Assignee: Tilman Hausherr Fix For: 3.0.5 PDFBox, 4.0.0 I was analyzing page content streams as a whole with {{page.getContents().readAllBytes()}} and got many log messages like this: ERROR io.RandomAccessInputStream.read:101 - read() returns -1, assumed position: 8192, actual position: 8192 The cause is that an EOF is returned for 0 length. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org