cappuccino/cappuccino — Issue #1461: CPCollectionView's method reloadContent crashes app on Android
Author: tuxedout
Created: 2012-02-23 12:10:00+00:00
State: open

Capp is not running on any Android device. I tried to debug it and have found that problem in CPCollectionView class's reloadContent method. When app calls this method:

[pages addObject:newView];

[pagesView setContent:pages];
[pagesView reloadContent];

I got error:

E/browser ( 309): Console: JavaScript execution exceeded timeout. undefined:1389 (Android 3.0)

E/browser ( 314): Console: RangeError: Maximum call stack size exceeded. http://192.168.137.87:3000/js/Frameworks/Objective-J/Objective-J.js:4297 (Android 2.3.3)

When I remove this method from project it loads till end. It can be also Android limitations, but this app running perfect on iOS devices.