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

Martin Tzvetanov Grigorov resolved AVRO-3956.
---------------------------------------------
    Fix Version/s: 1.12.0
         Assignee: Oscar Westra van Holthe - Kind
       Resolution: Fixed

> NPE when calling Protocol#equals or hashCode
> --------------------------------------------
>
>                 Key: AVRO-3956
>                 URL: https://issues.apache.org/jira/browse/AVRO-3956
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java
>            Reporter: Roman Mitasov
>            Assignee: Oscar Westra van Holthe - Kind
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> As of documentation, {{namespace}} is optional in {{Protocol}} and thus can 
> be {{{}null{}}}. {{Protocol#equals}} contains direct dereference of 
> {{{}namespace{}}}, which causes {{NullPointerException}} when comparing 
> Protocols with {{null}} in {{{}namespace{}}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to