[infinispan-issues] [JBoss JIRA] (ISPN-6072) Handle exceptions properly throughout the codebase

Martin Gencur (JIRA) issues at jboss.org
Thu Jan 14 04:05:00 EST 2016


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

Martin Gencur updated ISPN-6072:
--------------------------------
    Attachment: remote-exception-empty-handler-java.txt
                embedded-query-exception-empty-handler-java.txt
                embedded-exception-empty-handler-java.txt


Attaching files with detailed results.

> Handle exceptions properly throughout the codebase
> --------------------------------------------------
>
>                 Key: ISPN-6072
>                 URL: https://issues.jboss.org/browse/ISPN-6072
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 8.0.2.Final
>            Reporter: Martin Gencur
>         Attachments: embedded-exception-empty-handler-java.txt, embedded-query-exception-empty-handler-java.txt, remote-exception-empty-handler-java.txt
>
>
> There are places in Infinispan code base where exceptions are not handled properly. There are 3 types of problems which have been tested:
> 1) the exception handler is empty
> 2) there's a terminating command in the exception handler (unexpected abort in exception overcatch)
> 3) TODO or FIXME in exception handlers
> I've run Aspirator (https://github.com/diy1/aspirator) for infinispan-embedded, infinispan-embedded-query and infinispan-remote uberjars. Detailed results are attached. The summary is following. No issues of type 2) and 3) were found in the code base. The issue type 1) is described below :
> * infinispan-embedded - 21 issues of type 1)
> * infinispan-embedded-query - 5 issues of type 1)
> * infinispan-remote - 1 issue of type 1)  (the remaining 10 issues comes from infinispan-commons which is shared between infinispan-embedded and infinispan-remote)



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list