Unknown block size code '0'
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(); } } }
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?
Hi Tom, I sent you an email ([email protected]) with two file one works the other doesn't. thanks in advance for your help