{ "id": "63432", "key": "TIMOB-2800", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11246", "name": "Sprint 2011-11", "archived": true, "released": true, "releaseDate": "2011-03-21" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-04-15T03:29:54.000+0000", "created": "2011-04-15T03:29:49.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "contacts", "defect", "ios", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T06:37:06.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

When we synchronize contacts with external systems such as\ngoogle, the email labels are not set correctly.
\nInstead of having 'home', 'work', 'other' labels, we get 'email'\nemails.

\n

Then if we get a contact using:

\n
\n selectedContact = Titanium.Contacts.getPeopleWithName(contactName);\n
\n

and then try to get the emails by doing :

\n
\n var emails = selectedContact[0].email;\n
\nThen, the app crashes.
{html}", "attachment": [], "flagged": false, "summary": "iPhone : crash when trying to get a contact email (contacts synchronized)", "creator": { "name": "guillaume", "key": "guillaume", "displayName": "Guillaume", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "guillaume", "key": "guillaume", "displayName": "Guillaume", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129434", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

There is a HD ticket that encountered the same issue when using\na MS Exchange contact.

\n

According to the crash log, it was using Ti SDK 1.5.1

\n

http://developer.appcelerator.com/helpdesk/view/68441

{html}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:50.000+0000", "updated": "2011-04-15T03:29:50.000+0000" }, { "id": "129435", "author": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This issue holds us from rolling out our app. Need access to\nemail for address sync. Please prioritize accordingly.

{html}", "updateAuthor": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:50.000+0000", "updated": "2011-04-15T03:29:50.000+0000" }, { "id": "129436", "author": { "name": "johnhass", "key": "johnhass", "displayName": "John Hass", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Any word on this ticket? It has put our development at a\ncomplete halt.

{html}", "updateAuthor": { "name": "johnhass", "key": "johnhass", "displayName": "John Hass", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:50.000+0000", "updated": "2011-04-15T03:29:50.000+0000" }, { "id": "129437", "author": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I desperately need a solution, too. Filing this once more on the\nhelpdesk...

{html}", "updateAuthor": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:51.000+0000", "updated": "2011-04-15T03:29:51.000+0000" }, { "id": "129438", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Requires more details. May not be a bug; could just be a\ndeveloper issue where Contacts is not being used correctly.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:51.000+0000", "updated": "2011-04-15T03:29:51.000+0000" }, { "id": "129439", "author": { "name": "guillaume", "key": "guillaume", "displayName": "Guillaume", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Hi,
\nWhat kind of details would you need ? We can try to provide more\ninfo.
\nBasically, the exact same code works when retrieving phones. It\ndoes work with emails when contacts have not been synchronised with\nexternal systems (and thus with the correct labels). It does not\nwhen the email label is \"email\".

\n

let us know.
\nThanks for working on this.

{html}", "updateAuthor": { "name": "guillaume", "key": "guillaume", "displayName": "Guillaume", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:51.000+0000", "updated": "2011-04-15T03:29:51.000+0000" }, { "id": "129440", "author": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I just tested w/ Kitchensink, here is what happens:

\n

Scenario #1: Have a contact with this (internationally\nvalid) mobile phone number format: 00491702345678

\n

Scenario #2: Have a contact with this (internationally\nvalid) mobile phone number format: +491702345678

\n

On iOS, go to KitchenSink > Contacts > Contacts\npicker.
\nTurn off 'addresss only'.
\nClick 'show picker'

\n

Whereas scenario #2 works, #1 bombs with the exception below:

\n

[ERROR] The application has crashed with an\nunhandled exception. Stack trace: 0 CoreFoundation 0x022d9bcc\nexceptionPreprocess + 156
\n1 libobjc.A.dylib 0x0242e5c2 objc_exception_throw + 47
\n2 CoreFoundation 0x02292628 +[NSException raise:format:arguments:]\n+ 136
\n3 CoreFoundation 0x0229259a +[NSException raise:format:] + 58
\n4 QuartzCore 0x0190c96a\nZL18CALayerSetPositionP7CALayerRKN2CA4Vec2IdEEb + 177
\n5 QuartzCore 0x0190c8b5 -[CALayer setPosition:] + 42
\n6 QuartzCore 0x0190c7cc -[CALayer setFrame:] + 763
\n7 UIKit 0x008c1307 -[UIView(Geometry) setFrame:] + 255
\n8 UIKit 0x009aca68 -[UILabel setFrame:] + 262
\n9 AddressBookUI 0x0134615d -[ABPersonTableViewDataSource\nreloadNoValueLabelAnimated:] + 645
\n10 AddressBookUI 0x0133e0a6 -[ABPersonTableViewDataSource\nreloadDataIncludingHeaderView:invalidatePropertyData:] + 318
\n11 AddressBookUI 0x0133df62 -[ABPersonTableViewDataSource\nreloadDataIncludingHeaderView:] + 50
\n12 AddressBookUI 0x0132878d -[ABPersonViewControllerHelper\nprepareViewWithDisplayedProperties:person:allowActions:] + 1195
\n13 AddressBookUI 0x01322cee -[ABPersonViewControllerHelper\nloadViewWithDisplayedProperties:person:allowDeletion:allowActions:]\n+ 68
\n14 AddressBookUI 0x01319f1a -[ABPersonViewController loadView] +\n144
\n15 UIKit 0x009395e3 -[UIViewController view] + 56
\n16 UIKit 0x00937a57 -[UIViewController contentScrollView] + 42
\n17 UIKit 0x00948201 -[UINavigationController
\ncomputeAndApplyScrollContentInsetDeltaForViewController:] + 48
\n18 UIKit 0x00946831 -[UINavigationController\nlayoutViewController:] + 43
\n19 UIKit 0x00947b4c -[UINavigationController
\nstartTransition:fromViewController:toViewController:] + 524
\n20 UIKit 0x00942606 -[UINavigationController\nstartDeferredTransitionIfNeeded] + 266
\n21 UIKit 0x0094983e -[UINavigationController\npushViewController:transition:forceImmediate:] + 932
\n22 UIKit 0x009424a0 -[UINavigationController\npushViewController:animated:] + 62
\n23 AddressBookUI 0x01312f79 -[ABPeoplePickerNavigationController\npushViewController:animated:] + 162
\n24 AddressBookUI 0x01314828 -[ABPeoplePickerNavigationController\nshowCardForPerson:withMemberCell:animate:forceDisableEditing:personViewController:]\n+ 1338
\n25 AddressBookUI 0x01316d1d -[ABMembersViewController\nshowCardForPerson:withMemberCell:animate:] + 282
\n26 AddressBookUI 0x012e7f09 -[ABMembersController\nabDataSource:selectedPerson:atIndexPath:withMemberCell:animate:] +\n89
\n27 AddressBookUI 0x01363754 -[ABMembersDataSource\ntableView:didSelectRowAtIndexPath:] + 214
\n28 UIKit 0x00901794 -[UITableView
\nselectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] +\n1140
\n29 UIKit 0x008f7d50 -[UITableView\n_userSelectRowAtPendingSelectionIndexPath:] + 219
\n30 Foundation 0x0060a7f6
NSFireDelayedPerform + 441
\n31 CoreFoundation 0x022bafe3\nCFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION\n+ 19
\n32 CoreFoundation 0x022bc594 CFRunLoopDoTimer + 1220
\n33 CoreFoundation 0x02218cc9
CFRunLoopRun + 1817
\n34 CoreFoundation 0x02218240 CFRunLoopRunSpecific + 208
\n35 CoreFoundation 0x02218161 CFRunLoopRunInMode + 97
\n36 GraphicsServices 0x040ab268 GSEventRunModal + 217
\n37 GraphicsServices 0x040ab32d GSEventRun + 115
\n38 UIKit 0x0089a42e UIApplicationMain + 1160
\n39 KitchenSink 0x0000372c main + 362
\n40 KitchenSink 0x00002551 start + 53
\n2011-02-20 08:35:07.607 KitchenSink[37787:207]\nTerminating app due to uncaught exception\n'CALayerInvalidGeometry', reason: 'CALayer position contains NaN:\n[nan -0.5]'
Call stack at first throw: ( 0\nCoreFoundation 0x022d9be9 exceptionPreprocess + 185
\n1 libobjc.A.dylib 0x0242e5c2 objc_exception_throw + 47
\n2 CoreFoundation 0x02292628 +[NSException raise:format:arguments:]\n+ 136
\n3 CoreFoundation 0x0229259a +[NSException raise:format:] + 58
\n4 QuartzCore 0x0190c96a\nZL18CALayerSetPositionP7CALayerRKN2CA4Vec2IdEEb + 177
\n5 QuartzCore 0x0190c8b5 -[CALayer setPosition:] + 42
\n6 QuartzCore 0x0190c7cc -[CALayer setFrame:] + 763
\n7 UIKit 0x008c1307 -[UIView(Geometry) setFrame:] + 255
\n8 UIKit 0x009aca68 -[UILabel setFrame:] + 262
\n9 AddressBookUI 0x0134615d -[ABPersonTableViewDataSource\nreloadNoValueLabelAnimated:] + 645
\n10 AddressBookUI 0x0133e0a6 -[ABPersonTableViewDataSource\nreloadDataIncludingHeaderView:invalidatePropertyData:] + 318
\n11 AddressBookUI 0x0133df62 -[ABPersonTableViewDataSource\nreloadDataIncludingHeaderView:] + 50
\n12 AddressBookUI 0x0132878d -[ABPersonViewControllerHelper\nprepareViewWithDisplayedProperties:person:allowActions:] + 1195
\n13 AddressBookUI 0x01322cee -[ABPersonViewControllerHelper\nloadViewWithDisplayedProperties:person:allowDeletion:allowActions:]\n+ 68
\n14 AddressBookUI 0x01319f1a -[ABPersonViewController loadView] +\n144
\n15 UIKit 0x009395e3 -[UIViewController view] + 56
\n16 UIKit 0x00937a57 -[UIViewController contentScrollView] + 42
\n17 UIKit 0x00948201 -[UINavigationController
\ncomputeAndApplyScrollContentInsetDeltaForViewController:] + 48
\n18 UIKit 0x00946831 -[UINavigationController\nlayoutViewController:] + 43
\n19 UIKit 0x00947b4c -[UINavigationController
\nstartTransition:fromViewController:toViewController:] + 524
\n20 UIKit 0x00942606 -[UINavigationController\nstartDeferredTransitionIfNeeded] + 266
\n21 UIKit 0x0094983e -[UINavigationController\npushViewController:transition:forceImmediate:] + 932
\n22 UIKit 0x009424a0 -[UINavigationController\npushViewController:animated:] + 62
\n23 AddressBookUI 0x01312f79 -[ABPeoplePickerNavigationController\npushViewController:animated:] + 162
\n24 AddressBookUI 0x01314828 -[ABPeoplePickerNavigationController\nshowCardForPerson:withMemberCell:animate:forceDisableEditing:personViewController:]\n+ 1338
\n25 AddressBookUI 0x01316d1d -[ABMembersViewController\nshowCardForPerson:withMemberCell:animate:] + 282
\n26 AddressBookUI 0x012e7f09 -[ABMembersController\nabDataSource:selectedPerson:atIndexPath:withMemberCell:animate:] +\n89
\n27 AddressBookUI 0x01363754 -[ABMembersDataSource\ntableView:didSelectRowAtIndexPath:] + 214
\n28 UIKit 0x00901794 -[UITableView
\nselectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] +\n1140
\n29 UIKit 0x008f7d50 -[UITableView\n_userSelectRowAtPendingSelectionIndexPath:] + 219
\n30 Foundation 0x0060a7f6
NSFireDelayedPerform + 441
\n31 CoreFoundation 0x022bafe3\nCFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION\n+ 19
\n32 CoreFoundation 0x022bc594 CFRunLoopDoTimer + 1220
\n33 CoreFoundation 0x02218cc9
CFRunLoopRun + 1817
\n34 CoreFoundation 0x02218240 CFRunLoopRunSpecific + 208
\n35 CoreFoundation 0x02218161 CFRunLoopRunInMode + 97
\n36 GraphicsServices 0x040ab268 GSEventRunModal + 217
\n37 GraphicsServices 0x040ab32d GSEventRun + 115
\n38 UIKit 0x0089a42e UIApplicationMain + 1160
\n39 KitchenSink 0x0000372c main + 362
\n40 KitchenSink 0x00002551 start + 53
\n) terminate called after throwing an instance of 'NSException'
\n[INFO] Application has exited from\nSimulator

{html}", "updateAuthor": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:51.000+0000", "updated": "2011-04-15T03:29:51.000+0000" }, { "id": "129441", "author": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I guess that means that in addition to emails, phone number\nhandling is broken, too.

{html}", "updateAuthor": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:52.000+0000", "updated": "2011-04-15T03:29:52.000+0000" }, { "id": "129442", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This issue has actually been repeatedly reported with contacts\nat this point, meaning that it is in the queue to be fixed, but\nthis additional information will be extremely helpful.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:52.000+0000", "updated": "2011-04-15T03:29:52.000+0000" }, { "id": "129443", "author": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Ok, I got a crash log from a phone with approx. 1.800 contacts,\nsynced frequently against an Exchange server. It seems to always\ncrash in Thread 0 but Thread 9 has the relevant information in this\ncase.

{html}", "updateAuthor": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:52.000+0000", "updated": "2011-04-15T03:29:52.000+0000" }, { "id": "129444", "author": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

now, can we make this a tbs-1.6.1 issue, please? ;) seriously,\nmy app depends on this stuff heavily. thx.

{html}", "updateAuthor": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:52.000+0000", "updated": "2011-04-15T03:29:52.000+0000" }, { "id": "129445", "author": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Stephen, from all projects I know, be it community or\nenterprise, a crash has never been considered 'low priority.' Can\nyou give an ETA?

{html}", "updateAuthor": { "name": "tomquas", "key": "tomquas", "displayName": "tom quas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:53.000+0000", "updated": "2011-04-15T03:29:53.000+0000" }, { "id": "129446", "author": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This user is also experiencing a crash when pulling contact\ninformation: http://developer.appcelerator.com/helpdesk/view/76124

{html}", "updateAuthor": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:54.000+0000", "updated": "2011-04-15T03:29:54.000+0000" }, { "id": "129447", "author": { "name": "johnvpataki", "key": "johnvpataki", "displayName": "johnvpataki", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

I updated HD issue 76124 with more details about my scenario\nwhere contacts on the device crash when touching the 'address'\nproperty.

{html}", "updateAuthor": { "name": "johnvpataki", "key": "johnvpataki", "displayName": "johnvpataki", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:54.000+0000", "updated": "2011-04-15T03:29:54.000+0000" }, { "id": "129448", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Duplicate of #2317.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:54.000+0000", "updated": "2011-04-15T03:29:54.000+0000" }, { "id": "408801", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing issue due to time passed and irrelevance of the ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T06:37:06.000+0000", "updated": "2017-03-03T06:37:06.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }