Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-5477

Rice Dev: KRAD Travel Account Maintenance (new) error

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-m8, 2.0
    • Component/s: Unit Testing
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Environment:
      Rice Dev
    • Rice Module:
      KRAD
    • Application Requirement:
      Rice
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      Main Menu > KRAD Testing - KS L&F > Travel Account Maintenance (New)

      In the Fiscal Officer Accounts section if you add in the account number and fiscal officer ID, you can click the add button without error there (not sure what that really does), but when it refreshes after the loading notifications screen, the travel account number is blanked out. Then if you put in info for the travel account number and hit add again, you get the dump below...

      In the incident report
      1 errors
      newCollectionLines[document.newMaintainableObject.dataObject.fiscalOfficer.accounts].foId - Invalid format

      Document Id: 3019
      View Id: TravelAccount-MaintenanceView_KS
      Error Message: The system has encountered an error and is unable to complete your request at this time. Please provide more information regarding this error by completing this Incident Report.

      In the Stack Trace...

      java.lang.NullPointerException at org.kuali.rice.krad.uif.util.ComponentFactory.getComponentById(ComponentFactory.java:103) at org.kuali.rice.krad.uif.util.ComponentFactory.getComponentByIdWithLifecycle(ComponentFactory.java:118) at org.kuali.rice.krad.web.controller.UifControllerBase.updateComponent(UifControllerBase.java:405) at org.kuali.rice.krad.web.controller.UifControllerBase.addLine(UifControllerBase.java:204) 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.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:414) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560) 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.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.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.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:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619)

        Attachments

          Issue Links

            Activity

            Hide
            masargen Matt Sargent added a comment -

            While it's not blanking out the travel account number and is displaying the added row as it should, when you try to add a second one you still get the same error message when you hit add the second time...

            2011-09-01 08:11:04,614 [http-8081-20] u:admin/d: ERROR org.kuali.rice.krad.web.bind.UifHandlerExceptionResolver - 
            java.lang.NullPointerException
            	at org.kuali.rice.krad.uif.util.ComponentFactory.getComponentById(ComponentFactory.java:103)
            	at org.kuali.rice.krad.uif.util.ComponentFactory.getComponentByIdWithLifecycle(ComponentFactory.java:118)
            	at org.kuali.rice.krad.web.controller.UifControllerBase.updateComponent(UifControllerBase.java:431)
            	at org.kuali.rice.krad.web.controller.UifControllerBase.addLine(UifControllerBase.java:204)
            	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.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
            	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
            	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
            	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:863)
            	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
            	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:851)
            	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:767)
            	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.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.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.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:298)
            	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
            	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
            	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
            	at java.lang.Thread.run(Thread.java:619)
            Show
            masargen Matt Sargent added a comment - While it's not blanking out the travel account number and is displaying the added row as it should, when you try to add a second one you still get the same error message when you hit add the second time... 2011-09-01 08:11:04,614 [http-8081-20] u:admin/d: ERROR org.kuali.rice.krad.web.bind.UifHandlerExceptionResolver - java.lang.NullPointerException at org.kuali.rice.krad.uif.util.ComponentFactory.getComponentById(ComponentFactory.java:103) at org.kuali.rice.krad.uif.util.ComponentFactory.getComponentByIdWithLifecycle(ComponentFactory.java:118) at org.kuali.rice.krad.web.controller.UifControllerBase.updateComponent(UifControllerBase.java:431) at org.kuali.rice.krad.web.controller.UifControllerBase.addLine(UifControllerBase.java:204) 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.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:863) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:851) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:767) 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.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.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.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:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang. Thread .run( Thread .java:619)
            Hide
            samuel Samuel Holtzkampf (Inactive) added a comment -

            The fix has been committed to trunk but it is not reflected on http://dev.rice.kuali.org yet.

            Show
            samuel Samuel Holtzkampf (Inactive) added a comment - The fix has been committed to trunk but it is not reflected on http://dev.rice.kuali.org yet.
            Hide
            riceci Rice-CI User (Inactive) added a comment -

            Integrated in rice-trunk-nightly #173 (See http://ci.rice.kuali.org/job/rice-trunk-nightly/173/)
            KULRICE-5477 : Fix the nullpointer on the getComponentById for the action field scripts on collections.

            Show
            riceci Rice-CI User (Inactive) added a comment - Integrated in rice-trunk-nightly #173 (See http://ci.rice.kuali.org/job/rice-trunk-nightly/173/ ) KULRICE-5477 : Fix the nullpointer on the getComponentById for the action field scripts on collections.
            Hide
            masargen Matt Sargent added a comment -

            Tested in Dev this morning and it's working now. Thanks!

            -Matt

            Show
            masargen Matt Sargent added a comment - Tested in Dev this morning and it's working now. Thanks! -Matt
            Hide
            jcoltrin Jessica Coltrin (Inactive) added a comment -

            Closing since these items are now in the release notes.

            Show
            jcoltrin Jessica Coltrin (Inactive) added a comment - Closing since these items are now in the release notes.

              People

              • Assignee:
                samuel Samuel Holtzkampf (Inactive)
                Reporter:
                masargen Matt Sargent
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: