Open GoogleCodeExporter opened 8 years ago
If that field is filtered out, that field will be null on deser which will not
be correct since the instance needs that field.
Since you have control of the source, you can either:
1. Mark the class as static and provide the parent instance in the constructor
and assign to a field that you can annotate.
2. Avoid annotation for inner classes.
Original comment by david.yu...@gmail.com
on 26 Aug 2013 at 3:10
Yes, you're right about the field being needed.
Perhaps you can add your comment about this particular case in the
documentation or provide a more specialized error message: unless you are
intimate with java inner workings you can't imagine why such an exception
occurs.
Original comment by idispatc...@gmail.com
on 26 Aug 2013 at 3:31
Just finished documenting this on the ProtostuffRuntime wiki.
Thanks for reporting.
Original comment by david.yu...@gmail.com
on 26 Aug 2013 at 4:04
Original issue reported on code.google.com by
idispatc...@gmail.com
on 25 Aug 2013 at 1:44