qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Gemmell (Jira)" <j...@apache.org>
Subject [jira] [Updated] (PROTON-2236) [proton-j] Error message when decoding illegal message properties key is unhelpful
Date Tue, 02 Jun 2020 16:47:00 GMT

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

Robbie Gemmell updated PROTON-2236:
-----------------------------------
    Description: 
While decoding a message containing a non-string application-properties key (eg a symbol key),
then the following message is seen:

{{Error on transform: Expected String type but found encoding: -93}}

which is not very intuitive. Perhaps converting the type to hex and providing a stringified
version would be better, such as:

{{Expected String type but found encoding 0xb3 (symbol)}}

  was:
While decoding a message containing a non-string key (eg a symbol key), then the following
message is seen:

{{Error on transform: Expected String type but found encoding: -93}}

which is not very intuitive. Perhaps converting the type to hex and providing a stringified
version would be better, such as:

{{Expected String type but found encoding 0xb3 (symbol)}}


> [proton-j] Error message when decoding illegal message properties key is unhelpful
> ----------------------------------------------------------------------------------
>
>                 Key: PROTON-2236
>                 URL: https://issues.apache.org/jira/browse/PROTON-2236
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-j
>            Reporter: Kim van der Riet
>            Priority: Minor
>
> While decoding a message containing a non-string application-properties key (eg a symbol
key), then the following message is seen:
> {{Error on transform: Expected String type but found encoding: -93}}
> which is not very intuitive. Perhaps converting the type to hex and providing a stringified
version would be better, such as:
> {{Expected String type but found encoding 0xb3 (symbol)}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message