I have gone through following links
enter link description here
and i have followed the following tutorial to do cache the im
In the stack trace it shows a file not found exception. I've seen this happen when the file folder doesn't exist. did you create it first. alternatively, you can use the cache or external folder mentioned above.