We developed a mining-based approach that recovers specifications for APIs of JavaSDK and uses those specifications to detect defects statically. In our study, we found that at various places, return checks are missing in the Columba. It would be great if you could analyze and fix those issues.
java.util.List,get(int) throws IndexOutOfBoundsException when invoked on a list without any elements. Currently the condition check is missing in the following places:
Method: getSelectedMimePart Line: 266
Method: getLoginMethod Line: 445
Method:getLoginMethod Line: 422
Method: removeChild Line: 188
Method: searchMessages Line: 647