Alexey Kuznetsov created IGNITE-2131:
----------------------------------------

             Summary: NPE in GridJobProcessor
                 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)

Reply via email to