[jboss-jira] [JBoss JIRA] (WFLY-867) org.jboss.as.arquillian.container.ManagementClient.isServerInRunningState() silently swallows exceptions

James Perkins (JIRA) issues at jboss.org
Mon Jul 27 19:53:02 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins closed WFLY-867.
------------------------------
    Resolution: Duplicate Issue


See https://issues.jboss.org/browse/WFLY-2140

> org.jboss.as.arquillian.container.ManagementClient.isServerInRunningState() silently swallows exceptions
> --------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-867
>                 URL: https://issues.jboss.org/browse/WFLY-867
>             Project: WildFly
>          Issue Type: Bug
>          Components: Test Suite
>         Environment: n/a
>            Reporter: Stephen Coy
>            Assignee: Ondrej Zizka
>
> {code:java}
>     public boolean isServerInRunningState() {
>         try {
>             ...
>         } catch (Throwable ignored) {
>             return false;
>         }
>     }
> {code}
> Some exceptions will never be recoverable (such as java.lang.ClassNotFoundException) and logging them would be useful.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list