{ "id": "170559", "key": "TIMOB-25588", "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": [], "resolution": null, "resolutiondate": null, "created": "2017-12-07T15:48:59.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "57121", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "172821", "key": "TIMOB-26697", "fields": { "summary": "Hyperloop: iOS - Cannot find classes from Swift frameworks", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2019-01-18T20:02:40.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13715", "name": "Hyperloop", "description": "Hyperloop project" } ], "description": "When using material pod ([https://github.com/CosmicMind/Material]) and trying the following code:\r\n\r\n\r\n{code:javascript}\r\nvar Card = require(\"Material/Card\");\r\nvar Toolbar = require(\"Material/Toolbar\");\r\nvar IconButton = require(\"Material/IconButton\");\r\nvar Bar = require(\"Material/Bar\");\r\nvar UIColor = require('UIKit/UIColor');\r\nvar Material = require(\"Material/Material\");\r\nvar View = require(\"UIKit/UIView\");\r\nvar CardView = require(\"Material/View\");\r\nvar FlatButton = require(\"Material/FlatButton\");\r\n\r\nvar CGRectMake = require('CoreGraphics').CGRectMake;\r\n\r\n\r\n\r\nvar btn = new FlatButton();\r\nbtn.title = \"Flat Button\";\r\nbtn.width = 220;\r\nbtn.height = 45;\r\n$.index.add(btn);\r\n{code}\r\n\r\nfails with \r\n\r\n{code}\r\n[ERROR] Cannot find class with name: FlatButton\r\n[ERROR] Script Error {\r\n[ERROR] column = 32;\r\n[ERROR] description = \"Cannot find class with name: FlatButton\";\r\n[ERROR] line = 108;\r\n[ERROR] message = \"Cannot find class with name: FlatButton\";\r\n[ERROR] name = ClassNotFound;\r\n[ERROR] nativeStack = \"1 libobjc.A.dylib 0x0000000113a\r\n30f41 objc_exception_throw + 48\\n2 materiallib 0x00000\r\n0010bf2e3e2 -[HyperloopClass initWithClassName:alloc:init:args:] + 386\\n3 mate\r\nriallib 0x000000010bf206b8 NewProxy + 1416\\n4 JavaScri\r\nptCore 0x000000010cc72505 _ZN3JSC19APICallbackFunction4call\r\nINS_18JSCallbackFunctionEEExPNS_9ExecStateE + 501\\n5 JavaScriptCore \r\n 0x000000010cd81d21 _ZN3JSC5LLInt9setUpCallEPNS_9ExecStateEPNS_11Instr\r\nuctionENS_22CodeSpecializationKindENS_7JSValueEPNS_17LLIntCallLinkInfoE + 577\\n6\r\n JavaScriptCore 0x000000010cd8af9d llint_entry + 27269\\n7\r\n JavaScriptCore 0x000000010cd8afab llint_entry + 27283\\n8\r\n JavaScriptCore 0x000000010cd8b2e6 llint_entry + 28110\\n9\r\n JavaScriptCore 0x000000010cd8b2e6 llint_entry + 28110\\n1\r\n0 JavaScriptCore 0x000000010cd8afab llint_entry + 27283\\n1\r\n1 JavaScriptCore 0x000000010cd84330 vmEntryToJavaScript + \r\n304\\n12 JavaScriptCore 0x000000010cc1530f _ZN3JSC7JITCode7\r\nexecuteEPNS_2VMEPNS_14ProtoCallFrameE + 127\\n13 JavaScriptCore \r\n 0x000000010cbdb5d3 _ZN3JSC11Interpreter14executeProgramERKNS_10SourceCodeEP\r\nNS_9ExecStateEPNS_8JSObjectE + 13075\\n14 JavaScriptCore 0x\r\n000000010c9290ff _ZN3JSC8evaluateEPNS_9ExecStateERKNS_10SourceCodeENS_7JSValueER\r\nN3WTF8NakedPtrINS_9ExceptionEEE + 303\\n15 JavaScriptCore 0\r\nx000000010cc705f0 JSEvaluateScript + 432\\n16 materiallib \r\n 0x000000010bc5fe71 -[KrollBridge evalFileOnThread:context:] + 1281\\n17 materi\r\nallib 0x000000010bc65c1c -[KrollInvocation invoke:] + 12\r\n4\\n18 materiallib 0x000000010bc670ef -[KrollContext inv\r\noke:] + 159\\n19 materiallib 0x000000010bc67485 -[KrollC\r\nontext invokeOnThread:method:withObject:callback:selector:] + 165\\n20 materiall\r\nib 0x000000010bc5ffe3 -[KrollBridge evalFile:callback:se\r\nlector:] + 115\\n21 materiallib 0x000000010bc60e12 -[Kro\r\nllBridge didStartNewContext:] + 2498\\n22 materiallib 0x\r\n000000010bc67d5b -[KrollContext main] + 1819\\n23 materiallib \r\n 0x000000010bc66ec6 __21-[KrollContext start]_block_invoke + 38\\n24 libdis\r\npatch.dylib 0x00000001169b2273 _dispatch_call_block_and_releas\r\ne + 12\\n25 libdispatch.dylib 0x00000001169b32b5 _dispatch_cli\r\nent_callout + 8\\n26 libdispatch.dylib 0x00000001169bd496 _dis\r\npatch_main_queue_callback_4CF + 1260\\n27 CoreFoundation 0x\r\n0000000114a41ee9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\\n28 Cor\r\neFoundation 0x0000000114a06592 __CFRunLoopRun + 2402\\n29 C\r\noreFoundation 0x0000000114a059b9 CFRunLoopRunSpecific + 409\r\n\\n30 GraphicsServices 0x00000001189d39c6 GSEventRunModal + 6\r\n2\\n31 UIKit 0x000000010e81d5e8 UIApplicationMain \r\n+ 159\\n32 materiallib 0x000000010bc4cef4 main + 100\\n33\r\n libdyld.dylib 0x0000000116a27d81 start + 1\";\r\n[ERROR] sourceURL = \"file:///Users/Brian/Library/Developer/CoreSimulator/Dev\r\nices/C481AD0F-F846-41BE-9D03-CFEEF1811F09/data/Containers/Bundle/Application/6B7\r\n71C23-F3BC-4362-BEAC-A5402D3F83C7/materiallib.app/hyperloop/material/flatbutton.\r\njs\";\r\n[ERROR] } \r\n\r\n{code}", "attachment": [ { "id": "63749", "filename": "build_iphone.log", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-07T15:46:50.000+0000", "size": 1257703, "mimeType": "text/plain" }, { "id": "63748", "filename": "metabase-8.0-iphonesimulator-06f5cfc8db088e468d43ab8a4125c15e.h", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-07T15:46:55.000+0000", "size": 19311, "mimeType": "text/x-c" }, { "id": "63747", "filename": "metabase-8.0-iphonesimulator-c248691bcf3bdb854a7b282d1eb47a9d.h", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-07T15:46:56.000+0000", "size": 19125, "mimeType": "text/x-c" }, { "id": "63746", "filename": "metabase-cocoapods-bc60abbc4843bc69bcf166484785ab53.json", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-07T15:46:56.000+0000", "size": 10683, "mimeType": "application/json" }, { "id": "63745", "filename": "metabase-mappings-iphonesimulator-8.0.json", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-07T15:46:58.000+0000", "size": 693874, "mimeType": "application/json" }, { "id": "63744", "filename": "metadata-framework-availability.json", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-07T15:46:55.000+0000", "size": 2072, "mimeType": "application/json" }, { "id": "63743", "filename": "symbol_references.json", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-07T15:46:55.000+0000", "size": 23893, "mimeType": "application/json" } ], "flagged": false, "summary": "Hyperloop: iOS: Cannnot find class with name", "creator": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Hyperloop 3.0.1\r\nSDK 7.0.0.GA", "comment": { "comments": [ { "id": "433502", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any update on this? it's a blocking issue for me right now", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-23T09:16:30.000+0000", "updated": "2018-01-23T09:16:30.000+0000" }, { "id": "436034", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Also happening with: [FluidSlider|https://github.com/Ramotion/fluid-slider]\r\n\r\n\r\n{code:javascript}\r\nvar FluidSlider = require('fluid_slider/Slider');\r\n slider = new FluidSlider();\r\n{code}", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-28T16:05:27.000+0000", "updated": "2018-03-28T16:05:27.000+0000" }, { "id": "445350", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "Possible duplicate of TIMOB-26697", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-01-15T18:16:00.000+0000", "updated": "2019-01-15T18:16:00.000+0000" }, { "id": "445477", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "tested again with Hyperloop 4.0.1 and this is the new error stacktrace:\r\n\r\n\r\n{code}\r\nModule \"hyperloop/material/flatbutton.js\" failed to leave a valid exports object\r\n\r\n4 TitaniumKit0x000000010d765149 -[KrollBridge loadAsFileOrDirectory:withContext:] + 40\r\n5 TitaniumKit0x000000010d765667 -[KrollBridge require:path:] + 502\r\n6 TitaniumKit0x000000010d79b4b1 CommonJSRequireCallback + 106\r\n7 JavaScriptCore 0x0000000108839b9f _ZN3JSC19APICallbackFunction4callINS_18JSCallbackFunctionEEExPNS_9ExecStateE + 495\r\n8 ??? 0x000037a3b340102d 0x0 + 61176226517037\r\n9 JavaScriptCore 0x000000010880e2e2 llint_entry + 26726\r\n10 JavaScriptCore 0x000000010880e33d llint_entry + 26817\r\n11 JavaScriptCore 0x000000010880e33d llint_entry + 26817\r\n12 JavaScriptCore 0x000000010880e33d llint_entry + 26817\r\n13 JavaScriptCore 0x00000001088078fe vmEntryToJavaScript + 244\r\n14 JavaScriptCore 0x0000000108d0236a _ZN3JSC11Interpreter14executeProgramERKNS_10SourceCodeEPNS_9ExecStateEPNS_8JSObjectE + 11178\r\n15 JavaScriptCore 0x0000000108f2da20 _ZN3JSC8evaluateEPNS_9ExecStateERKNS_10SourceCodeENS_7JSValueERN3WTF8NakedPtrINS_9ExceptionEEE + 288\r\n16 JavaScriptCore 0x0000000108838ff5 JSEvaluateScript + 501\r\n17 TitaniumKit0x000000010d763223 -[KrollBridge evalFileOnThread:context:] + 823\r\n18 TitaniumKit0x000000010d79a09b -[KrollInvocation invoke:] + 79\r\n19 TitaniumKit0x000000010d79ac04 -[KrollContext invoke:] + 109\r\n{code}", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-01-18T20:02:40.000+0000", "updated": "2019-01-18T20:02:40.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }