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

JoltModelAndView: If you forget to set jolt_view = true through the annotation, you get an NPE #54

Open
Verdoso opened this issue Aug 28, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Verdoso
Copy link
Owner

Verdoso commented Aug 28, 2019

If you return a JoltModelAndView but you forget to set up Jolt usage through the annotation in the application class, you get a NullPointerException when the SummerJoltView class tries to read the JoltViewConfiguration... that is not there because it has not been loaded.

It's a developer mistake but the app should break in a more meaningful way with a clearer message.

@Verdoso Verdoso added the enhancement New feature or request label Aug 28, 2019
@Verdoso Verdoso added this to the 0.10.8 milestone Aug 28, 2019
@Verdoso Verdoso self-assigned this Aug 28, 2019
@Verdoso Verdoso modified the milestones: 0.10.8, 0.10.11 May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant