[ 
https://issues.apache.org/jira/browse/ISIS-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Haywood resolved ISIS-1498.
-------------------------------
    Resolution: Fixed

> BackgroundCommandExecution does not handle exceptions correctly.
> ----------------------------------------------------------------
>
>                 Key: ISIS-1498
>                 URL: https://issues.apache.org/jira/browse/ISIS-1498
>             Project: Isis
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.13.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: 1.13.1
>
>
> 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:
> {code}
> Exception unused = backgroundInteraction.getPriorExecution().getThrew();
> {code}
> 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:
> {code}
> backgroundInteraction.getCurrentExecution().setThrew(e);
> {code}
> Here, getCurrentExecution() returned null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to