You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "Main Thread" java.io.IOException: Resetting to invalid mark
at java.io.BufferedInputStream.reset(BufferedInputStream.java:416)
at net.iryndin.jdbf.reader.MemoReader.read(MemoReader.java:57)
at net.iryndin.jdbf.core.DbfRecord.getMemoAsString(DbfRecord.java:162)
at net.iryndin.jdbf.core.DbfRecord.getMemoAsString(DbfRecord.java:170)
at TestMain.test(TestMain.java:53)
at TestMain.main(TestMain.java:29)
dbf = new FileInputStream("/home/paul/Desktop/DBF/file.DBF");
InputStream memo = new FileInputStream("/home/paul/Desktop/DBF/file.FPT");
DbfRecord rec;
DbfReader reader = new DbfReader(dbf, memo);
DbfMetadata meta = reader.getMetadata();
System.out.println("Read DBF Metadata: " + meta);
int recCounter = 0;
while ((rec = reader.read()) != null) {
rec.setStringCharset(stringCharset);
System.out.println(rec.toMap());
System.out.println(rec.getMemoAsString("CL_SERVCOM"));
The text was updated successfully, but these errors were encountered:
@epaulferrer could you please provide DBF file for investigation? Or, if you already have investigated the file and have made a fix, could you provide pull request for it?
Exception in thread "Main Thread" java.io.IOException: Resetting to invalid mark
at java.io.BufferedInputStream.reset(BufferedInputStream.java:416)
at net.iryndin.jdbf.reader.MemoReader.read(MemoReader.java:57)
at net.iryndin.jdbf.core.DbfRecord.getMemoAsString(DbfRecord.java:162)
at net.iryndin.jdbf.core.DbfRecord.getMemoAsString(DbfRecord.java:170)
at TestMain.test(TestMain.java:53)
at TestMain.main(TestMain.java:29)
The text was updated successfully, but these errors were encountered: