Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-2298

iOS: Code working with Node.js v0.9.9 and Ti 3.0.2 but not with Node.js v0.10.13 and Ti 3.1.2

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Needs more info
    • Affects Version/s: None
    • Component/s: Titanium SDK & CLI
    • Labels:
    • Environment:

      Node.js v.0.10.13
      Ti Studio SDK 3.1.2

      Description

      Error occurs only on iOS.

      Test case

      pickerSportOpen = true;
      					wrapper = Ti.UI.createView({
      					  backgroundColor: 'transparent',
      					  height: 'auto',
      					  width:'auto'
      					});
      					
      					tView = Ti.UI.createView({
      				        opacity:0.8,
      				        width:'auto',
      				        height:'auto',
      				        backgroundColor:'#000000'
      					});
      					
      					wrapper.add(tView);
      					wrapper.add(pSportSaison);
      					win.add(wrapper);

      Error

      [ERROR] : The application has crashed with an uncaught exception 'NSRangeException'.
      [ERROR] : Reason:
      [ERROR] : *** -[__NSArrayM objectAtIndex:]: index 5 beyond bounds [0 .. 4]
      [ERROR] : Stack trace:
      [ERROR] : 0 CoreFoundation 0x038f5012 __exceptionPreprocess + 178
      [ERROR] : 1 libobjc.A.dylib 0x033b6e7e objc_exception_throw + 44
      [ERROR] : 2 CoreFoundation 0x038970b4 -[__NSArrayM objectAtIndex:] + 196
      [ERROR] : 3 xxxxxxxxxxxx 0x0007cf70 -[TiViewProxy insertSubview:forProxy:] + 1520
      [ERROR] : 4 xxxxxxxxxxxx 0x0007c8a8 -[TiViewProxy refreshView:] + 2232
      [ERROR] : 5 xxxxxxxxxxxx 0x0007db03 -[TiViewProxy layoutChildrenIfNeeded] + 259
      [ERROR] : 6 xxxxxxxxxxxx 0x001fcbf7 +[TiLayoutQueue layoutProxy:] + 87
      [ERROR] : 7 xxxxxxxxxxxx 0x001fc9c2 performLayoutRefresh + 530
      [ERROR] : 8 CoreFoundation 0x038b4376 _CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION_ + 22
      [ERROR] : 9 CoreFoundation 0x038b3e06 __CFRunLoopDoTimer + 534
      [ERROR] : 10 CoreFoundation 0x0389ba82 __CFRunLoopRun + 1810
      [ERROR] : 11 CoreFoundation 0x0389af44 CFRunLoopRunSpecific + 276
      [ERROR] : 12 CoreFoundation 0x0389ae1b CFRunLoopRunInMode + 123
      [ERROR] : 13 GraphicsServices 0x0367c7e3 GSEventRunModal + 88
      [ERROR] : 14 GraphicsServices 0x0367c668 GSEventRun + 104
      [ERROR] : 15 UIKit 0x011b2ffc UIApplicationMain + 1211
      [ERROR] : 16 xxxxxxxxxxxx 0x00004448 main + 456
      [ERROR] : 17 xxxxxxxxxxxx 0x00002d55 start + 53
      [ERROR] : 18 ??? 0x00000001 0x0 + 1
      [ERROR] : 2013-08-19 13:12:06.577 CS-Maisonnex[87386:c07] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 5 beyond bounds [0 .. 4]'
      [ERROR] : *** First throw call stack:
      [ERROR] : (0x38f5012 0x33b6e7e 0x38970b4 0x7cf70 0x7c8a8 0x7db03 0x1fcbf7 0x1fc9c2 0x38b4376 0x38b3e06 0x389ba82 0x389af44 0x389ae1b 0x367c7e3 0x367c668 0x11b2ffc 0x4448 0x2d55 0x1)
      – End simulator log ---------------------------------------------------------
      [ERROR] : An error occurred running the iOS Simulator
      [ERROR] :
      [ERROR] : Project failed to build after 47s 825ms
      

        Attachments

          Activity

            People

            • Assignee:
              mpmiranda Mauro Parra-Miranda
              Reporter:
              chatis Chatis
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration