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 (Created) (JIRA)" <ji...@apache.org> on 2012/02/29 02:06:12 UTC

[jira] [Created] (THRIFT-1527) Generated implementation of tupleReadStruct in unions return null when the setfield is unrecognized

Generated implementation of tupleReadStruct in unions return null when the setfield is unrecognized
---------------------------------------------------------------------------------------------------

                 Key: THRIFT-1527
                 URL: https://issues.apache.org/jira/browse/THRIFT-1527
             Project: Thrift
          Issue Type: Bug
          Components: Java - Compiler
            Reporter: Bryan Duxbury


This masks weird desync errors in the bytes.

--
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

        

[jira] [Closed] (THRIFT-1527) Generated implementation of tupleReadStruct in unions return null when the setfield is unrecognized

Posted by "Bryan Duxbury (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury closed THRIFT-1527.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9

I just committed a fix to throw exceptions in this case.
                
> Generated implementation of tupleReadStruct in unions return null when the setfield is unrecognized
> ---------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-1527
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1527
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Compiler
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>             Fix For: 0.9
>
>
> This masks weird desync errors in the bytes.

--
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

        

[jira] [Commented] (THRIFT-1527) Generated implementation of tupleReadStruct in unions return null when the setfield is unrecognized

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220567#comment-13220567 ] 

Hudson commented on THRIFT-1527:
--------------------------------

Integrated in Thrift #420 (See [https://builds.apache.org/job/Thrift/420/])
    THRIFT-1527. java: Generated implementation of tupleReadStruct in unions return null when the setfield is unrecognized

Unrecognized fields will now result in a TProtocolException when reading with the TupleProtocol. (Revision 1295997)

     Result = FAILURE
bryanduxbury : http://svn.apache.org/viewvc/?view=rev&rev=1295997
Files : 
* /thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc

                
> Generated implementation of tupleReadStruct in unions return null when the setfield is unrecognized
> ---------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-1527
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1527
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Compiler
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>             Fix For: 0.9
>
>
> This masks weird desync errors in the bytes.

--
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

        

[jira] [Assigned] (THRIFT-1527) Generated implementation of tupleReadStruct in unions return null when the setfield is unrecognized

Posted by "Bryan Duxbury (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury reassigned THRIFT-1527:
-------------------------------------

    Assignee: Bryan Duxbury
    
> Generated implementation of tupleReadStruct in unions return null when the setfield is unrecognized
> ---------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-1527
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1527
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Compiler
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>
> This masks weird desync errors in the bytes.

--
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