This is related to the known issue with RecordStore.setRecord() api
The documentation says this issue got fixed from S40 5th edition Feature pack1 phones. But I am able to see this problem still in some of the 5th edition feature pack 1 phones and emulator.
Saw this error thrown while running our application on 5610 model.
Is this issue resolved on all 5th edition feature pack1 phones? Any specific firmware upgrades need to be done?