java.lang.RuntimeException: Document number is blank/null. Unable to load a WorkflowDocument

Kuali JIRA | Sam Rawlins | 4 years ago
  1. 0

    http://jira.arizona.edu/browse/KITT-2351 A Credit Memo (CM) can be applied using 3 different options. 1) against a PREQ 2) against a PO 3) against a Vendor This issue is when a CM is being applied against the PO. When trying to create a CM against a PO, if any of the PO lines have not been invoiced against the system displays an error "The specified PO has no items that have been invoiced". I then added and submitted a PREQ. Without approving the PREQ, I then tried to add a CM and the system allowed that for whatever qty was on the PREQ.The PREQ can be canceled and the credit taken. Would like the similar logic that does not allow a CM if the invoice qty is on a PREQ that has not been approved. Also display a warning when canceling a PREQ where the qty credited will now be more than the expensed qty. JIRA COMMENTS {QUOTE} Chenise Patterson added a comment - 07/Dec/12 4:01 PM Not reviewed by the SME group at this time. Barb Sutton added a comment - 13/Mar/13 5:15 PM Hi Karyn, I changed this back to Functional Proposal Unspecified since it has not yet been reviewed according to Chenise's comment from Dec. This contribution is slated for 5.0.3 and needs to be reviewed by the SME team ASAP. Thanks. Karyn Pearl added a comment - 14/Mar/13 1:13 PM I retested the and received a stack trace error when trying to process a VCM on a PO that had a pending PREQ payment. java.lang.RuntimeException: Document number is blank/null. Unable to load a WorkflowDocument at org.kuali.kfs.sys.businessobject.FinancialSystemDocumentHeader.getWorkflowDocument(FinancialSystemDocumentHeader.java:168) at org.kuali.kfs.sec.service.impl.SecDocumentDictionaryServiceImpl.getBusinessRulesClass(SecDocumentDictionaryServiceImpl.java:40) at org.kuali.rice.krad.service.impl.KualiRuleServiceImpl.getBusinessRulesInstance(KualiRuleServiceImpl.java:163) at org.kuali.rice.krad.service.impl.KualiRuleServiceImpl.applyRules(KualiRuleServiceImpl.java:67) Bryan Hutchinson added a comment - 15/Mar/13 4:44 PM Karyn, Did you re-test this in INT? What you encountered sounds like a separate (new?) bug that should be reported if there isn't a JIRA for it already. Thanks, Bryan Barb Sutton added a comment - 26/Mar/13 12:07 PM I moved this to proposal accepted since both functional and technical teams accepted the contribution. Karyn, did you see Bryan's previous comment regarding the stack trace error you received? Today in INT, I was able to create a CM (1019) against PO 1118 which had a PREQ (1141) awaiting FO approval today and did not get a stack trace. Do you want to try again? If you do get a stack trace, please create a new JIRA and be sure to record your exact steps, since you must be doing something different than what I did. Thanks! Heather Elyea added a comment - 01/May/13 3:03 PM Changing the Target KFS Version to TBD (with UoA's approval) since this issue will not be completed in time for 5.0.3. UoA will update as they are ready to commit to a current release. Amy Dougherty (Inactive) added a comment - 19/Jul/13 4:49 PM I tested in cntrb, build release 5-0-5 and created PO 1091/10122 and then created PREQ 1140/10134 and submitted it. Before fiscal officer approval I initiated a CM and when I clicked the continue button, received the error message "Credit Memo total must not exceed the specified PO's approved payments total of 0.00" Amy Dougherty (Inactive) added a comment - 01/Oct/13 3:45 PM See notes on KFSMI-9908. I think this contribution should be pulled. Thanks. Barb Sutton added a comment - 01/Oct/13 3:55 PM Thanks, Amy. Bryan will need to pull this code from 5.0.5. Do you think UA will do more work on this and contribute later? If so, we can keep move this KFSCNTRB issue back to project acceptance and change the target KFS release to TBD. When it's ready to go again, we'll change to the current patch release. If you don't think it will be contributed, we should cancel the contribution. If you let me know what UA decides, I can take care of the JIRA administration. Amy Dougherty (Inactive) added a comment - 01/Oct/13 3:58 PM I will try this week to find out if UA will do more work on this and contribute later. Amy Dougherty (Inactive) added a comment - 03/Oct/13 7:51 PM Barb, UA will do more work on this and contribute it later (our ticket KATTS-1966). Barb Sutton added a comment - 07/Oct/13 10:16 AM Thanks Amy. I changed the Target KFS Release & Source Branch to TBD. When you're ready to contribute updated code, just let us know and/or change the Target KFS Release to the current bug fix release. Barb Sutton added a comment - 07/Oct/13 2:41 PM - edited Bryan, the code for this needs to be pulled from the 5.0.5 branch. In the future I won't change the KFS Target release on the KFSCNTRB issue until after you have done that Bryan Hutchinson added a comment - 07/Oct/13 4:43 PM This has been pulled from the 5.0.5 branch. Charlie Sinex added a comment - 17/Feb/14 2:45 PM It is common at Indiana University that a routed payment request will be put on hold until the fiscal officer observes that the offsetting credit memo has been processed. I believe the error message documented for the PO scenario is a bug. I believe SME review of the proposal is in order (at a future date). The logic proposed in this JIRA is contrary to our business practice. Barb Sutton added a comment - 23/Sep/14 6:36 PM Reverting functional and technical proposal acceptance since this was deferred to a future patch release. It can be reviewed again when the fix is ready to be contributed. {QUOTE}

    Kuali JIRA | 4 years ago | Sam Rawlins
    java.lang.RuntimeException: Document number is blank/null. Unable to load a WorkflowDocument
  2. 0

    Crash at start

    GitHub | 1 year ago | nake90
    java.lang.RuntimeException: Unable to resume activity {sk.baka.aedict3/sk.baka.aedict3.search.MainActivity}: java.lang.IllegalArgumentException: value: blank
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    cannot getImage through https

    Oracle Community | 1 decade ago | 843807
    java.lang.reflect.InvocationTargetException

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

      Document number is blank/null. Unable to load a WorkflowDocument

      at org.kuali.kfs.sys.businessobject.FinancialSystemDocumentHeader.getWorkflowDocument()
    2. org.kuali.kfs
      SecDocumentDictionaryServiceImpl.getBusinessRulesClass
      1. org.kuali.kfs.sys.businessobject.FinancialSystemDocumentHeader.getWorkflowDocument(FinancialSystemDocumentHeader.java:168)
      2. org.kuali.kfs.sec.service.impl.SecDocumentDictionaryServiceImpl.getBusinessRulesClass(SecDocumentDictionaryServiceImpl.java:40)
      2 frames
    3. org.kuali.rice
      KualiRuleServiceImpl.applyRules
      1. org.kuali.rice.krad.service.impl.KualiRuleServiceImpl.getBusinessRulesInstance(KualiRuleServiceImpl.java:163)
      2. org.kuali.rice.krad.service.impl.KualiRuleServiceImpl.applyRules(KualiRuleServiceImpl.java:67)
      2 frames