[
https://issues.apache.org/jira/browse/AVRO-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nandor Kollar updated AVRO-1064:
--------------------------------
Resolution: Not A Bug
Status: Resolved (was: Patch Available)
> Encoder.writeString throws NullPointerException when the charSequence is null
> -----------------------------------------------------------------------------
>
> Key: AVRO-1064
> URL: https://issues.apache.org/jira/browse/AVRO-1064
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.6.3
> Reporter: Kevin Zhao
> Attachments: Encoder.java.patch
>
>
> org.apache.avro.io.Encoder.writeString(CharSequence charSequence) throws
> NullPointerException when dealing with a javabean which has a null value in
> one of its fields, like the following one:
> Person person = new Person();
> person.setName("Kevin");
> person.setId(null);
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)