{ "id": "170095", "key": "TIMOB-25431", "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": [ { "id": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" }, { "id": "20214", "description": "", "name": "Release 7.2.1", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-08-03T18:56:56.000+0000", "created": "2017-10-24T07:35:03.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "label", "regression" ], "versions": [ { "id": "19542", "description": "", "name": "Release 6.2.2", "archived": false, "released": true, "releaseDate": "2017-09-19" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-01-08T22:42:36.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": "Filing this ticket from the community just in case it's our issue:\r\n{code}\r\n[ERROR] : TiApplication: (main) [85,105171] Sending event: exception on thread: main msg:java.lang.ClassCastException: ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup; Titanium 6.2.2,2017/09/19 16:01,undefined\r\n[ERROR] : TiApplication: java.lang.ClassCastException: ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n[ERROR] : TiApplication: at android.support.v4.app.FragmentTransition.configureTransitionsOrdered(FragmentTransition.java:293)\r\n[ERROR] : TiApplication: at android.support.v4.app.FragmentTransition.startTransitions(FragmentTransition.java:118)\r\n[ERROR] : TiApplication: at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2364)\r\n[ERROR] : TiApplication: at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2322)\r\n[ERROR] : TiApplication: at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2229)\r\n[ERROR] : TiApplication: at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:700)\r\n[ERROR] : TiApplication: at android.os.Handler.handleCallback(Handler.java:739)\r\n[ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:95)\r\n[ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:148)\r\n[ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5417)\r\n[ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n[ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: java.lang.ClassCastException: ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup;", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": "SDK 6.2.2+", "closedSprints": [ { "id": 1000, "state": "closed", "name": "2018 Sprint 04 SDK", "startDate": "2018-02-12T04:23:01.913Z", "endDate": "2018-02-26T04:23:00.000Z", "completeDate": "2018-02-26T19:36:01.769Z", "originBoardId": 114 }, { "id": 1053, "state": "closed", "name": "2018 Sprint 15 SDK", "startDate": "2018-07-15T21:52:05.453Z", "endDate": "2018-07-29T21:52:00.000Z", "completeDate": "2018-07-29T22:25:11.723Z", "originBoardId": 114 }, { "id": 126, "state": "closed", "name": "2018 Sprint 05 SDK", "startDate": "2018-02-25T19:38:08.926Z", "endDate": "2018-03-11T18:38:00.000Z", "completeDate": "2018-03-11T22:06:01.520Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "429509", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hknoechel], we need sample code in order to reproduce this issue. Can you ask this person to provide some test code please?\r\n\r\nFrom looking at the stack trace, I suspect this is a bug on Google's end. Might be a new bug introduced in the v26 support libraries and we'll have to figure out a work-around.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-24T17:49:26.000+0000", "updated": "2017-10-24T17:49:26.000+0000" }, { "id": "433098", "author": { "name": "btknorr", "key": "btknorr", "displayName": "Brian Knorr", "active": true, "timeZone": "America/Chicago" }, "body": "We are getting this issue as well...201 times in the last 14 days. Our crash rate is almost 5% because of this bug. What is causing this?\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.FragmentTransition.configureTransitionsOrdered(FragmentTransition.java:293)\r\n2\tat android.support.v4.app.FragmentTransition.startTransitions(FragmentTransition.java:118)\r\n3\tat android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2364)\r\n4\tat android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2322)\r\n5\tat android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2229)\r\n6\tat android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:700)\r\n7\tat android.os.Handler.handleCallback(Handler.java:751)\r\n8\tat android.os.Handler.dispatchMessage(Handler.java:95)\r\n9\tat android.os.Looper.loop(Looper.java:154)\r\n10\tat android.app.ActivityThread.main(ActivityThread.java:6688)\r\n11\tat java.lang.reflect.Method.invoke(Native Method)\r\n12\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)\r\n13\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)\r\n\r\n", "updateAuthor": { "name": "btknorr", "key": "btknorr", "displayName": "Brian Knorr", "active": true, "timeZone": "America/Chicago" }, "created": "2018-01-12T19:10:31.000+0000", "updated": "2018-01-12T19:10:31.000+0000" }, { "id": "433107", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~btknorr], I don't see anything incriminating in the stack-trace. From the looks of it, a Titanium label is being added to a non-Titanium native Android view. The exception is coming from Google's end (a Fragment in this case), indicating that it was given a non-ViewGroup derived class.\r\n\r\nAre you using hyper-loop or a 3rd party module to display UI that Titanium does not support?\r\nAlso, are you using TabGroups?", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-12T22:53:30.000+0000", "updated": "2018-01-12T22:53:30.000+0000" }, { "id": "433116", "author": { "name": "btknorr", "key": "btknorr", "displayName": "Brian Knorr", "active": true, "timeZone": "America/Chicago" }, "body": "Ya we don't get it either....we do not use TabGroups ever. We only use standard views...we use hyperloop for credit card scanning via card.io but this is not the issue. We do notice though that frequently when you open a titanium app on Android that it closes immediately and then opens back up. Maybe this is cause?", "updateAuthor": { "name": "btknorr", "key": "btknorr", "displayName": "Brian Knorr", "active": true, "timeZone": "America/Chicago" }, "created": "2018-01-13T06:25:53.000+0000", "updated": "2018-01-13T06:25:53.000+0000" }, { "id": "433138", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2018-01-15T03:21:03.000+0000", "updated": "2018-01-16T08:23:32.000+0000" }, { "id": "433211", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fahad86] Could you provide details of what devices this occurs most often on and also what Android version they are running?", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-16T21:20:34.000+0000", "updated": "2018-01-16T21:20:34.000+0000" }, { "id": "433221", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "seems to be quite distributed:\r\n\r\nCluster 1 (Samsung devices Android 7.0/7.1):\r\nhttps://s3-ap-southeast-1.amazonaws.com/uploads-ap.hipchat.com/56929/750866/kmzXwZt3hgfSyjE/Screen%20Shot%202018-01-17%20at%2010.06.26%20AM.png\r\n\r\nCluster 2 (mixed Android 7.X/8.1):\r\nhttps://s3-ap-southeast-1.amazonaws.com/uploads-ap.hipchat.com/56929/750866/LZHSnvPA8H1TrfH/Screen%20Shot%202018-01-17%20at%2010.07.27%20AM.png\r\n\r\nCluster 3 (mixed Android 5.X/6.X):\r\nhttps://s3-ap-southeast-1.amazonaws.com/uploads-ap.hipchat.com/56929/750866/CWcsd1kY4KnQTtx/Screen%20Shot%202018-01-17%20at%2010.08.01%20AM.png\r\n\r\nEven though the error clusters are different, the stack stacks are pretty much the same:\r\n\r\n{code:java}\r\njava.lang.RuntimeException: \r\n at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2927)\r\n at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2988)\r\n at android.app.ActivityThread.-wrap14 (ActivityThread.java)\r\n at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1631)\r\n at android.os.Handler.dispatchMessage (Handler.java:102)\r\n at android.os.Looper.loop (Looper.java:154)\r\n at android.app.ActivityThread.main (ActivityThread.java:6682)\r\n at java.lang.reflect.Method.invoke (Native Method)\r\n at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1534)\r\n at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1424)\r\nCaused by: java.lang.ClassCastException: \r\n at android.support.v4.app.FragmentTransition.configureTransitionsOrdered (FragmentTransition.java:293)\r\n at android.support.v4.app.FragmentTransition.startTransitions (FragmentTransition.java:118)\r\n at android.support.v4.app.FragmentManagerImpl.executeOpsTogether (FragmentManager.java:2364)\r\n at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute (FragmentManager.java:2322)\r\n at android.support.v4.app.FragmentManagerImpl.execPendingActions (FragmentManager.java:2229)\r\n at android.support.v4.app.FragmentManagerImpl.dispatchStateChange (FragmentManager.java:3221)\r\n at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated (FragmentManager.java:3171)\r\n at android.support.v4.app.FragmentController.dispatchActivityCreated (FragmentController.java:192)\r\n at android.support.v4.app.FragmentActivity.onStart (FragmentActivity.java:552)\r\n at android.support.v7.app.AppCompatActivity.onStart (AppCompatActivity.java:177)\r\n at org.appcelerator.titanium.TiBaseActivity.onStart (TiBaseActivity.java:1372)\r\n at android.app.Instrumentation.callActivityOnStart (Instrumentation.java:1256)\r\n at android.app.Activity.performStart (Activity.java:6959)\r\n at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2890)\r\n{code}\r\n", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2018-01-17T02:14:17.000+0000", "updated": "2018-01-17T02:20:41.000+0000" }, { "id": "433222", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "On Crittercism we get the stacktrace:\r\n\r\nName\t\r\njava.lang.ClassCastException\r\n\r\nReason\t\r\nUnable to start activity ComponentInfo{xxxx.xxxx/org.appcelerator.titanium.TiActivity}: java.lang.ClassCastException: ti.modules.tita...\r\n\r\nApp Version\t5.6.5\r\nCrashed Thread\r\n\r\n0\tjava.lang.RuntimeException: Unable to start activity ComponentInfo{xxxx.xxxx/org.appcelerator.titanium.TiActivity}: java.lang.ClassCastException: ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n1\tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2984)\r\n2\tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3045)\r\n3\tat android.app.ActivityThread.-wrap14(ActivityThread.java)\r\n4\tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1642)\r\n5\tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n6\tat android.os.Looper.loop(Looper.java:154)\r\n7\tat android.app.ActivityThread.main(ActivityThread.java:6776)\r\n8\tat java.lang.reflect.Method.invoke(Native Method)\r\n9\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)\r\n10\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)\r\n11\tCaused by: java.lang.ClassCastException: ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n12\tat android.support.v4.app.FragmentTransition.configureTransitionsOrdered(FragmentTransition.java:293)\r\n13\tat android.support.v4.app.FragmentTransition.startTransitions(FragmentTransition.java:118)\r\n14\tat android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2364)\r\n15\tat android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2322)\r\n16\tat android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2229)\r\n17\tat android.support.v4.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3221)\r\n18\tat android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:3171)\r\n19\tat android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:192)\r\n20\tat android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:552)\r\n21\tat android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:177)\r\n22\tat org.appcelerator.titanium.TiBaseActivity.onStart(TiBaseActivity.java:1372)\r\n23\tat android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1256)\r\n24\tat android.app.Activity.performStart(Activity.java:6972)\r\n25\tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2937)\r\n26\t... 9 more\r\n27\tjava.lang.ClassCastException: ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n28\tat android.support.v4.app.FragmentTransition.configureTransitionsOrdered(FragmentTransition.java:293)\r\n29\tat android.support.v4.app.FragmentTransition.startTransitions(FragmentTransition.java:118)\r\n30\tat android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2364)\r\n31\tat android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2322)\r\n32\tat android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2229)\r\n33\tat android.support.v4.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3221)\r\n34\tat android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:3171)\r\n35\tat android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:192)\r\n36\tat android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:552)\r\n37\tat android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:177)\r\n38\tat org.appcelerator.titanium.TiBaseActivity.onStart(TiBaseActivity.java:1372)\r\n39\tat android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1256)\r\n40\tat android.app.Activity.performStart(Activity.java:6972)\r\n41\tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2937)\r\n42\tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3045)\r\n43\tat android.app.ActivityThread.-wrap14(ActivityThread.java)\r\n44\tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1642)\r\n45\tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n46\tat android.os.Looper.loop(Looper.java:154)\r\n47\tat android.app.ActivityThread.main(ActivityThread.java:6776)\r\n48\tat java.lang.reflect.Method.invoke(Native Method)\r\n49\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)\r\n50\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)\r\n\r\n", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2018-01-17T02:30:59.000+0000", "updated": "2018-01-17T02:30:59.000+0000" }, { "id": "433223", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fahad86] Thanks for responding with more details! Do you use any transition animations for your Windows?", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-17T02:34:36.000+0000", "updated": "2018-01-17T02:34:36.000+0000" }, { "id": "433225", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Yes we do:\r\n{\r\n activityEnterAnimation: Ti.App.Android.R.anim.slide_in_right,\r\n activityExitAnimation: Ti.Android.R.anim.slide_out_right\r\n}\r\n\r\nonly recently. But this issue has been happening well before the transitions were added", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2018-01-17T02:51:53.000+0000", "updated": "2018-01-17T02:51:53.000+0000" }, { "id": "433321", "author": { "name": "btknorr", "key": "btknorr", "displayName": "Brian Knorr", "active": true, "timeZone": "America/Chicago" }, "body": "And we don't use transition animations on windows...only views. Here is a screenshot of our stats for this crash from google play for the last 60 days.\r\n\r\nhttps://snag.gy/HlRk7D.jpg\r\n\r\n", "updateAuthor": { "name": "btknorr", "key": "btknorr", "displayName": "Brian Knorr", "active": true, "timeZone": "America/Chicago" }, "created": "2018-01-18T23:35:02.000+0000", "updated": "2018-01-18T23:35:02.000+0000" }, { "id": "433737", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Have this error too:\r\n\r\n{code}\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): FATAL EXCEPTION: main\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): Process: com.app, PID: 19836\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): java.lang.ClassCastException: ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): \tat android.support.v4.app.FragmentTransition.configureTransitionsOrdered(FragmentTransition.java:293)\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): \tat android.support.v4.app.FragmentTransition.startTransitions(FragmentTransition.java:118)\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): \tat android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2364)\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): \tat android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2322)\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): \tat android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2229)\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): \tat android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:700)\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): \tat android.os.Handler.handleCallback(Handler.java:751)\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): \tat android.os.Handler.dispatchMessage(Handler.java:95)\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): \tat android.os.Looper.loop(Looper.java:173)\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): \tat android.app.ActivityThread.main(ActivityThread.java:6459)\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): \tat java.lang.reflect.Method.invoke(Native Method)\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:938)\r\n01-26 21:53:09.709: E/AndroidRuntime(19836): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:828)\r\n{code}\r\n\r\nTitanium SDK 7.0.2.RC\r\nHTC A9 Android 7\r\n\r\nIts in a bigger app, no transition animations. Main part is a scrollable view with 3 views and a bottom menu. I can reproduce the error when I close (back button) the app during the start process. When I restart the app again it will crash with that error. If I start the app, use it or just leave it open for some seconds it works fine. \r\n\r\nI'll try to see if I can reproduce it in a demo app. ", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-01-26T21:10:38.000+0000", "updated": "2018-01-26T21:10:38.000+0000" }, { "id": "433740", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~michael] Thanks! That would be really helpful", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-26T21:47:58.000+0000", "updated": "2018-01-26T21:47:58.000+0000" }, { "id": "433742", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~btknorr], [~michael],\r\n\r\nAre you guys setting a Label's \"minimumFontSize\" property?", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-26T23:05:45.000+0000", "updated": "2018-01-26T23:05:45.000+0000" }, { "id": "433745", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "No.\r\nI'm currently in the progress of stripping down my app to a bare minimum. Then you can have a look", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-01-26T23:24:20.000+0000", "updated": "2018-01-26T23:24:20.000+0000" }, { "id": "434302", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~michael] were you able to create a reproducible test case? We're having a hard time reproducing this issue.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-09T18:56:36.000+0000", "updated": "2018-02-09T18:56:36.000+0000" }, { "id": "434303", "author": { "name": "cliff_stander", "key": "cliff_stander", "displayName": "Mike Stancliffe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue has been a source of pain for us for some time now. For months we haven't been able to pinpoint when or where it is happening. Today we found a reproducible scenario to have this occur, unfortunately it's within our large scale app not a neat little sample.", "updateAuthor": { "name": "cliff_stander", "key": "cliff_stander", "displayName": "Mike Stancliffe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-09T19:16:15.000+0000", "updated": "2018-02-09T19:16:15.000+0000" }, { "id": "434306", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can any of you guess \"when\" this started happening to you?\r\nThis might help us narrow it down.\r\n\r\nAlso, which Android OS versions you think it's happening on?\r\nFor example, if it's only happening on Android 7.0 and above, then this might indicate it's a Google bug we might need to work-around and not a bug introduced into Titanium. From the stack trace, you can see that the exception is happening on Google's side. So, this might be the case.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-09T19:48:48.000+0000", "updated": "2018-02-09T19:48:48.000+0000" }, { "id": "434338", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "@[~jquick][~gmathews] Sorry I wasn't successful in creating an example. In fact the app which I've stated above doesn't have this problem anymore! I was able to reproduce it every time and now it is gone. I've changed a lot of code (e.g. more collection/listview related stuff into onOpen events) and switched to 7.0.2.GA and it looks like it is gone now.\r\n\r\nI go back in my GIT repo to see if the old code still produces this error.\r\n\r\nPhone: HTC A9 Android 7", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-11T16:46:37.000+0000", "updated": "2018-02-11T16:47:05.000+0000" }, { "id": "434344", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "This issue reduced significantly (but still present) when we removed a ti.map view from a page that we open often. We replaced it with an image view with a picture of the map instead.", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2018-02-12T02:08:41.000+0000", "updated": "2018-02-12T02:08:41.000+0000" }, { "id": "434476", "author": { "name": "cliff_stander", "key": "cliff_stander", "displayName": "Mike Stancliffe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After reading the above comment, we noticed a pattern in our app, we see this very consistently while closing/removing a map view while in motion(zooming or panning to a pin for example). We had 100% success in reproducing under these conditions. If I get time I will try to build a simple example of this.", "updateAuthor": { "name": "cliff_stander", "key": "cliff_stander", "displayName": "Mike Stancliffe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-14T14:22:38.000+0000", "updated": "2018-02-14T14:22:38.000+0000" }, { "id": "434496", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bumping from 7.1.0 as we still do not have a reproducible test case.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-14T23:04:44.000+0000", "updated": "2018-02-14T23:04:44.000+0000" }, { "id": "437229", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "with the 7.1.1.RC I got that error today:\r\n{code}\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.app/org.appcelerator.titanium.TiActivity}: java.lang.ClassCastException: ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2725)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2786)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1501)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.os.Looper.loop(Looper.java:173)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6459)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:938)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:828)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: Caused by: java.lang.ClassCastException: ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.support.v4.app.FragmentTransition.configureTransitionsOrdered(FragmentTransition.java:293)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.support.v4.app.FragmentTransition.startTransitions(FragmentTransition.java:118)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2364)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2322)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2229)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3221)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:3171)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:192)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:552)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:177)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at org.appcelerator.titanium.TiBaseActivity.onStart(TiBaseActivity.java:1339)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1299)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.app.Activity.performStart(Activity.java:6690)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2688)\r\n04-30 21:48:30.383 6858 6858 E AndroidRuntime: ... 9 more\r\n{code}\r\n\r\nstill no way to really reproduce it, just wanted to add it for the error stack and error lines", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-04-30T21:41:12.000+0000", "updated": "2018-04-30T21:41:12.000+0000" }, { "id": "437233", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/10017", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-30T22:36:21.000+0000", "updated": "2018-04-30T22:36:21.000+0000" }, { "id": "437251", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "nice work [~gmathews]! ", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-05-01T15:22:39.000+0000", "updated": "2018-05-01T15:22:39.000+0000" }, { "id": "437273", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Any chance we can backport this to 7.1.1?", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2018-05-02T04:08:20.000+0000", "updated": "2018-05-02T04:08:20.000+0000" }, { "id": "437302", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fahad86], unfortunately it is too late to add it to Titanium 7.1.1.\r\nWe plan is to add it to the next release. Likely 7.2.0.\r\n\r\nThe issue is caused by creating UI for the next window you're about to open while you're close the current window.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-02T18:11:24.000+0000", "updated": "2018-05-02T18:11:24.000+0000" }, { "id": "439020", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, Verified code fix in SDK Version: 7.3.0.v20180628132121. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-07-05T19:23:10.000+0000", "updated": "2018-07-05T19:23:10.000+0000" }, { "id": "439149", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "We are using the Ti SDK 7.3.0.v20180709142952 in production but we can still see this issue recurring (not very frequently though):\r\n\r\nName\t\r\njava.lang.ClassCastException\r\n\r\nReason\t\r\nUnable to start activity ComponentInfo{spacious.home/org.appcelerator.titanium.TiActivity}: java.lang.ClassCastException: ti.modules.tita...\r\n\r\nApp Version\t5.9.1\r\nCrashed Thread\r\n\r\n0\tjava.lang.RuntimeException: Unable to start activity ComponentInfo{spacious.home/org.appcelerator.titanium.TiActivity}: java.lang.ClassCastException: ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n1\tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2955)\r\n2\tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3030)\r\n3\tat android.app.ActivityThread.-wrap11(Unknown Source:0)\r\n4\tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)\r\n5\tat android.os.Handler.dispatchMessage(Handler.java:105)\r\n6\tat android.os.Looper.loop(Looper.java:164)\r\n7\tat android.app.ActivityThread.main(ActivityThread.java:6938)\r\n8\tat java.lang.reflect.Method.invoke(Native Method)\r\n9\tat com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)\r\n10\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)\r\n11\tCaused by: java.lang.ClassCastException: ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n12\tat android.support.v4.app.FragmentTransition.configureTransitionsOrdered(FragmentTransition.java:310)\r\n13\tat android.support.v4.app.FragmentTransition.startTransitions(FragmentTransition.java:134)\r\n14\tat android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2380)\r\n15\tat android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2338)\r\n16\tat android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2245)\r\n17\tat android.support.v4.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3248)\r\n18\tat android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:3200)\r\n19\tat android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:195)\r\n20\tat android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:597)\r\n21\tat android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:177)\r\n22\tat org.appcelerator.titanium.TiBaseActivity.onStart(TiBaseActivity.java:1362)\r\n23\tat android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1340)\r\n24\tat android.app.Activity.performStart(Activity.java:7191)\r\n25\tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2918)\r\n26\t... 9 more\r\n27\tjava.lang.ClassCastException: ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n28\tat android.support.v4.app.FragmentTransition.configureTransitionsOrdered(FragmentTransition.java:310)\r\n29\tat android.support.v4.app.FragmentTransition.startTransitions(FragmentTransition.java:134)\r\n30\tat android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2380)\r\n31\tat android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2338)\r\n32\tat android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2245)\r\n33\tat android.support.v4.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3248)\r\n34\tat android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:3200)\r\n35\tat android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:195)\r\n36\tat android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:597)\r\n37\tat android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:177)\r\n38\tat org.appcelerator.titanium.TiBaseActivity.onStart(TiBaseActivity.java:1362)\r\n39\tat android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1340)\r\n40\tat android.app.Activity.performStart(Activity.java:7191)\r\n41\tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2918)\r\n42\tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3030)\r\n43\tat android.app.ActivityThread.-wrap11(Unknown Source:0)\r\n44\tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)\r\n45\tat android.os.Handler.dispatchMessage(Handler.java:105)\r\n46\tat android.os.Looper.loop(Looper.java:164)\r\n47\tat android.app.ActivityThread.main(ActivityThread.java:6938)\r\n48\tat java.lang.reflect.Method.invoke(Native Method)\r\n49\tat com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)\r\n50\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2018-07-12T07:17:01.000+0000", "updated": "2018-07-12T07:17:01.000+0000" }, { "id": "439582", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "When running *7.2.1.v20180726150551* I still get this \r\n{noformat}\r\n ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n{noformat}\r\n error and when running *7.3.0.v20180727082501 (7.3.0 RC)* I'll get a freeze with a black screen and no error message:\r\n\r\n[Video of the problem|https://migaweb.de/730rc_freeze.mp4] (opening and closing windows, 3rd window will freeze the app). \r\n\r\nit's happening way more often than the label error! In 7.2.0.GA I barely see the label error", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-29T11:18:33.000+0000", "updated": "2018-07-29T11:18:33.000+0000" }, { "id": "439584", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "I'm starting to see these warnings\r\n\r\n{noformat}\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1029)\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1039)\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1057)\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1067)\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1043)\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1053)\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1097)\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1096)\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1095)\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1091)\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1090)\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1089)\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1085)\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1084)\r\n[WARN] JavaObject: Could not obtain reference, java object has already been collected! (Key: 1083)\r\n[INFO] I/Google Maps Android API: Google Play services package version: 12874025\r\n[INFO] art: Starting a blocking GC HeapTrim\r\n{noformat}\r\nhttps://github.com/appcelerator/titanium_mobile/blob/master/android/runtime/v8/src/native/JavaObject.cpp#L83\r\n\r\nbefore the black screen", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-29T13:01:52.000+0000", "updated": "2018-07-29T13:01:52.000+0000" }, { "id": "439605", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-07-30T20:23:37.000+0000", "updated": "2018-07-30T20:26:52.000+0000" }, { "id": "439606", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "still trying to create a test without any luck yet.\r\n\r\n{code:javascript}\r\n// ----- index\r\n\r\nAlloy.Globals.window.openWin = function(win) {\r\n\twin.open();\r\n}\r\n\r\n// ----- inside the listview window:\r\n\r\nfunction openDetails(id) {\r\n\t\t\tvar w = Alloy.createController(\"placeDetail\", {\r\n\t\t\t\tid: id\r\n\t\t\t});\r\n\t\t\tAlloy.Globals.window.openWin(w.getView());\r\n\t\t\tw = null;\r\n}\r\n{code}\r\n\r\nThe child window has some images, labels, views, a map, is using a model instance and http request (destroy, off and setting most stuff to null when closing the window). I'm trying to create a example that features most of the things so it can be compared.\r\n\r\nTIMOB-26222: that example is working fine for me with 7.3.0.RC\r\n\r\n7.3.0.v20180711185043 is crashing/freezing too!\r\n\r\n*Edit:* simplified the example, removed the activity indicator and stuff. Still freezing", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-30T20:45:19.000+0000", "updated": "2018-07-30T20:49:09.000+0000" }, { "id": "439607", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~michael] When your {{placeDetail}} controller is destroyed (pressing back), it's important to no re-use any child views of that Window as they will also be destroyed. If you want to re-use them again, you should remove them first.\r\n\r\nI'm just guessing, as I don't have a lot to go off. I would need to see your {{placeDetail}} controller.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-07-30T21:03:29.000+0000", "updated": "2018-07-30T21:04:19.000+0000" }, { "id": "439609", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "I think I found the issue! I remove all of the controller code and added it back line by line (still have of the code removed). There is a {{scrollableView.addEventListener(\"scrollend\", onScrollEndImages);}} event listener I only add when I have multiple images and I didn't remove that listener when closing the window! \r\nSo I guess it's just my code that was the problem. But strange that it was working in 7.2.0 (this one was merged into 7.3.0: https://github.com/appcelerator/titanium_mobile/pull/9696)\r\n\r\nSo I still work my way up the code stack.\r\n\r\nGiving up for today: even I remove the scrollend listener it will freeze once I have my whole code back in. So the leak is somewhere else :-/", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-30T21:36:35.000+0000", "updated": "2018-07-30T22:00:37.000+0000" }, { "id": "439614", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~michael] Try this build: https://eu.syncplicity.com/share/rrvefj7xa38thvw/7.3.0.v20180727082501\r\n\r\nI've slightly modified the behavior of Windows, maybe this could improve the issue?\r\n\r\nNOTE: It's not really {{7.3.0.v20180727082501}}, I've replaced some files inside.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-07-30T23:42:04.000+0000", "updated": "2018-07-30T23:42:04.000+0000" }, { "id": "439622", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "at the beginning it was better but then I ended up with: \r\n\r\n{noformat}\r\nF libc : Fatal signal 6 (SIGABRT), code -6 in tid 14574 (miga.app)\r\nW : debuggerd: handling request: pid=14574 uid=10976 gid=10976 tid=14574\r\nDEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\r\nDEBUG : Build fingerprint: 'htc/hiaeuhl_00401/htc_hiaeuhl:7.0/NRD90M/876837.2:user/release-keys'\r\nDEBUG : Revision: '0'\r\nDEBUG : ABI: 'arm64'\r\nDEBUG : pid: 14574, tid: 14574, name: miga.app >>> com.miga.app <<<\r\nDEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------\r\nDEBUG : Abort message: 'art/runtime/java_vm_ext.cc:508] JNI DETECTED ERROR IN APPLICATION: obj == null'\r\nDEBUG : x0 0000000000000000 x1 00000000000038ee x2 0000000000000006 x3 0000000000000008\r\nDEBUG : x4 000000000000000d x5 0000007f82ed0000 x6 486674aa7f000000 x7 0000007faa746648\r\nDEBUG : x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001\r\nDEBUG : x12 ffffffffffffffff x13 0000000000000000 x14 0000000000000000 x15 00000000007f82ed\r\nDEBUG : x16 0000007faa788ed8 x17 0000007faa732314 x18 0000000000000000 x19 0000007fad14db40\r\nDEBUG : x20 0000000000000006 x21 0000007fad14da98 x22 0000000000000002 x23 0000000000000b38\r\nDEBUG : x24 ffffffffffffffff x25 0000007fa95f5730 x26 0000007fa957ee58 x27 0000007fd168e561\r\nDEBUG : x28 0000007fa95444ab x29 0000007fd168e490 x30 0000007faa72f7a4\r\nDEBUG : sp 0000007fd168e470 pc 0000007faa73231c pstate 0000000000000000\r\nDEBUG : \r\nDEBUG : backtrace:\r\nDEBUG : #00 pc 000000000006c31c /system/lib64/libc.so (tgkill+8)\r\nDEBUG : #01 pc 00000000000697a0 /system/lib64/libc.so (pthread_kill+64)\r\nDEBUG : #02 pc 00000000000242d0 /system/lib64/libc.so (raise+24)\r\nDEBUG : #03 pc 000000000001ccec /system/lib64/libc.so (abort+52)\r\nDEBUG : #04 pc 0000000000431c70 /system/lib64/libart.so (_ZN3art7Runtime5AbortEv+352)\r\nDEBUG : #05 pc 00000000000e5324 /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+1204)\r\nDEBUG : #06 pc 00000000002f0404 /system/lib64/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+2172)\r\nDEBUG : #07 pc 00000000002f07c8 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+184)\r\nDEBUG : #08 pc 000000000033c860 /system/lib64/libart.so (_ZN3art3JNI14GetObjectFieldEP7_JNIEnvP8_jobjectP9_jfieldID+740)\r\nDEBUG : #09 pc 000000000052ae78 /data/app/com.miga.app-1/lib/arm64/libkroll-v8.so\r\n\r\n{noformat}\r\n", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-31T08:37:38.000+0000", "updated": "2018-07-31T08:37:38.000+0000" }, { "id": "439630", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~michael] Do you have a larger trace?", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-07-31T18:14:07.000+0000", "updated": "2018-07-31T18:14:07.000+0000" }, { "id": "439662", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~michael] Here's a build based off https://github.com/appcelerator/titanium_mobile/pull/10221\r\n\r\nhttps://eu.syncplicity.com/share/0tbgyfgiwab00tj/mobilesdk-7.3.0.v20180801124941-osx\r\n\r\nThis should resolve the issue.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-01T20:59:50.000+0000", "updated": "2018-08-01T20:59:50.000+0000" }, { "id": "439788", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 7.2.1.v20180726150551.\r\n\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-03T18:56:50.000+0000", "updated": "2018-08-03T18:56:50.000+0000" }, { "id": "443784", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Starting to see this again with 7.5.0.GA in combination with liveview:\r\n{code}\r\n[ERROR] TiExceptionHandler: (main) [263,1634] ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n[ERROR] TiExceptionHandler:\r\n[ERROR] TiExceptionHandler: android.support.v4.app.FragmentTransition.configureTransitionsOrdered(FragmentTransition.java:310)\r\n[ERROR] TiExceptionHandler: android.support.v4.app.FragmentTransition.startTransitions(FragmentTransition.java:134)\r\n[ERROR] TiExceptionHandler: android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2380)\r\n[ERROR] TiExceptionHandler: android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2338)\r\n[ERROR] TiExceptionHandler: android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2245)\r\n[ERROR] TiExceptionHandler: android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:703)\r\n[ERROR] TiExceptionHandler: android.os.Handler.handleCallback(Handler.java:751)\r\n[ERROR] TiExceptionHandler: android.os.Handler.dispatchMessage(Handler.java:95)\r\n[ERROR] TiExceptionHandler: android.os.Looper.loop(Looper.java:173)\r\n[ERROR] TiExceptionHandler: android.app.ActivityThread.main(ActivityThread.java:6459)\r\n[ERROR] TiExceptionHandler: java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] TiExceptionHandler: com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:938)\r\n[ERROR] TiExceptionHandler: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:828)\r\n{code}\r\n\r\nWhen I reload the app for the first time (first change in liveview 1.4.0) it will freeze with this error. It looks like the whole screen is renderered (at least the visible elements in the first scrollableView). It's the same app as before and it was working better in 7.4.1.GA", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-11-20T16:30:24.000+0000", "updated": "2018-11-20T16:30:24.000+0000" }, { "id": "445111", "author": { "name": "felipemathies", "key": "felipemathies", "displayName": "Felipe Mathies", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "I`m seeing this error on 7.5.1.v20181218070137 too...my app is having multiples crahings with this...\r\n~[ERROR] TiExceptionHandler: (main) [3104,33176] ti.modules.titanium.ui.widget.TiUILabel$1 cannot be cast to android.view.ViewGroup\r\n[ERROR] TiExceptionHandler:\r\n[ERROR] TiExceptionHandler: android.support.v4.app.FragmentTransition.configureTransitionsOrdered(FragmentTransition.java:310)\r\n[ERROR] TiExceptionHandler: android.support.v4.app.FragmentTransition.startTransitions(FragmentTransition.java:134)\r\n[ERROR] TiExceptionHandler: android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2380)\r\n[ERROR] TiExceptionHandler: android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2338)\r\n[ERROR] TiExceptionHandler: android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2245)\r\n[ERROR] TiExceptionHandler: android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:703)\r\n[ERROR] TiExceptionHandler: android.os.Handler.handleCallback(Handler.java:739)\r\n[ERROR] TiExceptionHandler: android.os.Handler.dispatchMessage(Handler.java:95)\r\n[ERROR] TiExceptionHandler: android.os.Looper.loop(Looper.java:145)\r\n[ERROR] TiExceptionHandler: android.app.ActivityThread.main(ActivityThread.java:6917)\r\n[ERROR] TiExceptionHandler: java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] TiExceptionHandler: java.lang.reflect.Method.invoke(Method.java:372)\r\n[ERROR] TiExceptionHandler: com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)\r\n[ERROR] TiExceptionHandler: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)~\r\n\r\n\r\nCan you guys reopen this? this is affecting my app on production really bad....", "updateAuthor": { "name": "felipemathies", "key": "felipemathies", "displayName": "Felipe Mathies", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2019-01-08T22:42:36.000+0000", "updated": "2019-01-08T22:42:36.000+0000" } ], "maxResults": 44, "total": 44, "startAt": 0 } } }