You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Puchkovskiy (Jira)" <ji...@apache.org> on 2024/03/04 13:47:00 UTC

[jira] [Updated] (IGNITE-21667) It is impossible to use NetworkMessage implementatation with 0 fields

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

Roman Puchkovskiy updated IGNITE-21667:
---------------------------------------
    Description: 
public interface ProbeMessage extends InternalMessage {
}

When sending such a message, the receiving side fails:

 

io.netty.handler.codec.DecoderException: InboundDecoder.decode() did not read anything but decoded a message.
    at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:488) ~[netty-codec-4.1.107.Final.jar:4.1.107.Final]
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) ~[netty-codec-4.1.107.Final.jar:4.1.107.Final]

 

If there is at least one field, everything works.

> It is impossible to use NetworkMessage implementatation with 0 fields
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-21667
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21667
>             Project: Ignite
>          Issue Type: Bug
>          Components: networking
>            Reporter: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>
> public interface ProbeMessage extends InternalMessage {
> }
> When sending such a message, the receiving side fails:
>  
> io.netty.handler.codec.DecoderException: InboundDecoder.decode() did not read anything but decoded a message.
>     at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:488) ~[netty-codec-4.1.107.Final.jar:4.1.107.Final]
>     at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) ~[netty-codec-4.1.107.Final.jar:4.1.107.Final]
>  
> If there is at least one field, everything works.



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