{"action":"created","issue":{"url":"https://api.github.com/repos/MobileAppTracking/sdk-release/issues/21","repository_url":"https://api.github.com/repos/MobileAppTracking/sdk-release","labels_url":"https://api.github.com/repos/MobileAppTracking/sdk-release/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/MobileAppTracking/sdk-release/issues/21/comments","events_url":"https://api.github.com/repos/MobileAppTracking/sdk-release/issues/21/events","html_url":"https://github.com/MobileAppTracking/sdk-release/issues/21","id":173898162,"number":21,"title":"Updating from 4.3.0 to 4.5.0 causes crashes when rotating","user":{"login":"jt-gilkeson","id":8732552,"avatar_url":"https://avatars.githubusercontent.com/u/8732552?v=3","gravatar_id":"","url":"https://api.github.com/users/jt-gilkeson","html_url":"https://github.com/jt-gilkeson","followers_url":"https://api.github.com/users/jt-gilkeson/followers","following_url":"https://api.github.com/users/jt-gilkeson/following{/other_user}","gists_url":"https://api.github.com/users/jt-gilkeson/gists{/gist_id}","starred_url":"https://api.github.com/users/jt-gilkeson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jt-gilkeson/subscriptions","organizations_url":"https://api.github.com/users/jt-gilkeson/orgs","repos_url":"https://api.github.com/users/jt-gilkeson/repos","events_url":"https://api.github.com/users/jt-gilkeson/events{/privacy}","received_events_url":"https://api.github.com/users/jt-gilkeson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-29T23:42:33Z","updated_at":"2016-08-29T23:48:51Z","closed_at":null,"body":"Updated from 4.3.0 to 4.5.0 and we see the following crash when rotating the phone.  (If I simply change back to 4.3.0 with no code changes the crash doesn't happen).\r\n\r\n```\r\nFatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{MyActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.support.v4.app.FragmentHostCallback.getContext()' on a null object reference\r\n       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)\r\n       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)\r\n       at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4077)\r\n       at android.app.ActivityThread.-wrap15(ActivityThread.java)\r\n       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1350)\r\n       at android.os.Handler.dispatchMessage(Handler.java:102)\r\n       at android.os.Looper.loop(Looper.java:148)\r\n       at android.app.ActivityThread.main(ActivityThread.java:5417)\r\n       at java.lang.reflect.Method.invoke(Method.java)\r\n       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\n\r\nCaused by java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.support.v4.app.FragmentHostCallback.getContext()' on a null object reference\r\n       at android.support.v4.app.FragmentState.instantiate(Fragment.java:100)\r\n       at android.support.v4.app.FragmentManagerImpl.restoreAllState(FragmentManager.java:2053)\r\n       at android.support.v4.app.Fragment.restoreChildFragmentState(Fragment.java:1282)\r\n       at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1057)\r\n       at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1290)\r\n       at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1272)\r\n       at android.support.v4.app.FragmentManagerImpl.dispatchCreate(FragmentManager.java:2144)\r\n       at android.support.v4.app.FragmentController.dispatchCreate(FragmentController.java:190)\r\n       at android.support.v4.app.FragmentActivity.onCreate(FragmentActivity.java:351)\r\n       at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:85)\r\n       at com.gogobot.utilities.app.GogoActivity.onCreate(GogoActivity.java:41)\r\n       at com.gogobot.gogodroid.GogobotMenuActivity.onCreate(GogobotMenuActivity.java:357)\r\n       at android.app.Activity.performCreate(Activity.java:6251)\r\n       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)\r\n       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)\r\n       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)\r\n       at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4077)\r\n       at android.app.ActivityThread.-wrap15(ActivityThread.java)\r\n       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1350)\r\n       at android.os.Handler.dispatchMessage(Handler.java:102)\r\n       at android.os.Looper.loop(Looper.java:148)\r\n       at android.app.ActivityThread.main(ActivityThread.java:5417)\r\n       at java.lang.reflect.Method.invoke(Method.java)\r\n       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\n```"},"comment":{"url":"https://api.github.com/repos/MobileAppTracking/sdk-release/issues/comments/243292063","html_url":"https://github.com/MobileAppTracking/sdk-release/issues/21#issuecomment-243292063","issue_url":"https://api.github.com/repos/MobileAppTracking/sdk-release/issues/21","id":243292063,"user":{"login":"john-gu","id":1900287,"avatar_url":"https://avatars.githubusercontent.com/u/1900287?v=3","gravatar_id":"","url":"https://api.github.com/users/john-gu","html_url":"https://github.com/john-gu","followers_url":"https://api.github.com/users/john-gu/followers","following_url":"https://api.github.com/users/john-gu/following{/other_user}","gists_url":"https://api.github.com/users/john-gu/gists{/gist_id}","starred_url":"https://api.github.com/users/john-gu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-gu/subscriptions","organizations_url":"https://api.github.com/users/john-gu/orgs","repos_url":"https://api.github.com/users/john-gu/repos","events_url":"https://api.github.com/users/john-gu/events{/privacy}","received_events_url":"https://api.github.com/users/john-gu/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T23:48:51Z","updated_at":"2016-08-29T23:48:51Z","body":"Hi @jt-gilkeson, 4.4.0 updated our v4-support library versions to v24. Could this be affecting your v4 classes?"}}
{"actor":{"display_login":"john-gu"}}