org.springframework.beans.factory.BeanCreationException

Error creating bean with name 'UifCompView' defined in URL [file:/usr/local/apache-tomcat-7.0.26/webapps/ROOT/WEB-INF/classes/org/kuali/rice/krad/labs/kitchensink/UifComponentsView.xml]: Cannot create inner bean 'UifCompView-Page2' of type [org.kuali.rice.krad.uif.container.PageGroupBase] while setting bean property 'items' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UifCompView-Page2' defined in URL [file:/usr/local/apache-tomcat-7.0.26/webapps/ROOT/WEB-INF/classes/org/kuali/rice/krad/labs/kitchensink/UifComponentsView.xml]: Cannot resolve reference to bean 'UifCompView-LinkFields' while setting bean property 'items' with key [6]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UifCompView-LinkFields' defined in URL [file:/usr/local/apache-tomcat-7.0.26/webapps/ROOT/WEB-INF/classes/org/kuali/rice/krad/labs/kitchensink/UifComponentsViewP2.xml]: Cannot create inner bean 'UifCompView-LinkField2' of type [org.kuali.rice.krad.uif.field.LinkField] while setting bean property 'items' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UifCompView-LinkField2' defined in URL [file:/usr/local/apache-tomcat-7.0.26/webapps/ROOT/WEB-INF/classes/org/kuali/rice/krad/labs/kitchensink/UifComponentsViewP2.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'openInDialog' of bean class [org.kuali.rice.krad.uif.field.LinkField]: Bean property 'openInDialog' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web175

  • via Unknown by Adam Campbell,
  • via Unknown by Erik Meade,
  • via Unknown by Unknown author,
  • Stack trace

    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UifCompView' defined in URL [file:/usr/local/apache-tomcat-7.0.26/webapps/ROOT/WEB-INF/classes/org/kuali/rice/krad/labs/kitchensink/UifComponentsView.xml]: Cannot create inner bean 'UifCompView-Page2' of type [org.kuali.rice.krad.uif.container.PageGroupBase] while setting bean property 'items' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UifCompView-Page2' defined in URL [file:/usr/local/apache-tomcat-7.0.26/webapps/ROOT/WEB-INF/classes/org/kuali/rice/krad/labs/kitchensink/UifComponentsView.xml]: Cannot resolve reference to bean 'UifCompView-LinkFields' while setting bean property 'items' with key [6]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UifCompView-LinkFields' defined in URL [file:/usr/local/apache-tomcat-7.0.26/webapps/ROOT/WEB-INF/classes/org/kuali/rice/krad/labs/kitchensink/UifComponentsViewP2.xml]: Cannot create inner bean 'UifCompView-LinkField2' of type [org.kuali.rice.krad.uif.field.LinkField] while setting bean property 'items' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UifCompView-LinkField2' defined in URL [file:/usr/local/apache-tomcat-7.0.26/webapps/ROOT/WEB-INF/classes/org/kuali/rice/krad/labs/kitchensink/UifComponentsViewP2.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'openInDialog' of bean class [org.kuali.rice.krad.uif.field.LinkField]: Bean property 'openInDialog' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:290) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:157) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.kuali.rice.krad.datadictionary.uif.UifDictionaryIndex.getImmutableViewById(UifDictionaryIndex.java:132) at org.kuali.rice.krad.datadictionary.uif.UifDictionaryIndex.getViewById(UifDictionaryIndex.java:94) at org.kuali.rice.krad.datadictionary.DataDictionaryIndexMapper.getViewById(DataDictionaryIndexMapper.java:280) at org.kuali.rice.krad.datadictionary.DataDictionary.getViewById(DataDictionary.java:659) at org.kuali.rice.krad.service.impl.DataDictionaryServiceImpl.getViewById(DataDictionaryServiceImpl.java:875) at sun.reflect.GeneratedMethodAccessor1001.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at net.bull.javamelody.MonitoringSpringInterceptor.invoke(MonitoringSpringInterceptor.java:74) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy115.getViewById(Unknown Source) at org.kuali.rice.krad.uif.service.impl.ViewServiceImpl.getViewById(ViewServiceImpl.java:56) at sun.reflect.GeneratedMethodAccessor1000.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at net.bull.javamelody.MonitoringSpringInterceptor.invoke(MonitoringSpringInterceptor.java:74) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy177.getViewById(Unknown Source) at org.kuali.rice.krad.web.bind.UifServletRequestDataBinder.bind(UifServletRequestDataBinder.java:181) at org.kuali.rice.krad.web.controller.UifDefaultFormMethodArgumentResolver.resolveArgument(UifDefaultFormMethodArgumentResolver.java:78) at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:79) at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:157) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:124) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.krad.web.filter.CharsetFilter.doFilter(CharsetFilter.java:58) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:327) at org.kuali.rice.krad.web.filter.DummyLoginFilter.doFilter(DummyLoginFilter.java:82) at org.kuali.rice.krad.web.filter.DummyLoginFilter.doFilter(DummyLoginFilter.java:62) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.kuali.rice.krad.web.filter.BootstrapFilter.doFilter(BootstrapFilter.java:199) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.krad.web.filter.UifSessionTimeoutFilter.doFilter(UifSessionTimeoutFilter.java:130) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:214) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UifCompView-Page2' defined in URL [file:/usr/local/apache-tomcat-7.0.26/webapps/ROOT/WEB-INF/classes/org/kuali/rice/krad/labs/kitchensink/UifComponentsView.xml]: Cannot resolve reference to bean 'UifCompView-LinkFields' while setting bean property 'items' with key [6]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UifCompView-LinkFields' defined in URL [file:/usr/local/apache-tomcat-7.0.26/webapps/ROOT/WEB-INF/classes/org/kuali/rice/krad/labs/kitchensink/UifComponentsViewP2.xml]: Cannot create inner bean 'UifCompView-LinkField2' of type [org.kuali.rice.krad.uif.field.LinkField] while setting bean property 'items' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UifCompView-LinkField2' defined in URL [file:/usr/local/apache-tomcat-7.0.26/webapps/ROOT/WEB-INF/classes/org/kuali/rice/krad/labs/kitchensink/UifComponentsViewP2.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'openInDialog' of bean class [org.kuali.rice.krad.uif.field.LinkField]: Bean property 'openInDialog' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:157) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:276) ... 99 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UifCompView-LinkFields' defined in URL [file:/usr/local/apache-tomcat-7.0.26/webapps/ROOT/WEB-INF/classes/org/kuali/rice/krad/labs/kitchensink/UifComponentsViewP2.xml]: Cannot create inner bean 'UifCompView-LinkField2' of type [org.kuali.rice.krad.uif.field.LinkField] while setting bean property 'items' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UifCompView-LinkField2' defined in URL [file:/usr/local/apache-tomcat-7.0.26/webapps/ROOT/WEB-INF/classes/org/kuali/rice/krad/labs/kitchensink/UifComponentsViewP2.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'openInDialog' of bean class [org.kuali.rice.krad.uif.field.LinkField]: Bean property 'openInDialog' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:290) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:157) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) ... 107 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UifCompView-LinkField2' defined in URL [file:/usr/local/apache-tomcat-7.0.26/webapps/ROOT/WEB-INF/classes/org/kuali/rice/krad/labs/kitchensink/UifComponentsViewP2.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'openInDialog' of bean class [org.kuali.rice.krad.uif.field.LinkField]: Bean property 'openInDialog' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1493) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:276) ... 117 more Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'openInDialog' of bean class [org.kuali.rice.krad.uif.field.LinkField]: Bean property 'openInDialog' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1064) at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:922) at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:82) at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:62) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1489) ... 121 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    andyglickandyglick
    Once,
    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    25 more bugmates