paradoxReader icon indicating copy to clipboard operation
paradoxReader copied to clipboard

Unknown block size code '0'

Open AdrianoSorgente opened this issue 3 years ago • 2 comments

I can't understand why this error is happening to me now:

com.khubla.pdxreader.api.PDXReaderException: Exception in read at com.khubla.pdxreader.db.DBTableFile.read(DBTableFile.java:87) at com.khubla.pdxreader.MinAna.testRead(MinAna.java:22) at com.khubla.pdxreader.MinAna.main(MinAna.java:13) Caused by: com.khubla.pdxreader.api.PDXReaderException: Exception in readHeaders at com.khubla.pdxreader.db.DBTableFile.readHeaders(DBTableFile.java:173) at com.khubla.pdxreader.db.DBTableFile.read(DBTableFile.java:68) ... 2 more Caused by: java.lang.Exception: Exception in read at com.khubla.pdxreader.db.DBTableHeader.read(DBTableHeader.java:534) at com.khubla.pdxreader.db.DBTableFile.readHeaders(DBTableFile.java:171) ... 3 more Caused by: java.lang.Exception: Unknown block size code '0' at com.khubla.pdxreader.db.DBTableHeader.read(DBTableHeader.java:410) ... 4 more

This ism main class :

public class MinAna { public static void main(String[] args) { // TODO Auto-generated method stub testRead(); } public static void testRead() { try { final File inputFile = new File("Mon2210.db"); final DBTableFile pdxFile = new DBTableFile(); final PDXTableListener pdxReaderListener = new PDXTableReaderDebugListener(); pdxFile.read(inputFile, pdxReaderListener); } catch (final Exception e) { e.printStackTrace(); } } }

AdrianoSorgente avatar Oct 20 '22 12:10 AdrianoSorgente

hey @AdrianoSorgente i'm a little busy these days, but may be able to take a look. Do you have the file you're trying to read?

teverett avatar Oct 20 '22 22:10 teverett

Hi Tom, I sent you an email ([email protected]) with two file one works the other doesn't. thanks in advance for your help

AdrianoSorgente avatar Oct 21 '22 08:10 AdrianoSorgente