{ "id": "176200", "key": "TIMOB-28458", "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": "21199", "description": "", "name": "Release 10.0.1", "archived": false, "released": true, "releaseDate": "2021-07-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-06-17T19:46:50.000+0000", "created": "2021-05-21T03:21:53.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "hyperloop", "ios", "regression" ], "versions": [ { "id": "21050", "name": "Release 10.0.0", "archived": false, "released": true, "releaseDate": "2021-05-17" } ], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-06-17T19:46:50.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": "*Summary:*\r\nAs of Titanium 10.0.0, the {{Hyperloop.defineClass()}} method will crash the app.\r\n\r\n*Steps to reproduce:*\r\n# Build and run [hyperloop-examples|https://github.com/appcelerator/hyperloop-examples] for iOS.\r\n# Notice the app crashes on app startup.\r\n\r\n{code}\r\n[ERROR] -[KrollBridge require:path:]: unrecognized selector sent to instance 0x600000c24d20\r\n[ERROR] -[__NSCFString count]: unrecognized selector sent to instance 0x7f9e4e04ce00\r\n[ERROR] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString count]: unrecognized selector sent to instance 0x7f9e4e04ce00'\r\n[ERROR] *** First throw call stack:\r\n[ERROR] ( \r\n[ERROR] 0 CoreFoundation 0x00007fff20421af6 __exceptionPreprocess + 242\r\n[ERROR] 1 libobjc.A.dylib 0x00007fff20177e78 objc_exception_throw + 48\r\n[ERROR] 2 CoreFoundation 0x00007fff204306f7 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0\r\n[ERROR] 3 CoreFoundation 0x00007fff20426036 ___forwarding___ + 1489\r\n[ERROR] 4 CoreFoundation 0x00007fff20428068 _CF_forwarding_prep_0 + 120\r\n[ERROR] 5 TitaniumKit 0x000000010f2803f5 -[TiScriptError formattedNativeStack] + 133\r\n[ERROR] 6 TitaniumKit 0x000000010f2802fb -[TiScriptError description] + 1127\r\n[ERROR] 7 Foundation 0x00007fff2084c37a _NSDescriptionWithLocaleFunc + 82\r\n[ERROR] 8 CoreFoundation 0x00007fff203bae0d __CFStringAppendFormatCore + 12102\r\n[ERROR] 9 CoreFoundation 0x00007fff203bc8a1 _CFStringCreateWithFormatAndArgumentsReturningMetadata + 145\r\n[ERROR] 10 CoreFoundation 0x00007fff203bc80a _CFStringCreateWithFormatAndArgumentsAux2 + 20\r\n[ERROR] 11 TitaniumKit 0x000000010f2426dd TiLogMessage + 175\r\n[ERROR] 12 TitaniumKit 0x000000010f27f8b0 -[TiExceptionHandler reportScriptError:] + 74\r\n[ERROR] 13 JavaScriptCore 0x00007fff3186d50b -[JSContext(Internal) valueFromNotifyException:] + 27\r\n[ERROR] 14 JavaScriptCore 0x00007fff31874155 -[JSValue invokeMethod:withArguments:] + 661\r\n[ERROR] 15 TitaniumKit 0x000000010f256129 -[KrollBridge evalFileOnThread:context:] + 449\r\n[ERROR] 16 TitaniumKit 0x000000010f28d29c -[KrollInvocation invoke:] + 58\r\n[ERROR] 17 TitaniumKit 0x000000010f28dc23 -[KrollContext invoke:] + 109\r\n[ERROR] 18 TitaniumKit 0x000000010f2562a5 -[KrollBridge evalFile:callback:selector:] + 55\r\n[ERROR] 19 TitaniumKit 0x000000010f256e8c -[KrollBridge didStartNewContext:] + 2283\r\n[ERROR] 20 TitaniumKit 0x000000010f28e338 -[KrollContext main] + 1014\r\n[ERROR] 21 libdispatch.dylib 0x00007fff2010532f _dispatch_call_block_and_release + 12\r\n[ERROR] 22 libdispatch.dylib 0x00007fff20106508 _dispatch_client_callout + 8\r\n[ERROR] 23 libdispatch.dylib 0x00007fff20112ff7 _dispatch_main_queue_callback_4CF + 1045\r\n[ERROR] 24 CoreFoundation 0x00007fff2038fdbb __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n[ERROR] 25 CoreFoundation 0x00007fff2038a63e __CFRunLoopRun + 2685\r\n[ERROR] 26 CoreFoundation 0x00007fff203896d6 CFRunLoopRunSpecific + 567\r\n[ERROR] 27 GraphicsServices 0x00007fff2c257db3 GSEventRunModal + 139\r\n[ERROR] 28 UIKitCore 0x00007fff24696cf7 -[UIApplication _run] + 912\r\n[ERROR] 29 UIKitCore 0x00007fff2469bba8 UIApplicationMain + 101\r\n[ERROR] 30 Hyperloop_Sample 0x000000010e985fd6 main + 1174\r\n[ERROR] 31 libdyld.dylib 0x00007fff2025a3e9 start + 1\r\n[ERROR] ) \r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS: Hyperloop defineClass() method crashes as of Titanium 10.0.0", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "458700", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/12829\r\nPR (hyperloop-examples): https://github.com/appcelerator/hyperloop-examples/pull/90", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-05-21T03:40:00.000+0000", "updated": "2021-05-21T05:11:35.000+0000" }, { "id": "458796", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "master and 10_0_X backport merged", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-06-17T19:46:47.000+0000", "updated": "2021-06-17T19:46:47.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }