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

Catch NullPointerException and raise a more informative error #317

Open
bplommer opened this issue Apr 15, 2021 · 2 comments
Open

Catch NullPointerException and raise a more informative error #317

bplommer opened this issue Apr 15, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@bplommer
Copy link
Member

NullPointerExceptions is raised when a codec depends on another one defined as a val further down in the same object. We should catch these exceptions and raise an error that suggests a fix (replacing val with lazy val).

@bplommer bplommer added the enhancement New feature or request label Apr 15, 2021
@mjftw
Copy link

mjftw commented Apr 27, 2022

I'm currently fixing an error we're having around this and a more informative error message would be super helpful!

@fredrikljung93
Copy link

I'm new to Vulcan and wasted many hours trying to figure this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants