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

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


Martin Gencur created ISPN-6072:
-----------------------------------

             Summary: 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


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