You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2012/06/09 02:34:22 UTC

[jira] [Resolved] (THRIFT-1625) Null handling in TBinaryProtocol

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

Ashutosh Chauhan resolved THRIFT-1625.
--------------------------------------

    Resolution: Won't Fix

Sushanth pointed out this thread : http://www.mail-archive.com/thrift-dev@incubator.apache.org/msg01185.html So consensus seems to be that its not allowed to send null values in containers and user should do null checks to prevent attempting to serialize nulls.

Resolving as Won't Fix. 
                
> Null handling in TBinaryProtocol
> --------------------------------
>
>                 Key: THRIFT-1625
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1625
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Library
>    Affects Versions: 0.7, 0.8, 0.9
>            Reporter: Ashutosh Chauhan
>
> As pointed out here: https://issues.apache.org/jira/browse/HIVE-2800?focusedCommentId=13291334&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13291334 thrift doesn't check for nulls in payload and will throw NPE if data has null in it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira