java.lang.NullPointerException

Kuali JIRA | John Swaro | 1 year ago
  1. 0

    creating a TA or TR, when a document is adhoc'd to a person who disapproves the document, the application doc status for the document creates a stack trace error. There is not an application document status for a document that is adhoc'd then disapproved. The status of the document is correct as disapproved but the application doc status remains as In Process CSU used an existing doc status- Disapproved-Traveler when an adhoc- dissaprove action is taken on TA and TR. Applying this doc status updates the application doc status and stack trace error goes away JIRA COMMENTS {QUOTE} John Swaro added a comment - 30/Nov/15 12:47 PM to replicate the issue in TST TA for khuntley- pick any trip and date. Create a per diem table Account # BL 1024700 Adhoc route to asmiley. Submit Login as asmiley and click disapprove- put in note and submit. Status of document is Disapproved Document status is “In Process Do a doc search and click on document- will throw a stack trace error {code} *****************Stack Trace-Only shown when not in production**************** java.lang.NullPointerException at org.kuali.kfs.module.tem.document.authorization.TravelAuthorizationDocumentPresentationController.canNewReimbursement(TravelAuthorizationDocumentPresentationController.java:238) at org.kuali.kfs.module.tem.document.authorization.TravelAuthorizationDocumentPresentationController.getDocumentActions(TravelAuthorizationDocumentPresentationController.java:147) at org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.populateAuthorizationFields(KualiDocumentActionBase.java:1738) at org.kuali.rice.kns.web.struts.action.KualiTransactionalDocumentActionBase.populateAuthorizationFields(KualiTransactionalDocumentActionBase.java:65) at org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.execute(KualiDocumentActionBase.java:218) at org.kuali.kfs.sys.document.web.struts.FinancialSystemTransactionalDocumentActionBase.execute(FinancialSystemTransactionalDocumentActionBase.java:76) at org.kuali.kfs.sys.web.struts.KualiAccountingDocumentActionBase.execute(KualiAccountingDocumentActionBase.java:106) at org.kuali.kfs.module.tem.document.web.struts.TravelActionBase.execute(TravelActionBase.java:342) at org.kuali.kfs.module.tem.document.web.struts.TravelAuthorizationAction.execute(TravelAuthorizationAction.java:112) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:496) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:492) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:221) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:208) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:95) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:198) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kuali.kfs.sys.web.filter.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:48) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 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:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 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:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) {code} {QUOTE}

    Kuali JIRA | 1 year ago | John Swaro
    java.lang.NullPointerException
  2. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NullPointerException

      No message provided

      at org.kuali.kfs.module.tem.document.authorization.TravelAuthorizationDocumentPresentationController.canNewReimbursement()
    2. org.kuali.kfs
      TravelAuthorizationDocumentPresentationController.getDocumentActions
      1. org.kuali.kfs.module.tem.document.authorization.TravelAuthorizationDocumentPresentationController.canNewReimbursement(TravelAuthorizationDocumentPresentationController.java:238)
      2. org.kuali.kfs.module.tem.document.authorization.TravelAuthorizationDocumentPresentationController.getDocumentActions(TravelAuthorizationDocumentPresentationController.java:147)
      2 frames
    3. org.kuali.rice
      KualiDocumentActionBase.execute
      1. org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.populateAuthorizationFields(KualiDocumentActionBase.java:1738)
      2. org.kuali.rice.kns.web.struts.action.KualiTransactionalDocumentActionBase.populateAuthorizationFields(KualiTransactionalDocumentActionBase.java:65)
      3. org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.execute(KualiDocumentActionBase.java:218)
      3 frames
    4. org.kuali.kfs
      TravelAuthorizationAction.execute
      1. org.kuali.kfs.sys.document.web.struts.FinancialSystemTransactionalDocumentActionBase.execute(FinancialSystemTransactionalDocumentActionBase.java:76)
      2. org.kuali.kfs.sys.web.struts.KualiAccountingDocumentActionBase.execute(KualiAccountingDocumentActionBase.java:106)
      3. org.kuali.kfs.module.tem.document.web.struts.TravelActionBase.execute(TravelActionBase.java:342)
      4. org.kuali.kfs.module.tem.document.web.struts.TravelAuthorizationAction.execute(TravelAuthorizationAction.java:112)
      4 frames
    5. org.kuali.rice
      KualiRequestProcessor$1.doInTransaction
      1. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:496)
      1 frame
    6. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
      1 frame
    7. org.kuali.rice
      KualiRequestProcessor.process
      1. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:492)
      2. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:221)
      3. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:208)
      4. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:95)
      4 frames
    8. struts
      ActionServlet.process
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      1 frame
    9. org.kuali.rice
      KualiActionServlet.process
      1. org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:198)
      1 frame
    10. struts
      ActionServlet.doGet
      1. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
      1 frame
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      2 frames
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    13. org.kuali.kfs
      SessionExpirationFilter.doFilter
      1. org.kuali.kfs.sys.web.filter.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:48)
      1 frame
    14. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    15. org.kuali.rice
      UserPreferencesFilter.doFilter
      1. org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78)
      2. org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62)
      2 frames
    16. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    17. org.kuali.rice
      UserLoginFilter.doFilter
      1. org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89)
      2. org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77)
      2 frames
    18. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames