You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Carel (Jira)" <ji...@apache.org> on 2025/05/14 06:31:00 UTC

[jira] [Commented] (THRIFT-5865) [C++] TProtocolException for list for TBinaryProtocolT

    [ https://issues.apache.org/jira/browse/THRIFT-5865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17951335#comment-17951335 ] 

Carel commented on THRIFT-5865:
-------------------------------

I am busy making the PR

> [C++] TProtocolException for list<uuid> for TBinaryProtocolT
> ------------------------------------------------------------
>
>                 Key: THRIFT-5865
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5865
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.21.0
>         Environment: C++
>            Reporter: Carel
>            Priority: Major
>
> `list<uuid>` causes an exception during runtime for TBinaryProtocolT
> The full error is:
> {code}
> terminate called after throwing an instance of 'apache::thrift::protocol::TProtocolException'
>   what():  unrecognized type code
> {code}
> The exception is thrown from here: [TBinaryProtocol.tcc#L496|https://github.com/apache/thrift/blob/master/lib/cpp/src/thrift/protocol/TBinaryProtocol.tcc#L496]
> The member type is definitely missing from the switch statement



--
This message was sent by Atlassian Jira
(v8.20.10#820010)