jdbf icon indicating copy to clipboard operation
jdbf copied to clipboard

Invalid dates are throwing an exception in DbfRecord.toMap

Open hrj opened this issue 10 years ago • 1 comments

While trying to read from an old database, I get this exception:

java.text.ParseException: Unparseable date: "
at java.text.DateFormat.parse(DateFormat.java:366)
    at net.iryndin.jdbf.util.JdbfUtils.parseDate(Unknown Source)
    at net.iryndin.jdbf.core.DbfRecord.getDate(Unknown Source)
    at net.iryndin.jdbf.core.DbfRecord.toMap(Unknown Source)

hrj avatar Apr 21 '15 07:04 hrj

I am having same issue as well when I use Visual FoxPro table.

gstockr avatar Aug 09 '16 17:08 gstockr