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


Solutions on the web

Solution icon of github
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 David Lasry
, 8 months ago
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


Stack trace

java.io.IOException: Error: End-of-File, expected line
	at org.apache.pdfbox.pdfparser.BaseParser.readLine(BaseParser.java:1519)[JabRef-3.8.2.jar:?]
	at org.apache.pdfbox.pdfparser.PDFParser.parseHeader(PDFParser.java:372)[JabRef-3.8.2.jar:?]
	at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:186)[JabRef-3.8.2.jar:?]
	at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1235)[JabRef-3.8.2.jar:?]
	at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1202)[JabRef-3.8.2.jar:?]
	at net.sf.jabref.logic.xmp.XMPUtil.loadWithAutomaticDecryption(XMPUtil.java:127)[JabRef-3.8.2.jar:?]
	at net.sf.jabref.logic.xmp.XMPUtil.readXMP(XMPUtil.java:160)[JabRef-3.8.2.jar:?]
	at net.sf.jabref.logic.xmp.XMPUtil.hasMetadata(XMPUtil.java:1110)[JabRef-3.8.2.jar:?]
	at net.sf.jabref.logic.xmp.XMPUtil.hasMetadata(XMPUtil.java:1090)[JabRef-3.8.2.jar:?]
	at net.sf.jabref.logic.importer.fileformat.PdfXmpImporter.isRecognizedFormat(PdfXmpImporter.java:71)[JabRef-3.8.2.jar:?]
	at net.sf.jabref.logic.importer.ImportFormatReader.importUnknownFormat(ImportFormatReader.java:191)[JabRef-3.8.2.jar:?]
	at net.sf.jabref.gui.importer.ImportMenuItem$MyWorker.run(ImportMenuItem.java:115)[JabRef-3.8.2.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_111]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_111]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_111]
	at java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_111]
	at spin.Invocation.evaluate(Invocation.java:175)[JabRef-3.8.2.jar:?]
	at spin.off.SpinOffEvaluator.evaluate(SpinOffEvaluator.java:120)[JabRef-3.8.2.jar:?]
	at spin.ProxyFactory.evaluteInvocation(ProxyFactory.java:85)[JabRef-3.8.2.jar:?]
	at spin.JDKProxyFactory$SpinInvocationHandler.invoke(JDKProxyFactory.java:102)[JabRef-3.8.2.jar:?]
	at com.sun.proxy.$Proxy32.run(Unknown Source)[?:?]
	at net.sf.jabref.gui.importer.ImportMenuItem.automatedImport(ImportMenuItem.java:74)[JabRef-3.8.2.jar:?]
	at net.sf.jabref.gui.groups.EntryTableTransferHandler.loadOrImportFiles(EntryTableTransferHandler.java:372)[JabRef-3.8.2.jar:?]
	at net.sf.jabref.gui.groups.EntryTableTransferHandler.lambda$handleDraggedFiles$0(EntryTableTransferHandler.java:315)[JabRef-3.8.2.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_111]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_111]
	at java.lang.Thread.run(Thread.java:745)[?:1.8.0_111]

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