{ "id": "160746", "key": "AC-3723", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2016-06-09T17:49:00.000+0000", "created": "2016-06-03T11:54:58.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-06-09T17:49:00.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When upgrading from SDK 5.1.1 to 5.2.2, Android suffers a hard crash anytime a TableView is displayed without the separatorStyle property.\r\n\r\nSteps to Reproduce\r\n1. Create a project with SDK 5.2.2 \r\n2. Create a TableView without the separatorSyle property\r\n3. Run the App\r\n4. Crash\r\n\r\nTo Fix\r\nAdd a separatorStyle property to the TableView as seen below\r\n\r\n\r\nError Stack Trace: \r\n{code}\r\n[ERROR] : TiApplication: (main) [91,22091] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: \"NONE\"; Titanium 5.2.2,2016/03/28 14:12,b685ddb\r\n[ERROR] : TiApplication: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: \"NONE\"\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3255)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3351)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.access$1100(ActivityThread.java:222)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1796)\r\n[ERROR] : TiApplication: \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n[ERROR] : TiApplication: \tat android.os.Looper.loop(Looper.java:158)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.main(ActivityThread.java:7230)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)\r\n[ERROR] : TiApplication: Caused by: java.lang.NumberFormatException: Invalid int: \"NONE\"\r\n[ERROR] : TiApplication: \tat java.lang.Integer.invalidInt(Integer.java:138)\r\n[ERROR] : TiApplication: \tat java.lang.Integer.parse(Integer.java:410)\r\n[ERROR] : TiApplication: \tat java.lang.Integer.parseInt(Integer.java:367)\r\n[ERROR] : TiApplication: \tat java.lang.Integer.parseInt(Integer.java:334)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.util.TiConvert.toInt(TiConvert.java:409)\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.tableview.TiTableView.(TiTableView.java:356)\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.TiUITableView.processProperties(TiUITableView.java:111)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1219)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:509)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGe\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:679)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:573)\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:258)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:33)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:524)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:638)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18)\r\n[ERROR] : TiApplication: \tat android.app.Activity.performCreate(Activity.java:6877)\r\n[ERROR] : TiApplication: \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3208)\r\n[ERROR] : TiApplication: \t... 9 more\r\n[ERROR] : AndroidRuntime: FATAL EXCEPTION: main\r\n[ERROR] : AndroidRuntime: Process: com.xxx, PID: 8717\r\n[ERROR] : AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/org.appcelerator.titanium.TiActivity}: java.lang.NumberFormatException: Invalid int: \"NONE\"\r\n[ERROR] : AndroidRuntime: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3255)\r\n[ERROR] : AndroidRuntime: \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3351)\r\n[ERROR] : AndroidRuntime: \tat android.app.ActivityThread.access$1100(ActivityThread.java:222)\r\n[ERROR] : AndroidRuntime: \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1796)\r\n[ERROR] : AndroidRuntime: \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n[ERROR] : AndroidRuntime: \tat android.os.Looper.loop(Looper.java:158)\r\n[ERROR] : AndroidRuntime: \tat android.app.ActivityThread.main(ActivityThread.java:7230)\r\n[ERROR] : AndroidRuntime: \tat java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] : AndroidRuntime: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)\r\n[ERROR] : AndroidRuntime: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)\r\n[ERROR] : AndroidRuntime: Caused by: java.lang.NumberFormatException: Invalid int: \"NONE\"\r\n[ERROR] : AndroidRuntime: \tat java.lang.Integer.invalidInt(Integer.java:138)\r\n[ERROR] : AndroidRuntime: \tat java.lang.Integer.parse(Integer.java:410)\r\n[ERROR] : AndroidRuntime: \tat java.lang.Integer.parseInt(Integer.java:367)\r\n[ERROR] : AndroidRuntime: \tat java.lang.Integer.parseInt(Integer.java:334)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.util.TiConvert.toInt(TiConvert.java:409)\r\n[ERROR] : AndroidRuntime: \tat ti.modules.titanium.ui.widget.tableview.TiTableView.(TiTableView.java:356)\r\n[ERROR] : AndroidRuntime: \tat ti.modules.titanium.ui.widget.TiUITableView.processProperties(TiUITableView.java:111)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1219)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:509)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiVie\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:679)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:573)\r\n[ERROR] : AndroidRuntime: \tat ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:258)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:33)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:524)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:638)\r\n[ERROR] : AndroidRuntime: \tat org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18)\r\n[ERROR] : AndroidRuntime: \tat android.app.Activity.performCreate(Activity.java:6877)\r\n[ERROR] : AndroidRuntime: \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)\r\n[ERROR] : AndroidRuntime: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3208)\r\n[ERROR] : AndroidRuntime: \t... 9 more\r\n{code}", "attachment": [], "flagged": false, "summary": "TableView bug in Android 5.2.2", "creator": { "name": "greg.kolesar@gmail.com", "key": "greg.kolesar@gmail.com", "displayName": "Greg Kolesar", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "greg.kolesar@gmail.com", "key": "greg.kolesar@gmail.com", "displayName": "Greg Kolesar", "active": true, "timeZone": "America/Chicago" }, "environment": "Appcelerator Studio, build: 4.6.0.201604292352\r\nTitanium SDK 5.2.2.GA\r\nCLI 5.2.2", "comment": { "comments": [ { "id": "387514", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I tried to test your issue. I wasn't able to reproduce. With SDK 5.2.2.GA, Tableview is running fine in Android without saparatorStyle\r\n{code}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nPlease provide a test case that you are using for us to test. \r\n\r\nRegards,\r\nSharif.\r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-06-03T14:57:33.000+0000", "updated": "2016-06-03T14:57:33.000+0000" }, { "id": "387611", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~greg.kolesar@gmail.com],\r\nThanks for reporting the issue. However we are not able to reproduce the issue till now with our test code. Please provide us full test code that reproduces the issue. If we are able to reproduce the issue only then we will escalate the ticket.\r\n\r\nThanks in advance", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-06-06T05:02:37.000+0000", "updated": "2016-06-06T05:02:37.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }