Hi Ignite Team, I am trying set SqlFieldsQuery to seTLazy to avoid OOME on Server nodes. By Config file has below setting
<property name="SqlFieldsQuery"> <bean class="org.apache.ignite.cache.query.SqlFieldsQuery"/> <property name="setLazy" value="true" /> </property> but getting below error: []# bin/ignite.sh class org.apache.ignite.IgniteException: Failed to instantiate Spring XML application context [springUrl=file:/data/ignitedata/apache-ignite-fabric-2.5.0-bin/config/default-config.xml, err=Error creating bean with name 'ignite.cfg' defined in URL [file:/data/ignitedata/apache-ignite-fabric-2.5.0-bin/config/default-config.xml]: Cannot create inner bean 'org.apache.ignite.cache.query.SqlFieldsQuery#5f9d02cb' of type [org.apache.ignite.cache.query.SqlFieldsQuery] while setting bean property 'SqlFieldsQuery'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.ignite.cache.query.SqlFieldsQuery#5f9d02cb' defined in URL [file:/data/ignitedata/apache-ignite-fabric-2.5.0-bin/config/default-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ignite.cache.query.SqlFieldsQuery]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.apache.ignite.cache.query.SqlFieldsQuery.<init>()] at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:990) at org.apache.ignite.Ignition.start(Ignition.java:355) at org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:301) Caused by: class org.apache.ignite.IgniteCheckedException: Failed to instantiate Spring XML application context [springUrl=file:/data/ignitedata/apache-ignite-fabric-2.5.0-bin/config/default-config.xml, err=Error creating bean with name 'ignite.cfg' defined in URL [file:/data/ignitedata/apache-ignite-fabric-2.5.0-bin/config/default-config.xml]: Cannot create inner bean 'org.apache.ignite.cache.query.SqlFieldsQuery#5f9d02cb' of type [org.apache.ignite.cache.query.SqlFieldsQuery] while setting bean property 'SqlFieldsQuery'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.ignite.cache.query.SqlFieldsQuery#5f9d02cb' defined in URL [file:/data/ignitedata/apache-ignite-fabric-2.5.0-bin/config/default-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ignite.cache.query.SqlFieldsQuery]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.apache.ignite.cache.query.SqlFieldsQuery.<init>()] at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:392) at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104) at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98) at org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:744) at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:945) at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:854) at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:724) at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:693) at org.apache.ignite.Ignition.start(Ignition.java:352) ... 1 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ignite.cfg' defined in URL [file:/data/ignitedata/apache-ignite-fabric-2.5.0-bin/config/default-config.xml]: Cannot create inner bean 'org.apache.ignite.cache.query.SqlFieldsQuery#5f9d02cb' of type [org.apache.ignite.cache.query.SqlFieldsQuery] while setting bean property 'SqlFieldsQuery'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.ignite.cache.query.SqlFieldsQuery#5f9d02cb' defined in URL [file:/data/ignitedata/apache-ignite-fabric-2.5.0-bin/config/default-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ignite.cache.query.SqlFieldsQuery]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.apache.ignite.cache.query.SqlFieldsQuery.<init>() at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1531) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542) at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:381) ... 9 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.ignite.cache.query.SqlFieldsQuery#5f9d02cb' defined in URL [file:/data/ignitedata/apache-ignite-fabric-2.5.0-bin/config/default-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ignite.cache.query.SqlFieldsQuery]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.apache.ignite.cache.query.SqlFieldsQuery.<init>() at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1155) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:299) ... 22 more Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ignite.cache.query.SqlFieldsQuery]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.apache.ignite.cache.query.SqlFieldsQuery.<init>() at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:85) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1147) ... 26 more Caused by: java.lang.NoSuchMethodException: org.apache.ignite.cache.query.SqlFieldsQuery.<init>() at java.lang.Class.getConstructor0(Class.java:3082) at java.lang.Class.getDeclaredConstructor(Class.java:2178) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:80) ... 27 more Failed to start grid: Failed to instantiate Spring XML application context [springUrl=file:/data/ignitedata/apache-ignite-fabric-2.5.0-bin/config/default-config.xml, err=Error creating bean with name 'ignite.cfg' defined in URL [file:/data/ignitedata/apache-ignite-fabric-2.5.0-bin/config/default-config.xml]: Cannot create inner bean 'org.apache.ignite.cache.query.SqlFieldsQuery#5f9d02cb' of type [org.apache.ignite.cache.query.SqlFieldsQuery] while setting bean property 'SqlFieldsQuery'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.ignite.cache.query.SqlFieldsQuery#5f9d02cb' defined in URL [file:/data/ignitedata/apache-ignite-fabric-2.5.0-bin/config/default-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ignite.cache.query.SqlFieldsQuery]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.apache.ignite.cache.query.SqlFieldsQuery.<init>()] -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/