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

trailing comma in collection causes null pointer exception #2

Open
rmorrise opened this issue Jan 14, 2019 · 0 comments
Open

trailing comma in collection causes null pointer exception #2

rmorrise opened this issue Jan 14, 2019 · 0 comments

Comments

@rmorrise
Copy link
Collaborator

A poorly formatted JSON document causes the plugin to throw a null pointer exception when validating objects in a collection. This occurs if there is a trailing comma after the last object in the collection. Grails will pass a list containing the objects in the list plus a null object. The plugin does not handle this null object gracefully.

(Reported 07/16/2015 by @hzill)

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