Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2608] application crashed after Titanium Update

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-12-22T23:32:14.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio, Titanium SDK & CLI
Labelscrash, ipad, titanium
ReporterNazir DOĞAN
AssigneeRitu Agrawal
Created2013-11-29T12:56:02.000+0000
Updated2016-03-08T07:41:41.000+0000

Description

I m developing ipad app. I try to run app after update Titanium (3.1.1 to 3.1.3) but I dont work give this and. Showing only first page of application [ERROR] : The application has crashed with an uncaught exception 'NSRangeException'. [ERROR] : Reason: [ERROR] : *** -[__NSArrayM objectAtIndex:]: index 1 beyond bounds [0 .. 0] [ERROR] : Stack trace: [ERROR] : 0 CoreFoundation 0x0425b5c8 __exceptionPreprocess + 152 [ERROR] : 1 libobjc.A.dylib 0x03c3f8b6 objc_exception_throw + 44 [ERROR] : 2 CoreFoundation 0x041fc556 -[__NSArrayM objectAtIndex:] + 246 [ERROR] : 3 FordDoganlar 0x0007f700 -[TiViewProxy insertSubview:forProxy:] + 1520 [ERROR] : 4 FordDoganlar 0x0007f038 -[TiViewProxy refreshView:] + 2232 [ERROR] : 5 FordDoganlar 0x00080293 -[TiViewProxy layoutChildrenIfNeeded] + 259 [ERROR] : 6 FordDoganlar 0x001fc647 +[TiLayoutQueue layoutProxy:] + 87 [ERROR] : 7 FordDoganlar 0x001fc4c2 performLayoutRefresh + 530 [ERROR] : 8 CoreFoundation 0x04219c46 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22 [ERROR] : 9 CoreFoundation 0x0421962d __CFRunLoopDoTimer + 1181 [ERROR] : 10 CoreFoundation 0x04201698 __CFRunLoopRun + 1816 [ERROR] : 11 CoreFoundation 0x04200b33 CFRunLoopRunSpecific + 467 [ERROR] : 12 CoreFoundation 0x0420094b CFRunLoopRunInMode + 123 [ERROR] : 13 GraphicsServices 0x03fee9d7 GSEventRunModal + 192 [ERROR] : 14 GraphicsServices 0x03fee7fe GSEventRun + 104 [ERROR] : 15 UIKit 0x0107894b UIApplicationMain + 1225 [ERROR] : 16 FordDoganlar 0x00006fb8 main + 456 [ERROR] : 17 FordDoganlar 0x000027c5 start + 53 [ERROR] : 18 ??? 0x00000001 0x0 + 1 [ERROR] : 2013-11-29 14:52:02.061 FordDoganlar[16116:a0b] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 1 beyond bounds [0 .. 0]' [ERROR] : *** First throw call stack: [ERROR] : ( [ERROR] : 0 CoreFoundation 0x0425b5e4 __exceptionPreprocess + 180 [ERROR] : 1 libobjc.A.dylib 0x03c3f8b6 objc_exception_throw + 44 [ERROR] : 2 CoreFoundation 0x041fc556 -[__NSArrayM objectAtIndex:] + 246 [ERROR] : 3 FordDoganlar 0x0007f700 -[TiViewProxy insertSubview:forProxy:] + 1520 [ERROR] : 4 FordDoganlar 0x0007f038 -[TiViewProxy refreshView:] + 2232 [ERROR] : 5 FordDoganlar 0x00080293 -[TiViewProxy layoutChildrenIfNeeded] + 259 [ERROR] : 6 FordDoganlar 0x001fc647 +[TiLayoutQueue layoutProxy:] + 87 [ERROR] : 7 FordDoganlar 0x001fc4c2 performLayoutRefresh + 530 [ERROR] : 8 CoreFoundation 0x04219c46 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22 [ERROR] : 9 CoreFoundation 0x0421962d __CFRunLoopDoTimer + 1181 [ERROR] : 10 CoreFoundation 0x04201698 __CFRunLoopRun + 1816 [ERROR] : 11 CoreFoundation 0x04200b33 CFRunLoopRunSpecific + 467 [ERROR] : 12 CoreFoundation 0x0420094b CFRunLoopRunInMode + 123 [ERROR] : 13 GraphicsServices 0x03fee9d7 GSEventRunModal + 192 [ERROR] : 14 GraphicsServices 0x03fee7fe GSEventRun + 104 [ERROR] : 15 UIKit 0x0107894b UIApplicationMain + 1225 [ERROR] : 16 FordDoganlar 0x00006fb8 main + 456 [ERROR] : 17 FordDoganlar 0x000027c5 start + 53 [ERROR] : 18 ??? 0x00000001 0x0 + 1 [ERROR] : ) [ERROR] : libc++abi.dylib: terminating with uncaught exception of type NSException -- End simulator log ---------------------------------------------------------

Comments

  1. Ritu Agrawal 2013-12-22

    We have not been able to reproduce this issue with 3.1.3 SDK. I would appreciate if you can provide a simple test that can help us troubleshoot the issue further.
  2. Nazir DOĞAN 2013-12-22

    Hi , I cannot do this because. my app is so complicated for me now.but I found Titanium 3.1.0 in virtual macosx .ı solved the problem. but its bug. I think this is about httpclient and array
  3. Ritu Agrawal 2013-12-22

    Nazir - I am resolving this ticket because we cannot reproduce this ticket and you have solved this problem at the application level. I would be happy to reopen this ticket if you can provide steps to reproduce this problem.

JSON Source