Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1111] Uncaught Exception, application Crashed

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2015-09-02T05:22:30.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Studio, Titanium SDK & CLI
Labelscrash, exception, ios, uncaught
ReporterGurtej Singh Dogra
AssigneeShak Hossain
Created2014-10-02T19:52:16.000+0000
Updated2016-03-08T07:37:28.000+0000

Description

App keeps crashing on iPad (iPad only app) with the following crash log, and I have no idea how to debug this, or provide steps how to reproduce this. The live app has many views, and this log does not provide me with any information as to what happened in which file within my project : Name: NSRangeException Reason: *** -[__NSArrayM objectAtIndex:]: index 2 beyond bounds [0 .. 1] Details #0 CoreFoundation 002F19FF0B () #1 libobjc.A.dylib 0039C7CCE7 objc_exception_throw() #2 CoreFoundation 002F0D608D -[__NSArrayM removeObjectAtIndex:] #3 Guided Selling 0000128123 -[TiViewProxy insertSubview:forProxy:] #4 Guided Selling 0000127E9B -[TiViewProxy refreshView:] #5 Guided Selling 0000128751 -[TiViewProxy layoutChildrenIfNeeded] #6 Guided Selling 00001BD4B5 -[TiMediaItem valueForUndefinedKey:] #7 CoreFoundation 002F16AF4F () #8 CoreFoundation 002F16AB6B () #9 CoreFoundation 002F168EF3 () #10 CoreFoundation 002F0D3769 CFRunLoopRunSpecific() #11 CoreFoundation 002F0D354B CFRunLoopRunInMode() #12 GraphicsServices 003400D6D3 GSEventRunModal() #13 UIKit 0031A32891 UIApplicationMain() #14 Guided Selling 00000EFD3F +[TiFile createTempFile:] #15 libdyld.dylib 003A17AAB7 () I know its something to do with out of bounds call of an array, but where and how to catch this is nearly impossible, and the error is being thrown within an xcode file : File: EmbeddedAgent.m Line: 262. I am attaching a screenshot of the log. Issue has been reported by various other users, but no resolution is yet provided. Please look into the defect and let me know possible causes and remedy to fix this, as this is happening sporadically within a live app.

Attachments

FileDateSize
crash.jpg2014-10-02T19:52:17.000+0000224834

Comments

  1. Gurtej Singh Dogra 2014-10-05

    Hi, would appreciate any resolution to this ticket. Any help would be appreciated. Please let me know. Thanks.
  2. Shak Hossain 2015-09-02

    Closing since we don't have enough information to troubleshoot this.

JSON Source