UIM Finder API returns error message "The result list has been closed." when searching telephone num
Customer recently applied patch 7.1.2.3 patch 4 build 286 in our DEV environment. We updated "reserveMDN" web service to leverage newly row-locking feature. When row-lock policy is set on the search criteria object, the Finder API is ble to return records when records are found matching the criteria. However when no records are found it throws an exception along with the message "The result list has been closed." The web service returns this fault message which is not much helpful to the consumers.
TelephoneNumberManager mgr = InventoryHelper.makeTelephoneNumberManager();
TelephoneNumberSearchCriteria searchCriteria = mgr.makeTelephoneNumberSearchCriteria();
//Set the searchCriteria
....
LockPolicy lockPolicy = InventoryHelper.makeLockPolicy();
//Set the number of resources to be rowlocked to slighter higher value than requested quantity.