Hi there,
When using ignite.getOrCreateCache(CacheConfiguration cfg) method to create a 
cache from client side using java, I got the following error message:
[20:47:11,991][ERROR][exchange-worker-#41%127.0.0.1%][GridDhtPartitionsExchangeFuture]
 Failed to reinitialize local partitions (preloading will be stopped): 
GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=9, 
minorTopVer=11], nodeId=71f82b28, evt=DISCOVERY_CUSTOM_EVT]
java.lang.AssertionError
         at 
org.apache.ignite.internal.processors.query.GridQueryProcessor.processIndexes(GridQueryProcessor.java:1565)
         at 
org.apache.ignite.internal.processors.query.GridQueryProcessor.processBinaryMeta(GridQueryProcessor.java:1491)
         at 
org.apache.ignite.internal.processors.query.GridQueryProcessor.initializeCache(GridQueryProcessor.java:271)
         at 
org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart(GridQueryProcessor.java:457)
         at 
org.apache.ignite.internal.processors.cache.GridCacheProcessor.startCache(GridCacheProcessor.java:1038)
         at 
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1648)
         at 
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCachesStart(GridCacheProcessor.java:1563)
         at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.startCaches(GridDhtPartitionsExchangeFuture.java:956)
         at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:523)
         at 
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1297)
         at 
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
         at java.lang.Thread.run(Thread.java:745)
[20:47:11,994][ERROR][exchange-worker-#41%127.0.0.1%][GridCachePartitionExchangeManager]
 Runtime error caught during grid runnable execution: GridWorker 
[name=partition-exchanger, gridName=127.0.0.1, finished=false, 
isCancelled=false, hashCode=1603452138, interrupted=false, 
runner=exchange-worker-#41%127.0.0.1%]
java.lang.NullPointerException
         at 
org.apache.ignite.internal.processors.cache.GridCacheProcessor.onExchangeDone(GridCacheProcessor.java:1723)
         at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onDone(GridDhtPartitionsExchangeFuture.java:1109)
         at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onDone(GridDhtPartitionsExchangeFuture.java:87)
         at 
org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:334)
         at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:873)
         at 
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1297)
         at 
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
         at java.lang.Thread.run(Thread.java:745)

BTW, the cache configuration was generated from schema-import utility from 
ignite.
any idea what was wrong?

Best regards,
Kevin

Reply via email to