{"action":"created","issue":{"url":"https://api.github.com/repos/googlecast/CastCompanionLibrary-android/issues/23","labels_url":"https://api.github.com/repos/googlecast/CastCompanionLibrary-android/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/googlecast/CastCompanionLibrary-android/issues/23/comments","events_url":"https://api.github.com/repos/googlecast/CastCompanionLibrary-android/issues/23/events","html_url":"https://github.com/googlecast/CastCompanionLibrary-android/issues/23","id":29768203,"number":23,"title":"This one phone appears to be getting lots of this message java.lang.IllegalStateException: Not connected. Call connect() and wait for onConnected() to be called.","user":{"login":"mntgoat","id":1638377,"avatar_url":"https://avatars.githubusercontent.com/u/1638377?v=3","gravatar_id":"","url":"https://api.github.com/users/mntgoat","html_url":"https://github.com/mntgoat","followers_url":"https://api.github.com/users/mntgoat/followers","following_url":"https://api.github.com/users/mntgoat/following{/other_user}","gists_url":"https://api.github.com/users/mntgoat/gists{/gist_id}","starred_url":"https://api.github.com/users/mntgoat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mntgoat/subscriptions","organizations_url":"https://api.github.com/users/mntgoat/orgs","repos_url":"https://api.github.com/users/mntgoat/repos","events_url":"https://api.github.com/users/mntgoat/events{/privacy}","received_events_url":"https://api.github.com/users/mntgoat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-03-19T20:15:49Z","updated_at":"2015-03-27T20:36:23Z","closed_at":"2014-03-21T01:58:17Z","body":"Can you tell me how I go about troubleshooting this, it seems to be happening to one device specifically, I'm guessing they keep retrying because I'm getting the report every few minutes. \r\n\r\nThanks.\r\n\r\njava.lang.IllegalStateException: Not connected. Call connect() and wait for onConnected() to be called.\r\nat com.google.android.gms.internal.gu.o(Unknown Source)\r\nat com.google.android.gms.internal.gu.p(Unknown Source)\r\nat com.google.android.gms.internal.fp.a(Unknown Source)\r\nat com.google.android.gms.cast.e.b(Unknown Source)\r\nat com.google.sample.castcompanionlibrary.cast.VideoCastManager.detachMediaChannel(Unknown Source)\r\nat com.google.sample.castcompanionlibrary.cast.VideoCastManager.onDeviceUnselected(Unknown Source)\r\nat com.google.sample.castcompanionlibrary.cast.BaseCastManager.setDevice(Unknown Source)\r\nat com.google.sample.castcompanionlibrary.cast.BaseCastManager.onDeviceSelected(Unknown Source)\r\nat com.google.sample.castcompanionlibrary.cast.CastMediaRouterCallback.onRouteUnselected(Unknown Source)\r\nat android.support.v7.media.MediaRouter$GlobalMediaRouter$CallbackHandler.invokeCallback(Unknown Source)\r\nat android.support.v7.media.MediaRouter$GlobalMediaRouter$CallbackHandler.handleMessage(Unknown Source)\r\nat android.os.Handler.dispatchMessage(Handler.java:99)\r\nat android.os.Looper.loop(Looper.java:213)\r\nat android.app.ActivityThread.main(ActivityThread.java:5225)\r\nat java.lang.reflect.Method.invokeNative(Native Method)\r\nat java.lang.reflect.Method.invoke(Method.java:525)\r\nat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:741)\r\nat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)\r\nat dalvik.system.NativeStart.main(Native Method)"},"comment":{"url":"https://api.github.com/repos/googlecast/CastCompanionLibrary-android/issues/comments/87081296","html_url":"https://github.com/googlecast/CastCompanionLibrary-android/issues/23#issuecomment-87081296","issue_url":"https://api.github.com/repos/googlecast/CastCompanionLibrary-android/issues/23","id":87081296,"user":{"login":"fanno","id":63506,"avatar_url":"https://avatars.githubusercontent.com/u/63506?v=3","gravatar_id":"","url":"https://api.github.com/users/fanno","html_url":"https://github.com/fanno","followers_url":"https://api.github.com/users/fanno/followers","following_url":"https://api.github.com/users/fanno/following{/other_user}","gists_url":"https://api.github.com/users/fanno/gists{/gist_id}","starred_url":"https://api.github.com/users/fanno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanno/subscriptions","organizations_url":"https://api.github.com/users/fanno/orgs","repos_url":"https://api.github.com/users/fanno/repos","events_url":"https://api.github.com/users/fanno/events{/privacy}","received_events_url":"https://api.github.com/users/fanno/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T20:36:23Z","updated_at":"2015-03-27T20:36:23Z","body":"Hello once again naddaf\r\n\r\nI got this ANR/crash from my app..\r\n\r\n```java\r\njava.lang.IllegalStateException: Not connected. Call connect() and wait for onConnected() to be called.\r\nat com.google.android.gms.common.internal.zzk.zzfc(Unknown Source)\r\nat com.google.android.gms.common.internal.zzk.zzjb(Unknown Source)\r\nat com.google.android.gms.internal.zzju.disconnect(Unknown Source)\r\nat com.google.android.gms.common.api.zzd.zzao(Unknown Source)\r\nat com.google.android.gms.common.api.zzd.disconnect(Unknown Source)\r\nat com.google.sample.castcompanionlibrary.cast.BaseCastManager.disconnectDevice(BaseCastManager.java:279)\r\nat com.google.sample.castcompanionlibrary.cast.BaseCastManager.onDeviceSelected(BaseCastManager.java:210)\r\nat com.google.sample.castcompanionlibrary.cast.CastMediaRouterCallback.onRouteUnselected(CastMediaRouterCallback.java:69)\r\nat android.support.v7.media.MediaRouter$GlobalMediaRouter$CallbackHandler.invokeCallback(MediaRouter.java:2480)\r\nat android.support.v7.media.MediaRouter$GlobalMediaRouter$CallbackHandler.handleMessage(MediaRouter.java:2427)\r\nat android.os.Handler.dispatchMessage(Handler.java:102)\r\nat android.os.Looper.loop(Looper.java:211)\r\nat android.app.ActivityThread.main(ActivityThread.java:5321)\r\nat java.lang.reflect.Method.invoke(Native Method)\r\nat java.lang.reflect.Method.invoke(Method.java:372)\r\nat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1016)\r\nat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)\r\n```\r\nThe stacks is not excactly identical so i do not know if the issues are the same? should i create new issue or are they related ?"}}