Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jan 2011
    Posts
    54
    Vote Rating
    0
    chandramuralis is on a distinguished road

      0  

    Exclamation Sencha Touch in iOS5 doesn't work anymore, even Kitchensink fails

    Sencha Touch in iOS5 doesn't work anymore, even Kitchensink fails


    Platform tested against:
    • iOS 5.0
    • iPAD1 & iPAD2
    Description:
    • I upgraded my iPad to iOS5 yesterday and started testing our application and at the same time I upgraded our application code to use Sencha Touch 1.1.1 framework that released recently. Safari browser started throwing javascript timeout exception very frequently. So I started testing Kitchensink demo page in iOS5 safari and i got the same timeout exception.
    See this URL : http://dev.sencha.com/deploy/touch/e...s/kitchensink/


    Steps to reproduce the problem:
    • Go to Kitchen sink demo page in iOS5 Safari and start navigate to different screens. When I tested in iPad1 it took some time to throw the timeout exception but in iPad2 it just showed the exception in the very first screen ( as soon I pressed "User Interface" in the left bar).
    The result that was expected:
    • Work as normal
    The result that occurs instead:
    • Throws javascript timeout exception and makes the application not usable. In the below screenshot we can see how bad Kitchensink page is rendered.
    Screenshot or Video:
    • attached
    photo 1.jpgphoto 3.jpgphoto 4.jpgphoto 5.jpg

    Debugging already done:
    • none
    Attached Images

  2. #2
    Touch Premium Member
    Join Date
    Dec 2010
    Posts
    25
    Vote Rating
    0
    vgribok is on a distinguished road

      0  

    Default Ditto for ST 2.0 Kitchen Sink - timeout exception right away in iOS 5 iPad 2.

    Ditto for ST 2.0 Kitchen Sink - timeout exception right away in iOS 5 iPad 2.


    Using same iPad 2 upgrade to iOS 5, navigating to http://docs.sencha.com/touch/2-0/tou...s/kitchensink/, got "Javascript execution exceeded timeout" exception and a blank screen.

  3. #3
    Touch Premium Member
    Join Date
    Dec 2010
    Posts
    25
    Vote Rating
    0
    vgribok is on a distinguished road

      0  

    Default It's a browser problem, most likely. Once err starts it goes on til browser restarted

    It's a browser problem, most likely. Once err starts it goes on til browser restarted


    I killed the browser and restarted it - then navigated to ST KitchenSink and had no problem, no exceptions in the beginning. Then after doing different things on different pages, dreaded timeout exception occurred, and since then everything: our app, ST samples - started throwing this error. Even after page is refreshed, script timeout errors are everywhere.

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,404
    Vote Rating
    850
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Just tried both ST 1.1.0 kitchen sink and ST 2.0 PR1 kitchen sink on iPad 2 with iOS 5 and my new (and shiney) iPhone 4S with iOS 5 and both work no problems. In fact, to me my iPhone seemed faster than my iPad.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Sencha User
    Join Date
    Jul 2011
    Location
    Holland
    Posts
    98
    Vote Rating
    1
    mrduck is on a distinguished road

      0  

    Default


    That's weird. It works excellent on my iPad 2 with iOS 5. Same on a colleague.

  6. #6
    Touch Premium Member
    Join Date
    Dec 2010
    Posts
    25
    Vote Rating
    0
    vgribok is on a distinguished road

      0  

    Default Others having same issue

    Others having same issue


    http://stackoverflow.com/questions/7787219/javascript-ios5-javascript-execution-exceeded-timeout/7795953

    I
    t's not Sencha error, but Sencha needs to pay attention and maybe help with finding the work-around or getting this problem on Apple's radar ASAP.

  7. #7
    Sencha User
    Join Date
    Apr 2007
    Posts
    6
    Vote Rating
    0
    brandon is on a distinguished road

      0  

    Default


    I just decided to search the 1.x forums and found this thread. I'm having the same "JavaScript execution exceeded timeout" issue on 2.x which I've written up here:

    http://www.sencha.com/forum/showthre...-timeout-error

    iPhone 4 running iOS 5.

    Works fine in the simulator or a desktop browser (Chrome).

    Throws the error on the phone.

    If I force quit mobile Safari on the phone the error goes away and the app will load.

  8. #8
    Ext JS Premium Member
    Join Date
    Aug 2009
    Posts
    92
    Vote Rating
    1
    Tom23 is on a distinguished road

      0  

    Default


    Quote Originally Posted by brandon View Post
    If I force quit mobile Safari on the phone the error goes away and the app will load.
    Confirmed. On iPhone 4S with iOS5, everything works fine after killing all apps and restarting Safari.

    Looks like an OS bug. (see also http://stackoverflow.com/questions/7...ceeded-timeout )

  9. #9
    Sencha User
    Join Date
    Jan 2011
    Posts
    54
    Vote Rating
    0
    chandramuralis is on a distinguished road

      0  

    Default


    Have any of you guys found any solution for this problem?

  10. #10
    Sencha User
    Join Date
    Oct 2011
    Posts
    4
    Vote Rating
    0
    benmcmath is on a distinguished road

      0  

    Default


    It looks like there is an issue with the 'autoUpdate' feature of the Ext.util.GeoLocation. Setting that to false caused this issue to stop occurring.

    This may not fix it for everyone, but it did in my app.

    Related thread on stackoverflow: http://stackoverflow.com/questions/7...ceeded-timeout