Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
NullPointerException when @JsonbTransient is applied on property without setter #34
I'm using Yasson 1.0.
Having the following mapping:
But later on
Resulting in the following stacktrace:
Workaround for now is just annotate the getter.
added a commit
Aug 30, 2017
Thanks Dmitry! El mié., 30 de agosto de 2017 20:41, Dmitry Kornilov < firstname.lastname@example.org> escribió:…
Fixed. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#34 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ACAucCpjFbZcWurXQEsVPjxT2rnP7C5Pks5sdazKgaJpZM4OyKsE> .
Hi, This issue is fixed and will be shipped in the next Yasson release (1.0.1). We are working on this release now and it will be available to public next week. Thanks, Dmitry…
On 5 Oct 2017, at 15:47, priyal85 ***@***.***> wrote: Hi Dmitry, I'm too facing the same issue when using Jersey which internally uses yasson for JSON bindings. In which version the fix is available. I'm still getting the issue in 1.0 which is released on June 2017. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#34 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AI6RHWJSa4yPAu5uL9B_04UL-lu-VloGks5spN38gaJpZM4OyKsE>.
This bug was not completely fixed. Here's a simple test case that still fails:
If you uncomment the field declaration, it works.