java.lang.NoSuchMethodException: Property 'blah' has no getter method in class 'class my.package.MyClass'

Kuali JIRA | Eric Westfall | 4 years ago
  1. 0

    when you click the magnifying glass by the principal id on the search it blows up with this error: ******************Stack Trace-Only shown when not in production***************** java.lang.RuntimeException: error getting property value for class org.kuali.rice.kns.web.struts.form.LookupForm.principalName Unknown property 'principalName' at org.kuali.rice.kns.util.ObjectUtils.getPropertyValue(ObjectUtils.java:326) at org.kuali.rice.kns.web.struts.form.KualiForm.retrieveFormValueForLookupInquiryParameters(KualiForm.java:341) at org.kuali.rice.kns.web.struts.action.KualiAction.retrieveLookupParameterValue(KualiAction.java:399) at org.kuali.rice.kns.web.struts.action.KualiAction.performLookup(KualiAction.java:491) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:171) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:122) at org.kuali.rice.kns.web.struts.action.KualiLookupAction.execute(KualiLookupAction.java:156) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:498) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:494) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:99) at org.kuali.hr.time.web.TKRequestProcessor.process(TKRequestProcessor.java:36) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:88) at org.kuali.hr.time.web.TkLoginFilter.doFilter(TkLoginFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:305) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:88) at org.kuali.hr.time.web.TkLoginFilter.doFilter(TkLoginFilter.java:36) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:298) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:166) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NoSuchMethodException: Unknown property 'principalName' at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1122) at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686) at org.kuali.rice.kns.web.struts.pojo.PojoPropertyUtilsBean.getNestedProperty(PojoPropertyUtilsBean.java:165) at org.kuali.rice.kns.web.struts.pojo.PojoPropertyUtilsBean.getProperty(PojoPropertyUtilsBean.java:69) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290) at org.kuali.rice.kns.util.ObjectUtils.getPropertyValue(ObjectUtils.java:316) ... 49 more

    Kuali JIRA | 6 years ago | Lora Headdy-Fox
    java.lang.RuntimeException: error getting property value for class org.kuali.rice.kns.web.struts.form.LookupForm.principalName Unknown property 'principalName'
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    when you click the magnifying glass by the job # it throws this error ******************Stack Trace-Only shown when not in production***************** java.lang.RuntimeException: error getting property value for class org.kuali.rice.kns.web.struts.form.LookupForm.dept Unknown property 'dept' at org.kuali.rice.kns.util.ObjectUtils.getPropertyValue(ObjectUtils.java:326) at org.kuali.rice.kns.web.struts.form.KualiForm.retrieveFormValueForLookupInquiryParameters(KualiForm.java:341) at org.kuali.rice.kns.web.struts.action.KualiAction.retrieveLookupParameterValue(KualiAction.java:399) at org.kuali.rice.kns.web.struts.action.KualiAction.performLookup(KualiAction.java:491) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:171) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:122) at org.kuali.rice.kns.web.struts.action.KualiLookupAction.execute(KualiLookupAction.java:156) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:498) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:494) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:99) at org.kuali.hr.time.web.TKRequestProcessor.process(TKRequestProcessor.java:35) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:88) at org.kuali.hr.time.web.TkLoginFilter.doFilter(TkLoginFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:305) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:88) at org.kuali.hr.time.web.TkLoginFilter.doFilter(TkLoginFilter.java:36) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:298) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:166) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NoSuchMethodException: Unknown property 'dept' at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1122) at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686) at org.kuali.rice.kns.web.struts.pojo.PojoPropertyUtilsBean.getNestedProperty(PojoPropertyUtilsBean.java:165) at org.kuali.rice.kns.web.struts.pojo.PojoPropertyUtilsBean.getProperty(PojoPropertyUtilsBean.java:69) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290) at org.kuali.rice.kns.util.ObjectUtils.getPropertyValue(ObjectUtils.java:316) ... 49 more

    Kuali JIRA | 6 years ago | Lora Headdy-Fox
    java.lang.RuntimeException: error getting property value for class org.kuali.rice.kns.web.struts.form.LookupForm.dept Unknown property 'dept'
  4. 0

    click lookup icon for Calendar name and got following error ******************Stack Trace-Only shown when not in production***************** java.lang.RuntimeException: error getting property value for class org.kuali.rice.kns.web.struts.form.LookupForm.hrCalendarId Unknown property 'hrCalendarId' on class 'class org.kuali.rice.kns.web.struts.form.LookupForm' at org.kuali.rice.krad.util.ObjectUtils.getPropertyValue(ObjectUtils.java:308) at org.kuali.rice.kns.web.struts.form.KualiForm.retrieveFormValueForLookupInquiryParameters(KualiForm.java:372) at org.kuali.rice.kns.web.struts.action.KualiAction.retrieveLookupParameterValue(KualiAction.java:405) at org.kuali.rice.kns.web.struts.action.KualiAction.performLookup(KualiAction.java:496) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:168) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:129) at org.kuali.rice.kns.web.struts.action.KualiLookupAction.execute(KualiLookupAction.java:159) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:486) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:482) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:215) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:202) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:89) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:96) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:55) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:193) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NoSuchMethodException: Unknown property 'hrCalendarId' on class 'class org.kuali.rice.kns.web.struts.form.LookupForm' at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1329) at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:770) at org.kuali.rice.kns.web.struts.form.pojo.PojoPropertyUtilsBean.getNestedProperty(PojoPropertyUtilsBean.java:248) at org.kuali.rice.kns.web.struts.form.pojo.PojoPropertyUtilsBean.getProperty(PojoPropertyUtilsBean.java:108) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:426) at org.kuali.rice.krad.util.ObjectUtils.getPropertyValue(ObjectUtils.java:298) ... 61 more

    Kuali JIRA | 4 years ago | Mindi Balmer
    java.lang.RuntimeException: error getting property value for class org.kuali.rice.kns.web.struts.form.LookupForm.hrCalendarId Unknown property 'hrCalendarId' on class 'class org.kuali.rice.kns.web.struts.form.LookupForm'

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodException

      Property 'blah' has no getter method in class 'class my.package.MyClass'

      at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty()
    2. Apache Commons BeanUtils
      PropertyUtilsBean.getNestedProperty
      1. org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1340)
      2. org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:752)
      2 frames