Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1498

BackgroundCommandExecution does not handle exceptions correctly.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.13.0
    • 1.13.1
    • Core
    • None

    Description

      Seen two separate issues.

      First, when there was a mismatch in arguments to parameters (see ISIS-1497), this resulted in an NPE in this line of the catch block:

      Exception unused = backgroundInteraction.getPriorExecution().getThrew();
      

      specifically, getPriorExecution() returned null.

      Then, when I worked around that issue so that the action could be invoked but when executed threw an exception, resulted in an NPE in this line of the catch block:

      backgroundInteraction.getCurrentExecution().setThrew(e);
      

      Here, getCurrentExecution() returned null.

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: