[
https://issues.apache.org/jira/browse/IGNITE-10908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16764843#comment-16764843
]
Vyacheslav Koptilin commented on IGNITE-10908:
----------------------------------------------
Hi [~DmitriyGovorukhin] ,
It seems that the problem is still there. The root cause of the NPE is that the
name of a service, which is returned by
{{GridServiceDeploymentCompoundFuture#servicesToRollback}}, is {{null}}.
{code:java}
// code placeholderjava.lang.NullPointerException
at
java.util.concurrent.ConcurrentHashMap.replaceNode(ConcurrentHashMap.java:1106)
at java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:1097)
at
org.apache.ignite.internal.processors.service.GridServiceProcessor.deployAll(GridServiceProcessor.java:646)
{code}
I've created a new PR in order to address this issue:
[https://github.com/apache/ignite/pull/6077] Please take a look at this.
> GridServiceProcessorBatchDeploySelfTest.testDeployAllTopologyChange flaky
> fail with NPE in Service Grid (legacy mode)
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-10908
> URL: https://issues.apache.org/jira/browse/IGNITE-10908
> Project: Ignite
> Issue Type: Bug
> Reporter: Dmitriy Govorukhin
> Assignee: Dmitriy Govorukhin
> Priority: Major
> Fix For: 2.8
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> [TC
> link|https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=1053083353985663802&tab=testDetails]
> {code}
> java.lang.NullPointerException
> at
> java.util.concurrent.ConcurrentHashMap.replaceNode(ConcurrentHashMap.java:1106)
> at java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:1097)
> at
> org.apache.ignite.internal.processors.service.GridServiceProcessor.deployAll(GridServiceProcessor.java:646)
> at
> org.apache.ignite.internal.processors.service.GridServiceProcessor.deployAll(GridServiceProcessor.java:589)
> at
> org.apache.ignite.internal.IgniteServicesImpl.deployAllAsync(IgniteServicesImpl.java:254)
> at
> org.apache.ignite.internal.processors.service.GridServiceProcessorBatchDeploySelfTest.testDeployAllTopologyChange(GridServiceProcessorBatchDeploySelfTest.java:148)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at
> org.apache.ignite.testframework.junits.GridAbstractTest$6.run(GridAbstractTest.java:2088)
> at java.lang.Thread.run(Thread.java:748)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)