openepcis / openepcis-models

EPCIS 2.0 Java Models
https://openepcis.io
Apache License 2.0
0 stars 2 forks source link

initialize the userExtensions map to avoid null exception. #9

Closed Aravinda93 closed 1 year ago

Aravinda93 commented 1 year ago

Currently during the conversion of XML to JSON some documents are running across null exception. This is due to not initialising the userExtension variable in EPCISEvent class. This PR will fix that issue. Kindly request you to review the PR and approve the same.

This will fix the issue: https://jira.company-group.com/browse/OEPCIS-513 https://jira.company-group.com/browse/OEPCIS-514