Roman Mitasov created AVRO-3956:
-----------------------------------
Summary: 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
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)