the actual failure is happening here which is after ignite instance is returned. Should this be in try block or why whold it go nuts. here is the stack trace.
/this.labelCache = this.igniteInstance.getOrCreateCache(IGNITE_LABEL_CACHE);/ Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.db.sl.inventory.service.InventoryService]: Factory method 'createInvService' threw exception; nested exception is java.lang.IllegalStateException: Grid is in invalid state to perform this operation. It either not started yet or has already being or have stopped [igniteInstanceName=null, state=STOPPED] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ... 38 more Caused by: java.lang.IllegalStateException: Grid is in invalid state to perform this operation. It either not started yet or has already being or have stopped [igniteInstanceName=null, state=STOPPED] at org.apache.ignite.internal.GridKernalGatewayImpl.illegalState(GridKernalGatewayImpl.java:201) at org.apache.ignite.internal.GridKernalGatewayImpl.readLock(GridKernalGatewayImpl.java:95) at org.apache.ignite.internal.IgniteKernal.guard(IgniteKernal.java:3794) at org.apache.ignite.internal.IgniteKernal.getOrCreateCache(IgniteKernal.java:3212) at com.db.sl.ignite.services.IgniteInventoryService.<init>(IgniteInventoryService.java:29) at com.db.sl.inventory.InvServiceFactory.of(InvServiceFactory.java:27) at com.db.sl.inventory.config.SpringConfig.createInvService(SpringConfig.java:75) at com.db.sl.inventory.config.SpringConfig$$EnhancerBySpringCGLIB$$12b0324d.CGLIB$createInvService$1(<generated>) at com.db.sl.inventory.config.SpringConfig$$EnhancerBySpringCGLIB$$12b0324d$$FastClassBySpringCGLIB$$88c9fec0.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358) at com.db.sl.inventory.config.SpringConfig$$EnhancerBySpringCGLIB$$12b0324d.createInvService(<generated>) 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.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ... 39 more -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/