org.kuali.rice.krad.util.BeanPropertyComparator$BeanComparisonException: unable to find property 'edu.sampleu.travel.dataobject.TravelCompany.travelAccountNumber'

Kuali JIRA | Erik Meade | 3 years ago
  1. 0

    AFT Step: Open /kr-krad/labs?viewId=LabsMenuView AFT Step: Click Lookups link. AFT Step: Click Lookup Automatic passing of keys link. {code} org.kuali.rice.krad.util.BeanPropertyComparator$BeanComparisonException: unable to find property 'edu.sampleu.travel.dataobject.TravelCompany.travelAccountNumber' at org.kuali.rice.krad.util.BeanPropertyComparator.compare(BeanPropertyComparator.java:136) at java.util.Arrays.mergeSort(Arrays.java:1270) at java.util.Arrays.sort(Arrays.java:1210) at java.util.Collections.sort(Collections.java:157) at org.kuali.rice.krad.lookup.LookupableImpl.sortSearchResults(LookupableImpl.java:453) at org.kuali.rice.krad.lookup.LookupableImpl.performSearch(LookupableImpl.java:136) at org.kuali.rice.krad.lookup.LookupController.search(LookupController.java:136) at org.kuali.rice.krad.lookup.LookupController$$FastClassByCGLIB$$c4222517.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631) at org.kuali.rice.krad.lookup.LookupController$$EnhancerByCGLIB$$66ef9b99.search(<generated>) at sun.reflect.GeneratedMethodAccessor961.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) 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:745) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812) 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.krad.web.filter.CharsetFilter.doFilter(CharsetFilter.java:58) 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.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:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 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:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.UifSessionTimeoutFilter.doFilter(UifSessionTimeoutFilter.java:106) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 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:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:68) 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:213) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 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.valves.AccessLogValve.invoke(AccessLogValve.java:615) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NullPointerException at org.kuali.rice.krad.util.BeanPropertyComparator.compare(BeanPropertyComparator.java:124) ... 75 more {code} Abbreviated test name: LabsLookupAutomaticPassingOfKeysAft.testLabsLookupAutomaticPassingOfKeysNav Full test name: org.kuali.rice.krad.labs.lookups.LabsLookupAutomaticPassingOfKeysAft.testLabsLookupAutomaticPassingOfKeysNav Test results url: http://ci.rice.kuali.org/job/rice-2.4-test-functional-saucelabs-krad-labs/lastCompletedBuild/testReport/org.kuali.rice.krad.labs.lookups/LabsLookupAutomaticPassingOfKeysAft/testLabsLookupAutomaticPassingOfKeysNav/ Abbreviated test name: LabsLookupAutomaticPassingOfKeysAft.testLabsLookupAutomaticPassingOfKeysBookmark Full test name: org.kuali.rice.krad.labs.lookups.LabsLookupAutomaticPassingOfKeysAft.testLabsLookupAutomaticPassingOfKeysBookmark Test results url: http://ci.rice.kuali.org/job/rice-2.4-smoke-test-krad-labs/lastCompletedBuild/testReport/org.kuali.rice.krad.labs.lookups/LabsLookupAutomaticPassingOfKeysAft/testLabsLookupAutomaticPassingOfKeysBookmark/

    Kuali JIRA | 3 years ago | Erik Meade
    org.kuali.rice.krad.util.BeanPropertyComparator$BeanComparisonException: unable to find property 'edu.sampleu.travel.dataobject.TravelCompany.travelAccountNumber'

    Root Cause Analysis

    1. org.kuali.rice.krad.util.BeanPropertyComparator$BeanComparisonException

      unable to find property 'edu.sampleu.travel.dataobject.TravelCompany.travelAccountNumber'

      at org.kuali.rice.krad.util.BeanPropertyComparator.compare()
    2. org.kuali.rice
      BeanPropertyComparator.compare
      1. org.kuali.rice.krad.util.BeanPropertyComparator.compare(BeanPropertyComparator.java:136)
      1 frame
    3. Java RT
      Collections.sort
      1. java.util.Arrays.mergeSort(Arrays.java:1270)
      2. java.util.Arrays.sort(Arrays.java:1210)
      3. java.util.Collections.sort(Collections.java:157)
      3 frames
    4. org.kuali.rice
      LookupController.search
      1. org.kuali.rice.krad.lookup.LookupableImpl.sortSearchResults(LookupableImpl.java:453)
      2. org.kuali.rice.krad.lookup.LookupableImpl.performSearch(LookupableImpl.java:136)
      3. org.kuali.rice.krad.lookup.LookupController.search(LookupController.java:136)
      3 frames