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

Potential NullPointerException in ResultProcessor [DATACMNS-828] #1290

spring-projects-issues opened this issue Mar 15, 2016 · 0 comments


Copy link

@spring-projects-issues spring-projects-issues commented Mar 15, 2016

Oliver Drotbohm opened DATACMNS-828 and commented

According to the JavaDoc ResultProcessor.processResult(…) allows null to be handed as result, which makes sense as a query result to be processed can be null. However, null is not handled implicitly or explicitly and will yield an exception being thrown from ProjectionFactory as a projection is attempted downstream.

We should handle null explicitly and eagerly return the value as is

Affects: 1.12 M1 (Hopper)

Referenced from: commits f8ea9fb, c57bfec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.