You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems java codegen tool not fully aware of optional fields. We are getting NPE during decode our new traceContext2 field. This field is available since version 3 of our schema and marked as optional.
If we will try to send message with version 2 and call toString we will obtain an NPE
Reported exception:
java.lang.NullPointerException
at com.mlp.ctp.generic.MessageAckDecoder.appendTo(MessageAckDecoder.java:352)
at com.mlp.ctp.generic.MessageAckDecoder.toString(MessageAckDecoder.java:308)
It seems java codegen tool not fully aware of optional fields. We are getting NPE during decode our new traceContext2 field. This field is available since version 3 of our schema and marked as optional.
If we will try to send message with version 2 and call toString we will obtain an NPE
Generated code:
toString:
traceContext2() method:
The text was updated successfully, but these errors were encountered: