You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Nandor Kollar (JIRA)" <ji...@apache.org> on 2017/06/19 13:15:01 UTC
[jira] [Updated] (AVRO-1064) Encoder.writeString throws
NullPointerException when the charSequence is null
[ 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)