Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Cannot read property 'contentIndex' of undefined with gpuOptimization #16

Open
thebigredgeek opened this issue Jan 5, 2015 · 2 comments

Comments

@thebigredgeek
Copy link

When I enable GPU optimization on a scroller instance, it seems to throw this error.

Here is a plunker. I am using AngularJS. Any help here would be great.

http://plnkr.co/edit/1Vl657zL5Rc6AbdgjBwm?p=preview

@serhiisol
Copy link

Also I've got another similar to this one issues:

Cannot read property 'offset' of undefined
     at Object.SurfaceManager._getSurfaceTotalOffset line 16285, column 27 (file:///android_asset/www/vendors.js:16285)
     at Object.SurfaceManager._updateSurfaceManager line 16578, column 42 (file:///android_asset/www/vendors.js:16578)
     at Object.Scroller._fire line 14960, column 33 (file:///android_asset/www/vendors.js:14960)
     at Object.Scroller._update line 15167, column 18 (file:///android_asset/www/vendors.js:15167)
     at step line 15774, column 22 (file:///android_asset/www/vendors.js:15774)
Cannot read property 'dom' of undefined
     at Object.SurfaceManager._attachItemInSurface line 16293, column 41 (file:///android_asset/www/vendors.js:16293)
     at Object.SurfaceManager._positionedSurfacesUnshift line 16457, column 22 (file:///android_asset/www/vendors.js:16457)
     at Object.SurfaceManager._updateSurfaceManager line 16586, column 36 (file:///android_asset/www/vendors.js:16586)
     at Object.Scroller._fire line 14960, column 33 (file:///android_asset/www/vendors.js:14960)
     at Object.Scroller._update line 15167, column 18 (file:///android_asset/www/vendors.js:15167)
     at step line 15774, column 22 (file:///android_asset/www/vendors.js:15774)

Sorry for line and column numbers, the exceptions were taken from Raygun (only stack trace available)

Issue was captured on Android Device (using phonegap)

@diervo
Copy link
Contributor

diervo commented Feb 27, 2015

Sorry for the delay. I will take a look this weekend.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants