Quantcast
Viewing all articles
Browse latest Browse all 8068

[ERROR][V8Exception( 1640)] Exception occurred at alloy/controllers/index.js:136: Uncaught TypeError: Cannot read property 'NONE

When I try to run an application (which is in the ios app store and works fine there) on Android, it crashes/hangs. The errors I'm seeing are:

[ERROR][V8Exception( 1640)] Exception occurred at alloy/controllers/index.js:136: Uncaught TypeError: Cannot read property 'NONE' of undefined

Another one is

[ERROR][cutils-trace( 1679)] Error opening trace file: No such file or directory (2)
The final one:
[ERROR][GeolocationModule( 1690)] (KrollRuntimeThread) [712,3559] Unable to get current position, location is null
I'm especially concerned about the first error. What I see on line 136 in the index.js file is the "bindId" property I'm setting on a listview template, just the way it's done in the Titanium docs (this works fine on IOS):
childTemplates: [
                        {
                            type: 'Ti.UI.Label',                
                            bindId: 'background',
                            properties: {
                                width: "100%",
                                left: 0,
                                height: Ti.UI.FILL,
                                backgroundColor: "transparent"
                            }   
                        }
Can anyone help me solve this issue or help me debug this better?

I'm running the latest version of the Titanium SDK.


Viewing all articles
Browse latest Browse all 8068

Trending Articles