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

JSON data dictionary throws NullPointerException #47

varunmulloli opened this Issue Oct 24, 2015 · 1 comment


None yet
2 participants

varunmulloli commented Oct 24, 2015

I have a JSON data dictionary like this:

<citrus:json-data-dictionary id="sampleDD">
        <citrus:mapping path="id" value="2" />

And my <send> action looks like this:

<send endpoint="sampleEndpoint">
    <message data-dictionary="sampleDD" type="json">
                "id": 1,
                "name": "abcd",
                "tag": null

I presume that this is a valid JSON, even though one of the key has a value null. While running the code, I get an NPE.


This comment has been minimized.


christophd commented Nov 2, 2015

I was able reproduce this error, thanks! This is an issue with the null value indeed. Will fix this with 2.4 version. Thanks!

@christophd christophd closed this in 702c166 Nov 2, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment