Exception in thread "main" java.lang.NullPointerException
at gov.uspto.patent.model.DocumentDate.getISODateString(DocumentDate.java:99)
at gov.uspto.patent.model.DocumentDate.toString(DocumentDate.java:131)
...
It appears that it is looking at one of the referenced patents, which doesn't have a date set and then fails.
Perhaps this isn't the correct way to invoke the Example? However, it does seem to at least get started reporting that it is reading the Greenbook format.
Trying to run BulkDownloader\src\main\java\gov\uspto\bulkdata\example\Example.java code on a pre-2000 APS formated file.
For example, I download and unzip: https://bulkdata.uspto.gov/data/patent/grant/redbook/fulltext/2000/pftaps20000104_wk01.zip
and pass it to the Example.java code, it fails:
It appears that it is looking at one of the referenced patents, which doesn't have a date set and then fails.
Perhaps this isn't the correct way to invoke the Example? However, it does seem to at least get started reporting that it is reading the Greenbook format.