Refreshing app (holding down 3 fingers) causing SQLite Errors

4 posts, 0 answers
  1. David
    David avatar
    3 posts
    Member since:
    Feb 2011

    Posted 14 Apr 2014 Link to this post

    Hello

    I have been having a problem with my project where I can install the app on my device but upon refreshing the project (holding down three fingers), with error handling added the message "Disk I/O Error" is displayed.

    This started happening between 8th April and the morning of the 10th April (UK time)


    The below example is based on the "sample-sqlite" project from Sample Projects

    To reproduce the error 

    1. Select "Run", then select "Build" (Or choose build and deploy and ignore step 2)
    2. Click "iOS", then select "Provision"
    3. Once installed the sample app functions as expected
    4. Refresh the project (holding down three fingers)
    5. Try writing to the database by adding a "task"
    6. The app seems to freeze due to the fact that an error has occurred 
    7. Close app then re-open the app, nothing is displayed in the "task list"

    This has been tested on multiple iOS devices (iOS 7.0 and iOS 7.1)


    Other Details

    Currently the only way to refresh the project at this time is to rebuild the project and rescan the QR Code.
    It appears that projects built before the 8th April are able to be refreshed and continue to work as expected.
    The "Download Package" box is styled differently. Working versions are shown as a grey box, the version that are not updating correctly are shown as a smaller blue box (this may or may not be related).


    iPhone Configuration Utility Logs

    On refreshing the app (holding down three fingers) the log is as follows:

    Apr 14 17:11:34 Tanyas-iPad Cordova320[1242] <Warning>: Resetting plugins due to page load.
    Apr 14 17:11:34 Tanyas-iPad Cordova320[1242] <Warning>: Finished load of: file:///var/mobile/Applications/6888B79C-CC8E-448B-B0B5-3EBE2F234737/Documents/index.html
    Apr 14 17:11:35 Tanyas-iPad Cordova320[1242] <Warning>: Good news: SQLite is thread safe!


    On closing and reopening the app, the log is as follows:

    Apr 14 17:12:33 Tanyas-iPad kernel[0] <Debug>: launchd[1245] Container: /private/var/mobile/Applications/6888B79C-CC8E-448B-B0B5-3EBE2F234737 (sandbox)
    Apr 14 17:12:33 Tanyas-iPad backboardd[31] <Error>: HID: The 'Passive' connection 'Cordova320' access to protected services is denied.
    Apr 14 17:12:33 Tanyas-iPad Cordova320[1245] <Warning>: Multi-tasking -> Device: YES, App: YES
    Apr 14 17:12:33 Tanyas-iPad Cordova320[1245] <Warning>: Unlimited access to network resources
    Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: [CDVTimer][splashscreen] 8.944035ms
    Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: [CDVTimer][TotalPluginStartup] 9.678006ms
    Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: Resetting plugins due to page load.
    Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: Finished load of: file:///var/mobile/Applications/6888B79C-CC8E-448B-B0B5-3EBE2F234737/Cordova320.app/www/index.html
    Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: Detected docs path: /var/mobile/Applications/6888B79C-CC8E-448B-B0B5-3EBE2F234737/Documents
    Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: Good news: SQLite is thread safe!


    I look forward to hearing from you.

    Thank you in advance,

    Tanya
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 16 Apr 2014 Link to this post

    Hi David,

    Thank you for reporting this issue, we were able to reproduce it locally and therefore I logged it as a bug. I updated your Telerik points as a small sign of appreciation for the detailed information that you provided us with.

    We will do our best to provide a fix with one of our upcoming releases and I'd like to apologize for any inconvenience this issue might have caused you. 

    Regards,
    Tina Stancheva
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
  3. Dave
    Dave avatar
    8 posts
    Member since:
    Oct 2013

    Posted 17 Apr 2014 in reply to Tina Stancheva Link to this post

    I'm having the same issue.  I get the same "Disk I/O Error" from both "AppBuilder" application installed on iPhone and when refreshing my provisioned build deployed to iphone via three finger long press.  If I re-deploy my provisioned application i can insert new records into my sqlite database with no problems but then I get the error message after refreshing.  

    Do you have a time frame when the bug is going to be fixed?
  4. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 18 Apr 2014 Link to this post

    Hi Dave,

    We've scheduled the task for the AppBuilder 2.2 release planned for the beginning of June. However, please note that the task will have to be further evaluated by our developers which means that this time frame is a subject of change. In any case we will have your feedback in mind and we will do our best to address the issue as soon as possible.

    We will make sure to update this thread once the issue is fixed so please stay tuned.

    Regards,
    Tina Stancheva
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
Back to Top