You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yakov Zhdanov (JIRA)" <ji...@apache.org> on 2015/12/11 10:46:11 UTC

[jira] [Commented] (IGNITE-2131) NPE in GridJobProcessor (non-reproducible, sibling bytes are null)

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

Yakov Zhdanov commented on IGNITE-2131:
---------------------------------------

This cannot be reproduced. Most probably, sibling byte in request were null and disabled assertions provoked NPE.

> NPE in GridJobProcessor (non-reproducible, sibling bytes are null)
> ------------------------------------------------------------------
>
>                 Key: IGNITE-2131
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2131
>             Project: Ignite
>          Issue Type: Bug
>          Components: compute
>    Affects Versions: 1.5
>            Reporter: Alexey Kuznetsov
>             Fix For: 1.5
>
>
> I got this NPE.
> Looking into GridJobProcessor.java:1024 code, I see that NPE could happen if marshaler return null.
> Maybe we could throw exception with appropriate message?
> {code}
> Exception in thread "pub-#7%null%" Exception in thread "pub-#8%null%" java.lang.NullPointerException
>  at java.util.ArrayList.<init>(ArrayList.java:164)
>  at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1024)
>  at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1770)
>  at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:819)
> {code}



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