[
https://issues.apache.org/jira/browse/IGNITE-7197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16289553#comment-16289553
]
ASF GitHub Bot commented on IGNITE-7197:
----------------------------------------
GitHub user alamar opened a pull request:
https://github.com/apache/ignite/pull/3222
IGNITE-7197 Avoid NPE in serviced() by waiting on latch.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-7197
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/3222.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3222
----
commit 55cab23ab8561efef1fc144bd1fb827871f69654
Author: Ilya Kasnacheev <[email protected]>
Date: 2017-12-13T17:09:39Z
IGNITE-7197 Avoid NPE in serviced() by waiting on latch.
----
> Premature access to services() causes NullPointerException
> ----------------------------------------------------------
>
> Key: IGNITE-7197
> URL: https://issues.apache.org/jira/browse/IGNITE-7197
> Project: Ignite
> Issue Type: Bug
> Components: managed services
> Affects Versions: 2.3
> Reporter: Ilya Kasnacheev
> Assignee: Ilya Kasnacheev
>
> {code}
> Caused by: java.lang.NullPointerException
> at
> org.apache.ignite.internal.processors.service.GridServiceProcessor.serviceEntries(GridServiceProcessor.java:1289)
> at
> org.apache.ignite.internal.processors.service.GridServiceProcessor.serviceDescriptors(GridServiceProcessor.java:762)
> at
> org.apache.ignite.internal.IgniteServicesImpl.serviceDescriptors(IgniteServicesImpl.java:203)
> at
> org.apache.ignite.internal.visor.service.VisorServiceTask$VisorServiceJob.run(VisorServiceTask.java:60)
> at
> org.apache.ignite.internal.visor.service.VisorServiceTask$VisorServiceJob.run(VisorServiceTask.java:44)
> at org.apache.ignite.internal.visor.VisorJob.execute(VisorJob.java:69)
> {code}
> Happens with non-Visor jobs and callables, too!
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)