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] [Commented] (IGNITE-4358) Better error reporting in case of unmarshallable classes.
Date Tue, 13 Dec 2016 23:51:58 GMT

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

Rohit Mohta commented on IGNITE-4358:
-------------------------------------

[~ascherbakov] Changed the message per your comment. NPE check was present in my earlier patch
too.
```
Objects.requireNonNull(r, "Trying to execute a null closure. Make sure the closure is not
assignable from classes listed in MarshallerExclusions");
```


> 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-Exceptionlog-05Dec2016.txt, 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