{ "id": "149393", "key": "AC-427", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-11-21T18:41:19.000+0000", "created": "2015-07-02T17:54:14.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "updated": "2015-11-21T18:41:19.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "h3. Steps to Reproduce\r\nCannot do this without attaching the whole project. \r\nThe app executes OK on iOS simulator and device (iPhone) but fails on Android both Genymotion Emulator and a real device.\r\nIn the attached stack trace form the console i can't find one single reference to my code. I therefore suspect that the app crash is due to an error in the Appcelerator platform code.\r\nBesides the console output I also attach the actual js code that fails.\r\n\r\nh3. Actual Result\r\napp shows a message: app stopped working (I get the message in Danish)\r\n\r\n\r\nh3. Expected Result\r\nWindow should open as it does on iOS", "attachment": [ { "id": "56064", "filename": ".log", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-02T17:54:16.000+0000", "size": 2726, "mimeType": "text/plain" }, { "id": "56101", "filename": "app.tss", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-06T21:25:26.000+0000", "size": 1902, "mimeType": "application/octet-stream" }, { "id": "56066", "filename": "appcelerator console message.rtf", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-02T17:54:27.000+0000", "size": 3074, "mimeType": "text/rtf" }, { "id": "56065", "filename": "diagnostic6091044591827922724.log", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-02T17:54:25.000+0000", "size": 76122, "mimeType": "text/plain" }, { "id": "56105", "filename": "index.js", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-06T21:25:03.000+0000", "size": 467, "mimeType": "application/x-javascript" }, { "id": "56100", "filename": "index.tss", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-06T21:25:26.000+0000", "size": 155, "mimeType": "application/octet-stream" }, { "id": "56097", "filename": "index.xml", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-06T21:25:36.000+0000", "size": 124, "mimeType": "text/xml" }, { "id": "56102", "filename": "modGetSvk.js", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-06T21:25:12.000+0000", "size": 12385, "mimeType": "application/x-javascript" }, { "id": "56104", "filename": "new_svk_project_group_activity_row.js", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-06T21:25:03.000+0000", "size": 120, "mimeType": "application/x-javascript" }, { "id": "56099", "filename": "new_svk_project_group_activity_row.tss", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-06T21:25:26.000+0000", "size": 831, "mimeType": "application/octet-stream" }, { "id": "56096", "filename": "new_svk_project_group_activity_row.xml", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-06T21:25:36.000+0000", "size": 313, "mimeType": "text/xml" }, { "id": "56103", "filename": "new_svk_project_group_activity.js", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-06T21:25:03.000+0000", "size": 5470, "mimeType": "application/x-javascript" }, { "id": "56067", "filename": "new_svk_project_group_activity.js", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-02T17:54:29.000+0000", "size": 5630, "mimeType": "application/javascript" }, { "id": "56098", "filename": "new_svk_project_group_activity.tss", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-06T21:25:26.000+0000", "size": 1573, "mimeType": "application/octet-stream" }, { "id": "56095", "filename": "new_svk_project_group_activity.xml", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-06T21:25:36.000+0000", "size": 940, "mimeType": "text/xml" } ], "flagged": false, "summary": "tableView fail to open on Android emulator/device", "creator": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "subtasks": [], "reporter": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "environment": "Appcelerator Studio 4.0.1", "comment": { "comments": [ { "id": "356767", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "body": "[~john@marott.dk] hello, can you please attach a test case? We need a simple piece of code to run and replicates the issue\r\n\r\nThanks", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-07-02T18:33:58.000+0000", "updated": "2015-07-02T18:33:58.000+0000" }, { "id": "357048", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "I created a very simple project consisting of the attached files. This project behaves exactly like described earlier - that is it opens OK in the iOS simulator but NOT in the Genymotion Emulator. Please remove my blindfold :-)\r\n/John Marott\r\n", "updateAuthor": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-06T21:29:51.000+0000", "updated": "2015-07-06T21:29:51.000+0000" }, { "id": "357133", "author": { "name": "pchowdhury", "key": "pchowdhury", "displayName": "Papia Chowdhury", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nWe tried to replicate the issue using provided test case but got following error.\r\n\r\n*on iOS:*\r\n[ERROR] : Script Error Couldn't find module: /modGetSvk for architecture: x86_64\r\n\r\n*on Android:*\r\n[ERROR] : TiApplication: (main) [107,8300] Sending event: exception on thread: main msg:java.lang.ClassCastException: java.lang.String cannot be cast to java.util.HashMap; Titanium 4.0.0,2015/05/18 15:42,9239ff9\r\n[ERROR] : TiApplication: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.HashMap\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.util.TiConvert.fillLayout(TiConvert.java:180)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.view.TiUIView.processProperties(TiUIView.java:895)\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.TiUILabel.processProperties(TiUILabel.java:146)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1209)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:500)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:491)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:469)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:507)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:491)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:469)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.forceCreateView(TiViewProxy.java:437)\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.createControls(TiTableViewRowProxyItem.java:247)\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:428)\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:91)\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.tableview.TiTableView$TTVListAdapter.getView(TiTableView.java:237)\r\n\r\n*Testing Environment:*\r\nAppcelerator Studio, build: 4.1.0.201507031129\r\nTitanium SDK: 4.0.0 GA\r\niOS simulator: iphone 5s(v8.1)\r\nAndroid Emulator: Google Nexus 10 - 5.0.0\r\nOS X version: 10.9.5\r\n\r\n*However here is a simple testcase that shows tableView does not fail to open on Android emulator.*\r\napp.js\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nvar tableData = [ {title: 'Apples'}, {title: 'Bananas'}, {title: 'Carrots'}, {title: 'Potatoes'} ];\r\nvar table = Ti.UI.createTableView({\r\n data: tableData\r\n});\r\nwin.add(table);\r\nwin.open();\r\n{code}\r\n\r\n*Testing Environment:*\r\nAppcelerator Studio, build: 4.1.0.201507031129\r\nTitanium SDK: 4.0.0 GA\r\nAndroid Emulator: Google Nexus 10 - 5.0.0\r\nOS X version: 10.9.5\r\n\r\nThanks\r\n\r\n\r\n", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-07-07T09:43:57.000+0000", "updated": "2015-07-07T15:53:27.000+0000" }, { "id": "357164", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "You should place the 'modGetSvk.js' in a 'lib' folder under the app directory.\r\n\r\n/John Marott\r\n", "updateAuthor": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-07T16:05:36.000+0000", "updated": "2015-07-07T16:05:36.000+0000" }, { "id": "357289", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "body": "[~john@marott.dk] we need a small test case for this issue", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-07-08T15:53:30.000+0000", "updated": "2015-07-08T15:53:30.000+0000" }, { "id": "357292", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "Radamantis Torres-Lechuga \r\n\r\nYou may not be aware of my comment from yesterday.\r\n\r\nI already send you a test case that shows the issue. In order for that test case to work, you need to place the js-file 'modGetSvk.js'\r\nin a 'lib' folder in the app directory because it's a module that is being accessed via a require statement in new_svk_project_group_activity.js\r\n\r\n/John Marott\r\n\r\n\r\n", "updateAuthor": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-07-08T16:16:15.000+0000", "updated": "2015-07-08T16:16:15.000+0000" }, { "id": "370659", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~john@marott.dk], Are you still facing the problem? As I have tested tableview is working fine in Android for both emulator and device. The test case you provided has bunch of other things which is not relevant to the issue. Please provide a simple test case only of the table view that is failing for your case. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-11-18T05:35:03.000+0000", "updated": "2015-11-18T05:35:03.000+0000" }, { "id": "370680", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "I had this issue in a small test project, and since it seemed difficult for you guyes to find a solution or maybe even to see the problem I just cancled the project. \r\nYou can close the issue and I apollogize for not having informed you earlier.\r\n/John Marott", "updateAuthor": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-11-18T11:28:19.000+0000", "updated": "2015-11-18T11:28:19.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }