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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by tagMacher
, 10 months ago
via incubator-pdfbox-users by Amanda Burma, 1 year ago
Error: End-of-File, expected line
via pdfbox-users by Amanda Burma, 1 year ago
Error: End-of-File, expected line
via pdfbox-users by Amanda Burma, 1 year ago
Error: End-of-File, expected line
via GitHub by hellbourne
, 1 year ago
Error: End-of-File, expected line
java.io.IOException: Error: End-of-File, expected line
at org.apache.pdfbox.pdfparser.BaseParser.readLine(BaseParser.java:1519)
at org.apache.pdfbox.pdfparser.PDFParser.parseHeader(PDFParser.java:372)
at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:186)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1235)
at net.sf.jabref.logic.xmp.XMPUtil.loadWithAutomaticDecryption(XMPUtil.java:127)
at net.sf.jabref.logic.xmp.XMPUtil.readXMP(XMPUtil.java:160)
at net.sf.jabref.logic.xmp.XMPUtil.hasMetadata(XMPUtil.java:1110)
at net.sf.jabref.logic.xmp.XMPUtil.hasMetadata(XMPUtil.java:1090)
at net.sf.jabref.logic.importer.fileformat.PdfXmpImporter.isRecognizedFormat(PdfXmpImporter.java:71)
at net.sf.jabref.logic.importer.ImportFormatReader.importUnknownFormat(ImportFormatReader.java:191)
at net.sf.jabref.gui.importer.ImportMenuItem$MyWorker.run(ImportMenuItem.java:115)
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 spin.Invocation.evaluate(Invocation.java:175)
at spin.off.SpinOffEvaluator.evaluate(SpinOffEvaluator.java:120)
at spin.ProxyFactory.evaluteInvocation(ProxyFactory.java:85)
at spin.JDKProxyFactory$SpinInvocationHandler.invoke(JDKProxyFactory.java:102)
at com.sun.proxy.$Proxy32.run(Unknown Source)
at net.sf.jabref.gui.importer.ImportMenuItem.automatedImport(ImportMenuItem.java:74)
at net.sf.jabref.gui.groups.EntryTableTransferHandler.loadOrImportFiles(EntryTableTransferHandler.java:372)
at net.sf.jabref.gui.groups.EntryTableTransferHandler.lambda$handleDraggedFiles$0(EntryTableTransferHandler.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

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

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.