ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Mohta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-4358) Better error reporting in case of unmarshallable classes.
Date Mon, 05 Dec 2016 18:22:58 GMT

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

Rohit Mohta updated IGNITE-4358:
--------------------------------
    Attachment: IGNITE-4358-GridClosureProcessor-05Dec2016.patch

Validate non-null runnable. Custom message to give more information, why is the user seeing
NPE

> Better error reporting in case of unmarshallable classes.
> ---------------------------------------------------------
>
>                 Key: IGNITE-4358
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4358
>             Project: Ignite
>          Issue Type: Improvement
>          Components: compute, messaging, newbie
>    Affects Versions: 1.6
>            Reporter: Alexei Scherbakov
>            Assignee: Rohit Mohta
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 2,0
>
>         Attachments: IGNITE-4358-GridClosureProcessor-05Dec2016.patch, PureIgniteRunTest.java
>
>
> When trying to execute Thread's derived class implementing IgniteRunnable using compute
API, it silently serializes to null because Thread serialization is prohibited in MarshallerExclusions
and throws NPE on executing node.
> We need to throw more informative exception for such case.
> Reproducer in the attachment.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message