Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TVSearchActivity issue with SpeechRecognizer service #154

Open
aldoborrero opened this issue Mar 29, 2017 · 0 comments
Open

TVSearchActivity issue with SpeechRecognizer service #154

aldoborrero opened this issue Mar 29, 2017 · 0 comments
Labels
Milestone

Comments

@aldoborrero
Copy link
Member

I leave here the stacktrace. It popped randomly.

03-28 20:09:09.534 12151-12151/butter.droid.tv.dev E/AndroidRuntime: FATAL EXCEPTION: main
                                                                     Process: butter.droid.tv.dev, PID: 12151
                                                                     java.lang.RuntimeException: Unable to pause activity {butter.droid.tv.dev/butter.droid.tv.ui.search.TVSearchActivity}: java.lang.IllegalArgumentException: Service not registered: android.speech.SpeechRecognizer$Connection@456abc9
                                                                         at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:3722)
                                                                         at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3688)
                                                                         at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3662)
                                                                         at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3636)
                                                                         at android.app.ActivityThread.-wrap16(ActivityThread.java)
                                                                         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1481)
                                                                         at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                         at android.os.Looper.loop(Looper.java:154)
                                                                         at android.app.ActivityThread.main(ActivityThread.java:6077)
                                                                         at java.lang.reflect.Method.invoke(Native Method)
                                                                         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
                                                                         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
                                                                      Caused by: java.lang.IllegalArgumentException: Service not registered: android.speech.SpeechRecognizer$Connection@456abc9
                                                                         at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1289)
                                                                         at android.app.ContextImpl.unbindService(ContextImpl.java:1511)
                                                                         at android.content.ContextWrapper.unbindService(ContextWrapper.java:648)
                                                                         at android.speech.SpeechRecognizer.destroy(SpeechRecognizer.java:408)
                                                                         at android.support.v17.leanback.app.SearchFragment.releaseRecognizer(SearchFragment.java:433)
                                                                         at android.support.v17.leanback.app.SearchFragment.onPause(SearchFragment.java:409)
                                                                         at android.app.Fragment.performPause(Fragment.java:2529)
                                                                         at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1043)
                                                                         at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1171)
                                                                         at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1153)
                                                                         at android.app.FragmentManagerImpl.dispatchPause(FragmentManager.java:2053)
                                                                         at android.app.FragmentController.dispatchPause(FragmentController.java:209)
                                                                         at android.app.Activity.performPause(Activity.java:6802)
                                                                         at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1322)
                                                                         at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:3711)
                                                                         at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3688) 
                                                                         at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3662) 
                                                                         at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3636) 
                                                                         at android.app.ActivityThread.-wrap16(ActivityThread.java) 
                                                                         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1481) 
                                                                         at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                         at android.os.Looper.loop(Looper.java:154) 
                                                                         at android.app.ActivityThread.main(ActivityThread.java:6077) 
                                                                         at java.lang.reflect.Method.invoke(Native Method) 
                                                                         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865) 
                                                                         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755) 
@blazsolar blazsolar added the bug label Mar 29, 2017
@blazsolar blazsolar added this to the 0.9.0 milestone Mar 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants