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

Ocassional crash on copy to clipboard on Android 4.3 #5

Closed
phw opened this issue Aug 26, 2013 · 1 comment
Closed

Ocassional crash on copy to clipboard on Android 4.3 #5

phw opened this issue Aug 26, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@phw
Copy link
Owner

phw commented Aug 26, 2013

There are occasional crashes on Android 4.3 when copying the password to the clipboard. Seems to be related to this bug:

https://code.google.com/p/android/issues/detail?id=58043

It is an Android bug, but I'll implement a workaround.

Stacktrace:

java.lang.IllegalStateException: beginBroadcast() called while already in a broadcast
at android.os.Parcel.readException(Parcel.java:1439)
at android.os.Parcel.readException(Parcel.java:1385)
at android.content.IClipboard$Stub$Proxy.setPrimaryClip(IClipboard.java:171)
at android.content.ClipboardManager.setPrimaryClip(ClipboardManager.java:125)
at android.content.ClipboardManager.setText(ClipboardManager.java:208)
at com.uploadedlobster.PwdHash.activities.PwdHashApp.copyToClipboard(PwdHashApp.java:261)
at com.uploadedlobster.PwdHash.activities.PwdHashApp$4.onClick(PwdHashApp.java:218)
at android.view.View.performClick(View.java:4240)
at android.view.View$PerformClick.run(View.java:17721)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
@phw
Copy link
Owner Author

phw commented Sep 1, 2013

Fixed in 72b677e (which referenced the wrong issue).

@phw phw closed this as completed Sep 1, 2013
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

1 participant