viezel / NappDrawer

A side drawer navigation container view controller for Appcelerator Titanium.
MIT License
247 stars 128 forks source link

Error on iOS when drawer is open #192

Open annamf opened 8 years ago

annamf commented 8 years ago

This error appear when I try to open the drawer (sometimes, not always) and the code is the same:

[INFO] :   [object DkNappDrawerModule] loaded
[ERROR] :  Script Error {
[ERROR] :      column = 18;
[ERROR] :      line = 88;
[ERROR] :      message = "*** -[__NSArrayM objectAtIndex:]: index 10 beyond bounds [0 .. 9]";
[ERROR] :      sourceURL = "file:///Users/amurcia/Library/Developer/CoreSimulator/Devices/70AF365E-7755-4D74-BB0C-4B3D43AB19BB/data/Containers/Bundle/Application/1F7533BB-57B0-48DD-B6E1-E670B721A158/Cuponisimo.app/alloy/controllers/Principal/MenuPrincipalVC.js";
[ERROR] :      stack = "[native code]\nController@file:///Users/amurcia/Library/Developer/CoreSimulator/Devices/70AF365E-7755-4D74-BB0C-4B3D43AB19BB/data/Containers/Bundle/Application/1F7533BB-57B0-48DD-B6E1-E670B721A158/Cuponisimo.app/alloy/controllers/Principal/MenuPrincipalVC.js:88:18\ncreateController@file:///Users/amurcia/Library/Developer/CoreSimulator/Devices/70AF365E-7755-4D74-BB0C-4B3D43AB19BB/data/Containers/Bundle/Application/1F7533BB-57B0-48DD-B6E1-E670B721A158/Cuponisimo.app/alloy.js:232:54\nController@file:///Users/amurcia/Library/Developer/CoreSimulator/Devices/70AF365E-7755-4D74-BB0C-4B3D43AB19BB/data/Containers/Bundle/Application/1F7533BB-57B0-48DD-B6E1-E670B721A158/Cuponisimo.app/alloy/controllers/index.js:29:27\ncreateController@file:///Users/amurcia/Library/Developer/CoreSimulator/Devices/70AF365E-7755-4D74-BB0C-4B3D43AB19BB/data/Containers/Bundle/Application/1F7533BB-57B0-48DD-B6E1-E670B721A158/Cuponisimo.app/alloy.js:232:54\nglobal code@file:///Users/amurcia/Library/Developer/CoreSimulator/Devices/70AF365E-7755-4D74-BB0C-4B3D43AB19BB/data/Containers/Bundle/Application/1F7533BB-57B0-48DD-B6E1-E670B721A158/Cuponisimo.app/app.js:3:23";
[ERROR] :  }
viezel commented 8 years ago

well its a alloy error, so it must be in your app. Try to make the simplest app (eg. the drawer demo app) and see if you can replicate it.

caspahouzer commented 8 years ago

Seems you try to gain the 11th element of an array with 10 (0-9) entries

Am 31.03.2016 um 11:37 schrieb kova notifications@github.com:

This error appear when I try to open the drawer (sometimes, not always) and the code is the same:

[INFO] : [object DkNappDrawerModule] loaded [ERROR] : Script Error { [ERROR] : column = 18; [ERROR] : line = 88; [ERROR] : message = "*\ -[__NSArrayM objectAtIndex:]: index 10 beyond bounds [0 .. 9]"; [ERROR] : sourceURL = "file:///Users/amurcia/Library/Developer/CoreSimulator/Devices/70AF365E-7755-4D74-BB0C-4B3D43AB19BB/data/Containers/Bundle/Application/1F7533BB-57B0-48DD-B6E1-E670B721A158/Cuponisimo.app/alloy/controllers/Principal/MenuPrincipalVC.js"; [ERROR] : stack = "[native code]\nController@file:///Users/amurcia/Library/Developer/CoreSimulator/Devices/70AF365E-7755-4D74-BB0C-4B3D43AB19BB/data/Containers/Bundle/Application/1F7533BB-57B0-48DD-B6E1-E670B721A158/Cuponisimo.app/alloy/controllers/Principal/MenuPrincipalVC.js:88:18\ncreateController@file:///Users/amurcia/Library/Developer/CoreSimulator/Devices/70AF365E-7755-4D74-BB0C-4B3D43AB19BB/data/Containers/Bundle/Application/1F7533BB-57B0-48DD-B6E1-E670B721A158/Cuponisimo.app/alloy.js:232:54\nController@file:///Users/amurcia/Library/Developer/CoreSimulator/Devices/70AF365E-7755-4D74-BB0C-4B3D43AB19BB/data/Containers/Bundle/Application/1F7533BB-57B0-48DD-B6E1-E670B721A158/Cuponisimo.app/alloy/controllers/index.js:29:27\ncreateController@file:///Users/amurcia/Library/Developer/CoreSimulator/Devices/70AF365E-7755-4D74-BB0C-4B3D43AB19BB/data/Containers/Bundle/Application/1F7533BB-57B0-48DD-B6E1-E670B721A158/Cuponisimo.app/alloy.js:232:54\nglobal code@file:///Users/amu rcia/Lib rary/Developer/CoreSimulator/Devices/70AF365E-7755-4D74-BB0C-4B3D43AB19BB/data/Containers/Bundle/Application/1F7533BB-57B0-48DD-B6E1-E670B721A158/Cuponisimo.app/app.js:3:23"; [ERROR] : } — You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/viezel/NappDrawer/issues/192