{ "id": "83716", "key": "TIMOB-6611", "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": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-04-27T08:19:32.000+0000", "created": "2011-12-13T10:49:24.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:40.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h1. Problem\r\nNative modules can no longer be found on Android. This regression was introduced sometime in the last day -- look at the \"Environment\" field for more information.\r\n\r\nh2. Error Message\r\nAn alert dialog pops up with the following:\r\n{quote}Uncaught Error: Requested module not found: bootstrap{quote}\r\n\r\nh2. Reproduction\r\nDrop the following in an app.js, include a module and run with V8:\r\n{code:title=app.js}\r\nTi.UI.createWindow({\r\n backgroundColor: 'white'\r\n}).open();\r\n\r\nalert(require('ti.barcode'));\r\n{code}\r\n{code:title=tiapp.xml}\r\n\r\n\r\n v8\r\n 1.9.0\r\n \r\n false\r\n true\r\n true\r\n true\r\n false\r\n \r\n com.dawson.playgroundmobile\r\n play\r\n 1.0\r\n dawson\r\n http://www.appcelerator.com/\r\n not specified\r\n 2011 by dawson\r\n appicon.png\r\n false\r\n false\r\n default\r\n false\r\n false\r\n false\r\n false\r\n caec7753-c202-40b0-be61-ff51c63054f9\r\n \r\n \r\n Ti.UI.PORTRAIT\r\n Ti.UI.UPSIDE_PORTRAIT\r\n Ti.UI.LANDSCAPE_LEFT\r\n Ti.UI.LANDSCAPE_RIGHT\r\n \r\n \r\n Ti.UI.PORTRAIT\r\n Ti.UI.UPSIDE_PORTRAIT\r\n Ti.UI.LANDSCAPE_LEFT\r\n Ti.UI.LANDSCAPE_RIGHT\r\n \r\n \r\n \r\n \r\n \tti.barcode\r\n \r\n\r\n{code}\r\n\r\nh2. Error Log\r\n{quote}\r\n12-13 10:29:57.843: V/WindowManager(2450): Dsptch > Window{485d85c0 com.fede.launcher/com.fede.launcher.Launcher paused=false}\r\n12-13 10:29:57.843: V/InputDevice(2450): ID[0]=0(0) Up(1=>0)\r\n12-13 10:29:57.862: I/ActivityManager(2450): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.dawson.playgroundmobile/.PlayActivity bnds=[5,234][115,364] }\r\n12-13 10:29:57.925: I/ActivityManager(2450): Start proc com.dawson.playgroundmobile for activity com.dawson.playgroundmobile/.PlayActivity: pid=22425 uid=10104 gids={1015, 3003}\r\n12-13 10:29:57.999: I/TiApplication(22425): (main) [0,0] checkpoint, app created.\r\n12-13 10:29:58.073: I/TiApplication(22425): (main) [76,76] Titanium 1.9.0 (2011/12/13 00:39 4dd4360)\r\n12-13 10:29:58.147: D/dalvikvm(22425): GC_FOR_MALLOC freed 3246 objects / 326712 bytes in 35ms\r\n12-13 10:29:58.198: D/dalvikvm(22425): Trying to load lib /data/data/com.dawson.playgroundmobile/lib/libstlport_shared.so 0x4823e638\r\n12-13 10:29:58.198: I/TiApplication(22425): (main) [125,201] Titanium Javascript runtime: v8\r\n12-13 10:29:58.210: D/dalvikvm(22425): Added shared lib /data/data/com.dawson.playgroundmobile/lib/libstlport_shared.so 0x4823e638\r\n12-13 10:29:58.210: D/dalvikvm(22425): No JNI_OnLoad found in /data/data/com.dawson.playgroundmobile/lib/libstlport_shared.so 0x4823e638, skipping init\r\n12-13 10:29:58.210: D/dalvikvm(22425): Trying to load lib /data/data/com.dawson.playgroundmobile/lib/libkroll-v8.so 0x4823e638\r\n12-13 10:29:58.245: W/TiApplication(22425): (main) [47,248] activity stack is emtpy, unable to get current activity\r\n12-13 10:29:58.245: I/TiRootActivity(22425): (main) [1,1] checkpoint, on root activity create, savedInstanceState: null\r\n12-13 10:29:58.245: I/TiApplication(22425): (main) [0,1] Analytics have been disabled\r\n12-13 10:29:58.249: W/TiApplication(22425): (main) [2,3] activity stack is emtpy, unable to get current activity\r\n12-13 10:29:58.249: W/TiApplication(22425): (main) [0,3] activity stack is emtpy, unable to get current activity\r\n12-13 10:29:58.249: W/TiApplication(22425): (main) [0,3] activity stack is emtpy, unable to get current activity\r\n12-13 10:29:58.253: D/dalvikvm(22425): Added shared lib /data/data/com.dawson.playgroundmobile/lib/libkroll-v8.so 0x4823e638\r\n12-13 10:29:58.663: E/TiApplication(22425): (KrollRuntimeThread) [416,419] APP PROXY: ti.modules.titanium.app.AppModule@4824b998\r\n12-13 10:29:58.702: D/dalvikvm(22425): Trying to load lib /data/data/com.dawson.playgroundmobile/lib/libti.box.so 0x4823e638\r\n12-13 10:29:58.702: D/dalvikvm(22425): Added shared lib /data/data/com.dawson.playgroundmobile/lib/libti.box.so 0x4823e638\r\n12-13 10:29:58.702: D/dalvikvm(22425): No JNI_OnLoad found in /data/data/com.dawson.playgroundmobile/lib/libti.box.so 0x4823e638, skipping init\r\n12-13 10:29:58.815: E/TiJSError(22425): (main) [151,570] ----- Titanium Javascript Runtime Error -----\r\n12-13 10:29:58.815: E/TiJSError(22425): (main) [0,570] - In ti:/module.js:345,8\r\n12-13 10:29:58.815: E/TiJSError(22425): (main) [0,570] - Message: Uncaught Error: Requested module not found: bootstrap\r\n12-13 10:29:58.815: E/TiJSError(22425): (main) [0,570] - Source: \tthrow new Error(\"Requested module not found: \" + request);\r\n12-13 10:29:58.854: E/V8Exception(22425): Exception occurred at ti:/module.js:345: Uncaught Error: Requested module not found: bootstrap\r\n12-13 10:29:58.905: I/TiRootActivity(22425): (main) [0,0] checkpoint, on root activity resume. activity = com.dawson.playgroundmobile.PlayActivity@4824a770\r\n12-13 10:29:59.120: I/ActivityManager(2450): Displayed activity com.dawson.playgroundmobile/.PlayActivity: 1199 ms (total 1199 ms)\r\n{quote}", "attachment": [], "flagged": false, "summary": "Android: Native Module Inclusion Regression", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": "WORKS with: version=1.8.0.1, timestamp=12/12/11 12:46, githash=7062beb...\r\nBROKEN with: version=1.9.0, module_apiversion=2, timestamp=12/13/11 00:39, githash=4dd4360...\r\nTested the above with Android NDK 6b and 7; version didn't make a difference.", "comment": { "comments": [ { "id": "176099", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "WORKS FOR ME with the latest from 1_8_x CI.\r\n\r\nversion=1.8.0.1\r\nmodule_apiversion=2\r\ntimestamp=12/14/11 09:39\r\ngithash=37fd911...", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-12-14T12:06:27.000+0000", "updated": "2011-12-14T12:06:27.000+0000" }, { "id": "176152", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "Works for me as well with the latest 1_8_x CI build.", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2011-12-14T15:41:57.000+0000", "updated": "2011-12-14T15:41:57.000+0000" }, { "id": "192917", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "Not seeing this anymore. Most have been taken care of elsewhere.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2012-04-27T08:19:32.000+0000", "updated": "2012-04-27T08:19:32.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }