ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.W. Janssen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACE-451) DefaultController does not catch runtime exceptions during installation.
Date Fri, 31 Jan 2014 12:26:10 GMT

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

J.W. Janssen resolved ACE-451.
------------------------------

    Resolution: Fixed

Committed a slightly different version of the patch provided by [~Japio007], which essentially
is a catch-all to ensure that we *always* report failures in the {{StreamingUpdateInstaller}}.
Also adapted the {{DownloadUpdateInstaller}} to include the same solution.
Added an integration test that reproduces the problem by creating an invalid deployment package.
See rev #1563105.

> DefaultController does not catch runtime exceptions during installation.
> ------------------------------------------------------------------------
>
>                 Key: ACE-451
>                 URL: https://issues.apache.org/jira/browse/ACE-451
>             Project: ACE
>          Issue Type: Bug
>          Components: Management Agent
>            Reporter: Marcel Offermans
>            Assignee: J.W. Janssen
>         Attachments: ACE-451.patch
>
>
> The default controller in its various doInstallUpdate(...) methods does not catch runtime
exceptions that can occur. In this case, also nothing is logged back to the user. Fix these
methods to explicitly catch all exceptions and properly log and respond to them.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message