{"action":"created","issue":{"url":"https://api.github.com/repos/andkulikov/Transitions-Everywhere/issues/19","labels_url":"https://api.github.com/repos/andkulikov/Transitions-Everywhere/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/andkulikov/Transitions-Everywhere/issues/19/comments","events_url":"https://api.github.com/repos/andkulikov/Transitions-Everywhere/issues/19/events","html_url":"https://github.com/andkulikov/Transitions-Everywhere/issues/19","id":70622312,"number":19,"title":"[BUG] android 4.1.2","user":{"login":"c0nnector","id":2115575,"avatar_url":"https://avatars.githubusercontent.com/u/2115575?v=3","gravatar_id":"","url":"https://api.github.com/users/c0nnector","html_url":"https://github.com/c0nnector","followers_url":"https://api.github.com/users/c0nnector/followers","following_url":"https://api.github.com/users/c0nnector/following{/other_user}","gists_url":"https://api.github.com/users/c0nnector/gists{/gist_id}","starred_url":"https://api.github.com/users/c0nnector/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c0nnector/subscriptions","organizations_url":"https://api.github.com/users/c0nnector/orgs","repos_url":"https://api.github.com/users/c0nnector/repos","events_url":"https://api.github.com/users/c0nnector/events{/privacy}","received_events_url":"https://api.github.com/users/c0nnector/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-24T08:18:42Z","updated_at":"2015-06-08T10:26:04Z","closed_at":"2015-06-03T06:12:06Z","body":"This bug occurs in android 4.1.2 only(haven't checked for lower versions). Works fine with 4.3 and above. I provide as root view  **(ViewGroup) getActivity().getWindow().getDecorView().getRootView()**\r\n. Seems that the casting is the reason of crashing\r\n      \r\n   ```\r\n java.lang.ClassCastException: android.view.ViewRootImpl cannot be cast to android.view.View            at android.transitions.everywhere.utils.ViewOverlayPreJellybean.getOverlay(ViewOverlayPreJellybean.java:123)    at android.transitions.everywhere.utils.ViewGroupOverlayUtils$BaseViewGroupOverlayUtilsImpl.initializeOverlay(ViewGroupOverlayUtils.java:53)       at android.transitions.everywhere.utils.ViewGroupOverlayUtils.initializeOverlay(ViewGroupOverlayUtils.java:156)            at android.transitions.everywhere.TransitionManager.sceneChangeRunTransition(TransitionManager.java:223)            at \r\nandroid.transitions.everywhere.TransitionManager.beginDelayedTransition(TransitionManager.java:379)\r\n            at    android.transitions.everywhere.TransitionManager.beginDelayedTransition(TransitionManager.java:340)\r\n            at com.example.project.views.TutorialTip.animateChanges(TutorialTip.java:97)\r\n            at com.example.project.views.TutorialTip.showOverlay(TutorialTip.java:81)\r\n            at com.example.project.views.TutorialTip.show(TutorialTip.java:130)\r\n            at com.example.project.tooltips.ProfileTooltipsHelper.showTooltip(ProfileTooltipsHelper.java:151)\r\n            at com.example.project.tooltips.ProfileTooltipsHelper.showNext(ProfileTooltipsHelper.java:130)\r\n            at com.example.project.screens.profile.FragmentProfileMe.showTips(FragmentProfileMe.java:97)\r\n            at     com.example.project.screens.profile.FragmentProfileMe_.access$501(FragmentProfileMe_.java:26)\r\n            at com.example.project.screens.profile.FragmentProfileMe_$2.run(FragmentProfileMe_.java:140)\r\n            at android.os.Handler.handleCallback(Handler.java:615)\r\n            at android.os.Handler.dispatchMessage(Handler.java:92)\r\n            at android.os.Looper.loop(Looper.java:137)\r\n            at android.app.ActivityThread.main(ActivityThread.java:4745)\r\n            at java.lang.reflect.Method.invokeNative(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:511)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)\r\n            at dalvik.system.NativeStart.main(Native Method)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/andkulikov/Transitions-Everywhere/issues/comments/109943804","html_url":"https://github.com/andkulikov/Transitions-Everywhere/issues/19#issuecomment-109943804","issue_url":"https://api.github.com/repos/andkulikov/Transitions-Everywhere/issues/19","id":109943804,"user":{"login":"andkulikov","id":744491,"avatar_url":"https://avatars.githubusercontent.com/u/744491?v=3","gravatar_id":"","url":"https://api.github.com/users/andkulikov","html_url":"https://github.com/andkulikov","followers_url":"https://api.github.com/users/andkulikov/followers","following_url":"https://api.github.com/users/andkulikov/following{/other_user}","gists_url":"https://api.github.com/users/andkulikov/gists{/gist_id}","starred_url":"https://api.github.com/users/andkulikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andkulikov/subscriptions","organizations_url":"https://api.github.com/users/andkulikov/orgs","repos_url":"https://api.github.com/users/andkulikov/repos","events_url":"https://api.github.com/users/andkulikov/events{/privacy}","received_events_url":"https://api.github.com/users/andkulikov/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T10:26:04Z","updated_at":"2015-06-08T10:26:04Z","body":"hm, strange case. i will try to find reasons of crash"}}