Alexander Lapin created IGNITE-13868:
----------------------------------------

             Summary: Create caches simultaneously in same non-existing cache 
group led to NPE
                 Key: IGNITE-13868
                 URL: https://issues.apache.org/jira/browse/IGNITE-13868
             Project: Ignite
          Issue Type: Bug
            Reporter: Alexander Lapin
            Assignee: Alexander Lapin


1 server 1 client
Case:
server create cache and group
client create cache in previous group
{code:java}
Caused by: java.lang.NullPointerException
        at 
java.util.Collections$UnmodifiableCollection.<init>(Collections.java:1026)
        at java.util.Collections$UnmodifiableList.<init>(Collections.java:1302)
        at java.util.Collections.unmodifiableList(Collections.java:1287)
        at 
org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentV2.<init>(GridAffinityAssignmentV2.java:108)
        at 
org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache.initialize(GridAffinityAssignmentCache.java:205)
        at 
org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache.init(GridAffinityAssignmentCache.java:750)
        at 
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager$CacheGroupHolder.<init>(CacheAffinitySharedManager.java:2635)
        at 
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager$CacheGroupAffNodeHolder.<init>(CacheAffinitySharedManager.java:2692)
        at 
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.initStartedGroup(CacheAffinitySharedManager.java:1339)
        at 
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.lambda$initAffinityOnCacheGroupsStart$641a38d$1(CacheAffinitySharedManager.java:1001)
        at 
org.apache.ignite.internal.util.IgniteUtils.doInParallel(IgniteUtils.java:10575)
        at 
org.apache.ignite.internal.util.IgniteUtils.doInParallel(IgniteUtils.java:10498)
        at 
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.initAffinityOnCacheGroupsStart(CacheAffinitySharedManager.java:997)
        at 
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.processCacheStartRequests(CacheAffinitySharedManager.java:975)
        at 
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:833)
        at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:1238)
        ... 5 more
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to