You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Colin P. McCabe (JIRA)" <ji...@apache.org> on 2019/03/25 16:52:00 UTC

[jira] [Resolved] (KAFKA-8150) Fix bugs in handling null arrays in generated RPC code

     [ https://issues.apache.org/jira/browse/KAFKA-8150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin P. McCabe resolved KAFKA-8150.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.1

The code path that this fixes isn't used in 2.2, I think.  But I backported the patch to that branch just for the purpose of future-proofing.

> Fix bugs in handling null arrays in generated RPC code
> ------------------------------------------------------
>
>                 Key: KAFKA-8150
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8150
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Colin P. McCabe
>            Assignee: Colin P. McCabe
>            Priority: Major
>             Fix For: 2.2.1
>
>
> Fix bugs in handling null arrays in generated RPC code.
> toString should not get a NullPointException.
> Also, read() must properly translate a negative array length to a null field.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)