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

NullPointerException in EventStreamFileParser #34

Closed
steven-sheehy opened this issue Aug 13, 2019 · 0 comments · Fixed by #35
Closed

NullPointerException in EventStreamFileParser #34

steven-sheehy opened this issue Aug 13, 2019 · 0 comments · Fixed by #35
Labels
bug Type: Something isn't working P1 parser Area: File parsing
Milestone

Comments

@steven-sheehy
Copy link
Member

Actual:
On startup with a clean filesystem and db:

mirror-node-event-download-parse_1   | Exception in thread "main" java.lang.NullPointerException
mirror-node-event-download-parse_1   | 	at com.hedera.parser.EventStreamFileParser.loadEventStreamFiles(EventStreamFileParser.java:363)
mirror-node-event-download-parse_1   | 	at com.hedera.parser.EventStreamFileParser.parseNewFiles(EventStreamFileParser.java:459)
mirror-node-event-download-parse_1   | 	at com.hedera.downloader.DownloadAndParseEventFiles.main(DownloadAndParseEventFiles.java:48)

Expected:
No crash

@steven-sheehy steven-sheehy added the bug Type: Something isn't working label Aug 13, 2019
QianSwirlds added a commit that referenced this issue Aug 13, 2019
…ion3; Fix #28; Also fix #34: check if the directory exists, if not then stop the parser
@steven-sheehy steven-sheehy added this to the 0.1.0 milestone Aug 27, 2019
@steven-sheehy steven-sheehy added P1 parser Area: File parsing labels Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type: Something isn't working P1 parser Area: File parsing
Projects
None yet
1 participant