thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King, III (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (THRIFT-4231) TJSONProtocol throws unexpected non-Thrift-exception on null strings
Date Thu, 14 Dec 2017 13:55:12 GMT

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

James E. King, III closed THRIFT-4231.
--------------------------------------

> TJSONProtocol throws unexpected non-Thrift-exception on null strings
> --------------------------------------------------------------------
>
>                 Key: THRIFT-4231
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4231
>             Project: Thrift
>          Issue Type: Bug
>          Components: C# - Compiler
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Minor
>             Fix For: 0.11.0
>
>
> When a required (e.g. string) field is not set, the C# code may throw a non-Thrift nullptr
exception, which at this point is a bit unexpected. Happened to me with TJSON but is in fact
a problem of required fields not being checked properly in the generated struct.Write() code.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message