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

NPE in updateXmlFromJsonObject of CXDomAndJson when json is empty JSON #25

Open
debbabi opened this issue Nov 19, 2018 · 0 comments
Open

Comments

@debbabi
Copy link
Member

debbabi commented Nov 19, 2018

Here https://github.com/isandlaTech/cohorte-utilities/blob/master/org.cohorte.utilities/src/org/psem2m/utilities/CXDomAndJson.java#L435

When the provided aJsonObject is an empty json { } we will have NullPointerException.

JSONObject.getNames(aJsonObject)

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

1 participant