I have put together an application but I am seeing the error below when calling "database_full_reset".
|I 02/08/2013 16:56:40:089 00001670||APP| App error: undefined method `execute_sql' for nil:NilClass|
C:/MotorolaRhoMobileSuite220.127.116.11/ruby/lib/ruby/gems/1.9.1/gems/rhodes-18.104.22.168/lib/framework/rhom/rhom.rb:179:in `block in database_full_reset'
C:/Users/Graham.Bird.TALECOM/Documents/_Work/RhoMobile/Learning PTS/app/Settings/controller.rb:78:in `do_reset'
The application has both local and remote SourceAdapters and is able to synchronise through SyncEngine.dosync both before and after attempting the reset above.
The call does delete the data from both the sqlite databases on the emulator but throws the exception as noted.
The only way I have managed to get around this issue is to put a Rescue around the call but I am uncertain where to look to try and isolate the issue.
I have already tried clearing out the emulator image but this is a consistently reproducable issue on the version I have.
Any assistance in getting to the bottom of the issue would be greatly appreciated.