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 sourceforge.net by Unknown author, 1 year ago
Premature end of file encountered
org.marc4j.MarcException: Premature end of file encountered at org.marc4j.MarcPermissiveStreamReader.next(MarcPermissiveStreamReader.java:302) at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:230) at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:484) at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:616) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.simontuffs.onejar.Boot.run(Boot.java:320) at com.simontuffs.onejar.Boot.main(Boot.java:161)Caused by: java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:180) at java.io.DataInputStream.readFully(DataInputStream.java:152) at org.marc4j.MarcPermissiveStreamReader.next(MarcPermissiveStreamReader.java:277) ... 9 more