java.io.IOException: Error: End-of-File, expected line


Solutions on the web

Solution icon of stackoverflow
via Stack Overflow by David Lasry
, 8 months ago
Error: End-of-File, expected line

Solution icon of duraspace
via Sakai JIRA by Andrea Bollini, 7 months ago
Error: End-of-File, expected line

Solution icon of stackoverflow
Error: End-of-File, expected line

Solution icon of stackoverflow
via Stack Overflow by mlynch
, 5 months ago
Error: End-of-File, expected line

Solution icon of stackoverflow
Error: End-of-File, expected line

Solution icon of github
via GitHub by carlwilson
, 1 year ago
Error: End-of-File, expected line

Solution icon of googlegroups
Error: End-of-File, expected line

Solution icon of apache
via pdfbox-users by Amanda Burma, 1 year ago
Error: End-of-File, expected line

Solution icon of stackoverflow
Error: End-of-File, expected line

Stack trace

java.io.IOException: Error: End-of-File, expected line
	at org.apache.pdfbox.pdfparser.BaseParser.readLine(BaseParser.java:1111)
	at org.apache.pdfbox.pdfparser.COSParser.parseHeader(COSParser.java:1885)
	at org.apache.pdfbox.pdfparser.COSParser.parsePDFHeader(COSParser.java:1868)
	at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:245)
	at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1098)
	at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:995)
	at app.DGDCreator.main(DGDCreator.java:35)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:143)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 more bugmates