AccelerationNet / access2csv

Simple program to extract data from Access databases into CSV files.
MIT License
86 stars 24 forks source link

Fails when exporting linked databases #6

Open Froglich opened 8 years ago

Froglich commented 8 years ago

When running access2csv on databases with linked tables, it fails with a NullPointerException. All links are correct and the database is fully functional in Access.

Exporting 'Abs: HP8524A' to C:\Users\Kim\Documents/Abs HP8524A.csv Exception in thread "main" java.lang.NullPointerException at java.io.File.(Unknown Source) at com.healthmarketscience.jackcess.util.LinkResolver$1.resolveLinkedDatabase(LinkResolver.java:45) at com.healthmarketscience.jackcess.impl.DatabaseImpl.getTable(DatabaseImpl.java:895) at com.healthmarketscience.jackcess.impl.DatabaseImpl.getTable(DatabaseImpl.java:839) at com.healthmarketscience.jackcess.impl.DatabaseImpl.getTable(DatabaseImpl.java:87) at access2csv.Driver.export(Driver.java:19) at access2csv.Driver.exportAll(Driver.java:83) at access2csv.Driver.main(Driver.java:127)