]
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)