Valentin Kulichenko created IGNITE-1040:
------------------------------------------- Summary: NPE if indexing fails with exception Key: IGNITE-1040 URL: https://issues.apache.org/jira/browse/IGNITE-1040 Project: Ignite Issue Type: Bug Components: cache Affects Versions: sprint-4 Reporter: Valentin Kulichenko Priority: Critical Fix For: sprint-7 If cache start process fails with exception during indexing, it doesn't actually stop and fails with NPE because some other components were not started. {code} Jun 19, 2015 11:44:26 AM org.apache.ignite.logger.java.JavaLogger error SEVERE: Failed to reinitialize local partitions (preloading will be stopped): GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], nodeId=8aec2f87, evt=DISCOVERY_CUSTOM_EVT] class org.apache.ignite.IgniteCheckedException: Property with name 'id' already exists. at org.apache.ignite.internal.processors.query.GridQueryProcessor$TypeDescriptor.addProperty(GridQueryProcessor.java:1736) at org.apache.ignite.internal.processors.query.GridQueryProcessor.processAnnotationsInClass(GridQueryProcessor.java:978) at org.apache.ignite.internal.processors.query.GridQueryProcessor.processAnnotation(GridQueryProcessor.java:1017) at org.apache.ignite.internal.processors.query.GridQueryProcessor.processAnnotationsInClass(GridQueryProcessor.java:976) at org.apache.ignite.internal.processors.query.GridQueryProcessor.processKeyAndValueClasses(GridQueryProcessor.java:210) at org.apache.ignite.internal.processors.query.GridQueryProcessor.initializeCache(GridQueryProcessor.java:163) at org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart(GridQueryProcessor.java:242) at org.apache.ignite.internal.processors.cache.GridCacheProcessor.startCache(GridCacheProcessor.java:867) at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1450) at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCachesStart(GridCacheProcessor.java:1372) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.startCaches(GridDhtPartitionsExchangeFuture.java:735) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:458) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:997) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:108) at java.lang.Thread.run(Thread.java:744) Jun 19, 2015 11:44:26 AM org.apache.ignite.logger.java.JavaLogger error SEVERE: Runtime error caught during grid runnable execution: GridWorker [name=partition-exchanger, gridName=null, finished=false, isCancelled=false, hashCode=1158985979, interrupted=false, runner=exchange-worker-#49%null%] java.lang.NullPointerException at org.apache.ignite.internal.processors.cache.GridCacheProcessor.onExchangeDone(GridCacheProcessor.java:1519) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onDone(GridDhtPartitionsExchangeFuture.java:851) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onDone(GridDhtPartitionsExchangeFuture.java:52) at org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:313) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:632) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:997) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:108) at java.lang.Thread.run(Thread.java:744) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) |
Free forum by Nabble | Edit this page |