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 18:52:29 UTC
[jira] Created: (THRIFT-700) Generated Union structs don't skip
unknown fields properly
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.
[jira] Closed: (THRIFT-700) Generated Union structs don't skip
unknown fields properly
Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
[ 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.