-
Notifications
You must be signed in to change notification settings - Fork 53
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
GuavaImmutableCollectionDeserializer
cannot deserialize an empty Optional
from null
#53
Comments
I assume this is verified against 2.9.9? |
I've verified against 2.9.6 but I checked your source, you need to change this line: https://github.com/FasterXML/jackson-datatypes-collections/blob/master/guava/src/main/java/com/fasterxml/jackson/datatype/guava/deser/GuavaImmutableCollectionDeserializer.java#L40 value = null; Same fix as 0fc5e8b#diff-3e1e6a8832674f14bb424827a0180c66L157 We have a copy of this specific class in our codebase so I had forgotten that you asked me to open a new issue until I went back through my github notifications. |
Got it, thanks! |
GuavaImmutableCollectionDeserializer
cannot deserialize and empty Optional
from null
GuavaImmutableCollectionDeserializer
cannot deserialize and empty Optional
from nullGuavaImmutableCollectionDeserializer
cannot deserialize an empty Optional
from null
I think this is now fixed, although for testing need to use |
Thanks, I'll verify when you cut the next release |
The following test should pass
See #27
The text was updated successfully, but these errors were encountered: