You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksandr Polovtcev (Jira)" <ji...@apache.org> on 2021/09/02 15:48:00 UTC

[jira] [Updated] (IGNITE-15433) Improve network annotation processor error messages

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

Aleksandr Polovtcev updated IGNITE-15433:
-----------------------------------------
    Description: 
We should print a useful error message if there are multiple message groups in a single compilation unit. This is currently not the case, because we first verify the integrity of network messages, which can fail due to the same reason but with a less helpful message, for example:

{{apache-ignite-3/modules/network/src/test/java/org/apache/ignite/internal/network/AllTypesMessage.java:[30,8] Conflicting message types in a group, message with type 1 already exists}}

  was:We should print a useful error message if there are multiple message groups in a single compilation unit. This is currently not the case, because we first verify the integrity of network messages, which can fail due to the same reason but with a less helpful message, for example:


> Improve network annotation processor error messages
> ---------------------------------------------------
>
>                 Key: IGNITE-15433
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15433
>             Project: Ignite
>          Issue Type: Task
>          Components: networking
>            Reporter: Aleksandr Polovtcev
>            Assignee: Aleksandr Polovtcev
>            Priority: Major
>              Labels: ignite-3
>
> We should print a useful error message if there are multiple message groups in a single compilation unit. This is currently not the case, because we first verify the integrity of network messages, which can fail due to the same reason but with a less helpful message, for example:
> {{apache-ignite-3/modules/network/src/test/java/org/apache/ignite/internal/network/AllTypesMessage.java:[30,8] Conflicting message types in a group, message with type 1 already exists}}



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