You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2010/02/10 19:02:31 UTC

[jira] Closed: (THRIFT-700) Generated Union structs don't skip unknown fields properly

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

Bryan Duxbury closed THRIFT-700.
--------------------------------

    Resolution: Duplicate

Oops, I already fixed this one.

> Generated Union structs don't skip unknown fields properly
> ----------------------------------------------------------
>
>                 Key: THRIFT-700
>                 URL: https://issues.apache.org/jira/browse/THRIFT-700
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (Java)
>    Affects Versions: 0.2
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>             Fix For: 0.3
>
>
> The generated readValue method assumes it can use the default clause to catch null field ids, which is incorrect. When a field can't be found, it causes an NPE.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.