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

Bulk converter crashes on ipg210921.zip #125

Open
thomaskelder opened this issue Sep 26, 2021 · 0 comments · May be fixed by #126
Open

Bulk converter crashes on ipg210921.zip #125

thomaskelder opened this issue Sep 26, 2021 · 0 comments · May be fixed by #126

Comments

@thomaskelder
Copy link

The bulk patent document converter crashes on the latest bulk download file ipg210921.zip with the following error:

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 27
	at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
	at java.base/java.lang.String.substring(String.java:1874)
	at gov.uspto.patent.OrgSynonymGenerator.chineseCompanyNames(OrgSynonymGenerator.java:367)
	at gov.uspto.patent.OrgSynonymGenerator.computeSynonyms(OrgSynonymGenerator.java:111)
	at gov.uspto.patent.serialize.JsonMapperStream.writeName(JsonMapperStream.java:379)
	at gov.uspto.patent.serialize.JsonMapperStream.writeEntity(JsonMapperStream.java:327)
	at gov.uspto.patent.serialize.JsonMapperStream.output(JsonMapperStream.java:127)
	at gov.uspto.patent.serialize.JsonMapperStream.write(JsonMapperStream.java:97)
	at gov.uspto.bulkdata.tools.transformer.TransformerRecordProcessor.writeOutputType(TransformerRecordProcessor.java:142)
	at gov.uspto.bulkdata.tools.transformer.TransformerRecordProcessor.process(TransformerRecordProcessor.java:106)
	at gov.uspto.bulkdata.RecordReader.read(RecordReader.java:195)
	at gov.uspto.bulkdata.RecordReader.read(RecordReader.java:122)
	at gov.uspto.bulkdata.RecordReader.read(RecordReader.java:85)
	at gov.uspto.bulkdata.RecordReader.read(RecordReader.java:43)
	at gov.uspto.bulkdata.cli.Transformer.exec(Transformer.java:77)
	at gov.uspto.bulkdata.cli.Transformer.main(Transformer.java:115)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant