wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.94k stars 1.31k forks source link

RuntimeException: java.lang.reflect.InvocationTargetException #20353

Open sentry-io[bot] opened 4 months ago

sentry-io[bot] commented 4 months ago

Sentry Issue: JETPACK-ANDROID-K0Z

URISyntaxException: Illegal character in path at index 52: file:///data/user/0/com.jetpack.android/cache/images (68)5698891375768045329.
    at java.net.URI$Parser.fail(URI.java:2893)
    at java.net.URI$Parser.checkChars(URI.java:3066)
    at java.net.URI$Parser.parseHierarchical(URI.java:3150)
    at java.net.URI$Parser.parse(URI.java:3098)
    at java.net.URI.<init>(URI.java:584)
...
(27 additional frame(s) were not displayed)

InvocationTargetException: None
    at java.lang.reflect.Method.invoke(Method.java)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)

RuntimeException: java.lang.reflect.InvocationTargetException
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:642)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
dangermattic commented 4 months ago

Thanks for reporting! 👍

thomashorta commented 4 months ago

The file name in our cache directory has a name with invalid characters. The crash seems to have happened in EditImageActivity.