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

Exception in BusdoxReader.java:138 #41

Closed
mindaugasjaugelis opened this issue Apr 30, 2021 · 2 comments
Closed

Exception in BusdoxReader.java:138 #41

mindaugasjaugelis opened this issue Apr 30, 2021 · 2 comments

Comments

@mindaugasjaugelis
Copy link

mindaugasjaugelis commented Apr 30, 2021

Getting null exception in BusdoxReader.java:138, there is probably incorect null check:
endpointType.getService**Activation**Date() == null ? null : endpointType.getService**Expiration**Date().toGregorianCalendar().getTime()
Had to be endpointType.getServiceExpirationDate() checked for null?
https://github.com/OxalisCommunity/vefa-peppol/blob/master/peppol-lookup/src/main/java/network/oxalis/vefa/peppol/lookup/reader/BusdoxReader.java#L138

@aaron-kumar
Copy link
Member

Nice catch @mindaugasjaugelis !!!
Fixed with commit # 84fd271

@aaron-kumar
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants