Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown block size code '0' #64

Open
AdrianoSorgente opened this issue Oct 20, 2022 · 2 comments
Open

Unknown block size code '0' #64

AdrianoSorgente opened this issue Oct 20, 2022 · 2 comments

Comments

@AdrianoSorgente
Copy link

AdrianoSorgente commented Oct 20, 2022

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(); } } }

@teverett
Copy link
Owner

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?

@AdrianoSorgente
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants