- TracingHandlerInterceptor puts a handler object into log fields. See this.
- ZipkinV2Reporter converts log fields to JSON via Gson to build JaegerSpan annotations. See this.
- Gson inspects private fields of the handler object.
- Some handlers have private fields that can not be handled by Gson.
This makes errors when I use TracingHandlerInterceptor and ZipkinV2Reporter together.
Do we need to put handler objects into log fields? I think class name and method name is enough.