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

FC on Quit after Pause #21

Open
GoogleCodeExporter opened this issue Mar 28, 2016 · 0 comments
Open

FC on Quit after Pause #21

GoogleCodeExporter opened this issue Mar 28, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Open Menu
2. Click on "Pause"
3. Open Menu
4. Click on "Quit"

What is the expected output? Exit 
What do you see instead? Force Close

What version of the product are you using? 1.4.1
On what device and what operating system version? Android 4.1.2

Following stack trace:

E/AndroidRuntime(  585): FATAL EXCEPTION: main
E/AndroidRuntime(  585): java.lang.IllegalArgumentException: Unbinding Service 
name.bagi.levente.pedometer.Pedometer$3@40fc6f38 that was already unbound
E/AndroidRuntime(  585):    at 
android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:908)
E/AndroidRuntime(  585):    at 
android.app.ContextImpl.unbindService(ContextImpl.java:1221)
E/AndroidRuntime(  585):    at 
android.content.ContextWrapper.unbindService(ContextWrapper.java:405)
E/AndroidRuntime(  585):    at 
name.bagi.levente.pedometer.Pedometer.unbindStepService(Pedometer.java:272)
E/AndroidRuntime(  585):    at 
name.bagi.levente.pedometer.Pedometer.onOptionsItemSelected(Pedometer.java:357)
E/AndroidRuntime(  585):    at 
android.app.Activity.onMenuItemSelected(Activity.java:2534)
E/AndroidRuntime(  585):    at 
com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java
:958)
E/AndroidRuntime(  585):    at 
com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.
java:735)
E/AndroidRuntime(  585):    at 
com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:149)
E/AndroidRuntime(  585):    at 
com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:87
4)
E/AndroidRuntime(  585):    at 
com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java:468)
E/AndroidRuntime(  585):    at 
com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.ja
va:126)
E/AndroidRuntime(  585):    at android.view.View$PerformClick.run(View.java:16966)
E/AndroidRuntime(  585):    at android.os.Handler.handleCallback(Handler.java:615)
E/AndroidRuntime(  585):    at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(  585):    at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(  585):    at 
android.app.ActivityThread.main(ActivityThread.java:4745)
E/AndroidRuntime(  585):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(  585):    at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(  585):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime(  585):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime(  585):    at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(  585): Caused by: java.lang.IllegalArgumentException: 
Originally unbound here:
E/AndroidRuntime(  585):    at 
android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:895)
E/AndroidRuntime(  585):    at 
android.app.ContextImpl.unbindService(ContextImpl.java:1221)
E/AndroidRuntime(  585):    at 
android.content.ContextWrapper.unbindService(ContextWrapper.java:405)
E/AndroidRuntime(  585):    at 
name.bagi.levente.pedometer.Pedometer.unbindStepService(Pedometer.java:272)
E/AndroidRuntime(  585):    at 
name.bagi.levente.pedometer.Pedometer.onOptionsItemSelected(Pedometer.java:345)
E/AndroidRuntime(  585):    ... 17 more
W/ActivityManager(  149):   Force finishing activity 
name.bagi.levente.pedometer/.Pedometer


Original issue reported on code.google.com by inkubo3@gmail.com on 2 Feb 2015 at 7:40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant