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

crashes when trying to share bug report in F-Droid_Build_Status #72

Open
mnalis opened this issue Nov 8, 2022 · 0 comments
Open

crashes when trying to share bug report in F-Droid_Build_Status #72

mnalis opened this issue Nov 8, 2022 · 0 comments

Comments

@mnalis
Copy link

mnalis commented Nov 8, 2022

Trying to share and selecting shareviahttpcauses shareviahttp to crash with following logcat:

FATAL EXCEPTION: main
Process: com.MarcosDiez.shareviahttp, PID: 28113
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.MarcosDiez.shareviahttp/com.MarcosDiez.shareviahttp.activities.SendFileActivity}: java.lang.ClassCastException: android.text.SpannableString cannot be cast to java.lang.String
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4060)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4247)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2613)
	at android.os.Handler.dispatchMessage(Handler.java:110)
	at android.os.Looper.loop(Looper.java:219)
	at android.app.ActivityThread.main(ActivityThread.java:8668)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
Caused by: java.lang.ClassCastException: android.text.SpannableString cannot be cast to java.lang.String
	at com.MarcosDiez.shareviahttp.activities.SendFileActivity.getFileUris(SendFileActivity.java:137)
	at com.MarcosDiez.shareviahttp.activities.SendFileActivity.onCreate(SendFileActivity.java:57)
	at android.app.Activity.performCreate(Activity.java:8214)
	at android.app.Activity.performCreate(Activity.java:8202)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1320)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4033)
	... 11 more

(found via https://codeberg.org/pstorch/F-Droid_Build_Status/issues/120)

possible duplicate of #17 ?

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

No branches or pull requests

1 participant