-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
toBuilder throws an NPE when a @SIngular collection field is null #1324
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
Comments
still no luck with lombok 1.16.16 |
+1, facing the same issue. |
+1 |
still no luck with lombok 1.16.18 |
You can test it out in the current edge release: https://projectlombok.org/download-edge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm facing the following pb :
Given this POJO :
a NPE is thrown when using toBuilder method on an instance created with a null singularNames field.
I can reproduce the problem always, and here is the link to a simple maven project demonstrating the problem :
https://github.com/jgraglia/lombokbuilderbug
I'm using lombok 1.16.14 on a JDK 8 project.
PS: I can not simply replace new BuilderDemo (...) with Builderdemo.builder() calls as this happens when deserializing a BuilderDemo from a json stream (using Jackson ObjectMapper)
Thx!
The text was updated successfully, but these errors were encountered: