vulcan icon indicating copy to clipboard operation
vulcan copied to clipboard

Catch `NullPointerException` and raise a more informative error

Open bplommer opened this issue 3 years ago • 2 comments

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 avatar Apr 15 '21 09:04 bplommer

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

mjftw avatar Apr 27 '22 13:04 mjftw

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

fredrikljung93 avatar Jan 26 '23 08:01 fredrikljung93