ucnv_open失败:U_FILE_ACCESS_ERROR

时间:2018-12-07 09:56:54

标签: android crash uri crashlytics runtimeexception

在我的Android应用上,我正在获取Crashlytics报告,如下所示:

java.lang.RuntimeException: ucnv_open failed: U_FILE_ACCESS_ERROR
   at libcore.icu.NativeConverter.openConverter(NativeConverter.java)
   at java.nio.charset.CharsetDecoderICU.newInstance(CharsetDecoderICU.java:55)
   at java.nio.charset.CharsetICU.newDecoder(CharsetICU.java:23)
   at libcore.net.UriCodec.appendDecoded(UriCodec.java:289)
   at libcore.net.UriCodec.decode(UriCodec.java:274)
   at android.net.Uri.getQueryParameter(Uri.java:1713)

或者这个:

java.lang.RuntimeException: ucnv_open failed: U_FILE_ACCESS_ERROR
   at libcore.icu.NativeConverter.openConverter(NativeConverter.java)
   at java.nio.charset.CharsetDecoderICU.newInstance(CharsetDecoderICU.java:55)
   at java.nio.charset.CharsetICU.newDecoder(CharsetICU.java:23)
   at libcore.net.UriCodec.appendDecoded(UriCodec.java:289)
   at libcore.net.UriCodec.decode(UriCodec.java:274)
   at android.net.Uri.decode(Uri.java:1946)
   at android.net.Uri$PathPart.getPathSegments(Uri.java:2162)
   at android.net.Uri$HierarchicalUri.getPathSegments(Uri.java:1275)
   at android.content.UriMatcher.match(UriMatcher.java:219)

我正在处理的URI的格式绝对正确,并且我对相关代码未做任何更改,但是我只是在最近才开始接收此类报告,而该应用程序已经投入生产了。超过一年。

有什么办法可以避免这种错误,或者至少要更多地了解其原因?

0 个答案:

没有答案