NappDrawer icon indicating copy to clipboard operation
NappDrawer copied to clipboard

Error on iOS when drawer is open

Open annamf opened this issue 8 years ago • 2 comments

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] :  }

annamf avatar Mar 31 '16 09:03 annamf

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.

viezel avatar Apr 12 '16 06:04 viezel

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 [email protected]:

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

caspahouzer avatar Apr 12 '16 06:04 caspahouzer