{ "id": "159638", "key": "AC-3518", "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-04-22T20:41:48.000+0000", "created": "2016-04-18T09:41:41.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-04-26T06:20:09.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": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Hi, I'm getting crashes because of ti.modules.titanium.ui.widget.TiUILabel$1 \r\n\r\njava.lang.ClassCastException Reason: ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\nNamejava.lang.ClassCastException\r\nReason\r\nti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n\r\nCrashed Thread\r\n\r\n0\tjava.lang.ClassCastException: ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n!\t1\tat android.support.v4.app.BackStackRecord.configureTransitions(BackStackRecord.java:1132)\r\n2\tat android.support.v4.app.BackStackRecord.beginTransition(BackStackRecord.java:1039)\r\n3\tat android.support.v4.app.BackStackRecord.run(BackStackRecord.java:658)\r\n4\tat android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1572)\r\n5\tat android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:493)\r\n6\tat android.os.Handler.handleCallback(Handler.java:739)\r\n7\tat android.os.Handler.dispatchMessage(Handler.java:95)\r\n8\tat android.os.Looper.loop(Looper.java:145)\r\n9\tat android.app.ActivityThread.main(ActivityThread.java:5938)\r\n10\tat java.lang.reflect.Method.invoke(Native Method)\r\n11\tat java.lang.reflect.Method.invoke(Method.java:372)\r\n12\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1389)\r\n13\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1184)", "attachment": [ { "id": "58981", "filename": "Screen Shot 2016-04-18 at 3.08.26 PM.png", "author": { "name": "imbudhiraja", "key": "imbudhiraja", "displayName": "Manish Budhiraja", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2016-04-18T09:39:05.000+0000", "size": 223846, "mimeType": "image/png" } ], "flagged": false, "summary": "ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup", "creator": { "name": "imbudhiraja", "key": "imbudhiraja", "displayName": "Manish Budhiraja", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "imbudhiraja", "key": "imbudhiraja", "displayName": "Manish Budhiraja", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Appcelerator version 4.5\r\nTitanium SDK : 5.2.2\r\nAndroid API version : 23\r\n", "comment": { "comments": [ { "id": "383094", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\nThanks for reporting. Please provide us steps to reproduce this issue so that we can test the issue and find the cause. Please try to share simple test code which creates the crash. \r\nThanks\r\n", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-04-19T08:33:37.000+0000", "updated": "2016-04-19T08:33:37.000+0000" }, { "id": "383879", "author": { "name": "imbudhiraja", "key": "imbudhiraja", "displayName": "Manish Budhiraja", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Hello Nazmus \r\n\r\n\r\nHere find the Test Code \r\n\r\nXML\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n\r\n\r\nTSS \r\n\r\n\r\n\".labelOuterContainer\":{\r\n height: Ti.UI.SIZE,\r\n width: Ti.UI.SIZE,\r\n layout: \"horizontal\",\r\n top: 10\r\n}\r\n\r\n\".labelInnerContainer\":{\r\n height: Ti.UI.SIZE,\r\n width: Ti.UI.SIZE,\r\n layout: \"vertical\"\r\n}\r\n\r\n\".headerLabel\":{\r\n color: Alloy.Globals.Colors.WHITE,\r\n left: 0,\r\n font:{\r\n fontSize: 10\r\n },\r\n wordWrap: false,\r\n ellipsize: true,\r\n width:Ti.UI.SIZE\r\n}\r\n\r\n\".headerLabel[formFactor=tablet]\":{\r\n font:{\r\n fontSize: 16\r\n }\r\n}\r\n\r\n\".contentLabel\":{\r\n color: Alloy.Globals.Colors.WHITE,\r\n top: 3,\r\n left: 0,\r\n font:{\r\n fontSize: 14\r\n },\r\n ellipsize: true,\r\n width:Ti.UI.SIZE\r\n}\r\n\r\n\".contentLabel[formFactor=tablet]\":{\r\n font:{\r\n fontSize: 20\r\n }\r\n}\r\n\r\n\".headerLabel[platform=ios formFactor=handheld]\":{\r\n minimumFontSize: 10,\r\n height: 14,\r\n ellipsize: false\r\n}\r\n\r\n\".headerLabel[platform=ios formFactor=tablet]\":{\r\n minimumFontSize: 16,\r\n height: 20,\r\n ellipsize: false\r\n}\r\n\r\n\r\n\".contentLabel[platform=ios formFactor=handheld]\":{\r\n minimumFontSize: 14,\r\n height: 18,\r\n ellipsize: false\r\n}\r\n\r\n\".contentLabel[platform=ios formFactor=tablet]\":{\r\n minimumFontSize: 20,\r\n height: 24,\r\n ellipsize: false\r\n}\r\n\r\n\".innerView\":{\r\n width: 20,\r\n height: Ti.UI.SIZE\r\n}\r\n\r\n\r\n\r\n", "updateAuthor": { "name": "imbudhiraja", "key": "imbudhiraja", "displayName": "Manish Budhiraja", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2016-04-26T06:20:09.000+0000", "updated": "2016-04-26T06:20:09.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }