9***@qq.com
9***@qq.com
  • 发布:2023-02-22 17:52
  • 更新:2023-02-22 18:16
  • 阅读:479

android 使用本地图片或视频资源。长时间待机会闪退

分类:uni-app

W ExifInterface: Invalid image: ExifInterface got an unsupported image format file(ExifInterface supports JPEG and some RAW image formats only) or a corrupted JPEG file to ExifInterface.
02-17 09:17:42.331 4642 4642 W ExifInterface: java.io.IOException: Invalid marker: 89
02-17 09:17:42.331 4642 4642 W ExifInterface: at android.media.ExifInterface.getJpegAttributes(ExifInterface.java:1850)
02-17 09:17:42.331 4642 4642 W ExifInterface: at android.media.ExifInterface.loadAttributes(ExifInterface.java:1477)
02-17 09:17:42.331 4642 4642 W ExifInterface: at android.media.ExifInterface.<init>(ExifInterface.java:1114)
02-17 09:17:42.331 4642 4642 W ExifInterface: at io.dcloud.js.file.FileFeatureImpl.a(Unknown Source)
02-17 09:17:42.331 4642 4642 W ExifInterface: at io.dcloud.js.file.FileFeatureImpl.execute(Unknown Source)
02-17 09:17:42.331 4642 4642 W ExifInterface: at io.dcloud.g.b.a(Unknown Source)
02-17 09:17:42.331 4642 4642 W ExifInterface: at io.dcloud.g.b.b(Unknown Source)
02-17 09:17:42.331 4642 4642 W ExifInterface: at io.dcloud.g.b.processEvent(Unknown Source)
02-17 09:17:42.331 4642 4642 W ExifInterface: at io.dcloud.e.c.c.dispatchEvent(Unknown Source)
02-17 09:17:42.331 4642 4642 W ExifInterface: at io.dcloud.common.core.ui.l.processEvent(Unknown Source)
02-17 09:17:42.331 4642 4642 W ExifInterface: at io.dcloud.common.core.ui.h.exec(Unknown Source)
02-17 09:17:42.331 4642 4642 W ExifInterface: at io.dcloud.common.core.ui.h$a.execute(Unknown Source)
02-17 09:17:42.331 4642 4642 W ExifInterface: at io.dcloud.common.adapter.util.MessageHandler$1.handleMessage(Unknown Source)
02-17 09:17:42.331 4642 4642 W ExifInterface: at android.os.Handler.dispatchMessage(Handler.java:102)
02-17 09:17:42.331 4642 4642 W ExifInterface: at android.os.Looper.loop(Looper.java:154)
02-17 09:17:42.331 4642 4642 W ExifInterface: at android.app.ActivityThread.main(ActivityThread.java:6119)
02-17 09:17:42.331 4642 4642 W ExifInterface: at java.lang.reflect.Method.invoke(Native Method)
02-17 09:17:42.331 4642 4642 W ExifInterface: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:982)
02-17 09:17:42.331 4642 4642 W ExifInterface: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:872)
02-17 09:17:42.335 4642 4642 W Bitmap : Called getRowBytes() on a recycle()'d bitmap! This is undefined behavior!
02-17 09:17:42.335 4642 4642 W Bitmap : Called getHeight() on a recycle()'d bitmap! This is undefined behavior!
02-17 09:17:43.488 4619 5240 I chatty : uid=1000(system) Timer-1 expire 57 lines
02-17 09:17:50.372 4642 4642 I ExifInterface_JNI: Raw image not detected
02-17 09:17:50.375 4642 4642 W ExifInterface: Invalid image: ExifInterface got an unsupported image format file(ExifInterface supports JPEG and some RAW image formats only) or a corrupted JPEG file to ExifInterface.
02-17 09:17:50.375 4642 4642 W ExifInterface: java.io.IOException: Invalid marker: 89
02-17 09:17:50.375 4642 4642 W ExifInterface: at android.media.ExifInterface.getJpegAttributes(ExifInterface.java:1850)
02-17 09:17:50.375 4642 4642 W ExifInterface: at android.media.ExifInterface.loadAttributes(ExifInterface.java:1477)
02-17 09:17:50.375 4642 4642 W ExifInterface: at android.media.ExifInterface.<init>(ExifInterface.java:1114)
02-17 09:17:50.375 4642 4642 W ExifInterface: at io.dcloud.js.file.FileFeatureImpl.a(Unknown Source)
02-17 09:17:50.375 4642 4642 W ExifInterface: at io.dcloud.js.file.FileFeatureImpl.execute(Unknown Source)
02-17 09:17:50.375 4642 4642 W ExifInterface: at io.dcloud.g.b.a(Unknown Source)
02-17 09:17:50.375 4642 4642 W ExifInterface: at io.dcloud.g.b.b(Unknown Source)
02-17 09:17:50.375 4642 4642 W ExifInterface: at io.dcloud.g.b.processEvent(Unknown Source)
02-17 09:17:50.375 4642 4642 W ExifInterface: at io.dcloud.e.c.c.dispatchEvent(Unknown Source)
02-17 09:17:50.375 4642 4642 W ExifInterface: at io.dcloud.common.core.ui.l.processEvent(Unknown Source)
02-17 09:17:50.375 4642 4642 W ExifInterface: at io.dcloud.common.core.ui.h.exec(Unknown Source)
02-17 09:17:50.375 4642 4642 W ExifInterface: at io.dcloud.common.core.ui.h$a.execute(Unknown Source)
02-17 09:17:50.375 4642 4642 W ExifInterface: at io.dcloud.common.adapter.util.MessageHandler$1.handleMessage(Unknown Source)
02-17 09:17:50.375 4642 4642 W ExifInterface: at android.os.Handler.dispatchMessage(Handler.java:102)
02-17 09:17:50.375 4642 4642 W ExifInterface: at android.os.Looper.loop(Looper.java:154)
02-17 09:17:50.375 4642 4642 W ExifInterface: at android.app.ActivityThread.main(ActivityThread.java:6119)
02-17 09:17:50.375 4642 4642 W ExifInterface: at java.lang.reflect.Method.invoke(Native Method)
02-17 09:17:50.375 4642 4642 W ExifInterface: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:982)
02-17 09:17:50.375 4642 4642 W ExifInterface: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:872)
02-17 09:17:50.379 4642 4642 W Bitmap : Called getRowBytes() on a recycle()'d bitmap! This is undefined behavior!
02-17 09:17:50.379 4642 4642 W Bitmap : Called getHeight() on a recycle()'d bitmap! This is undefined behavior!
02-17 09:18:00.011 4619 4619 I chatty : uid=1000(system) com.wits.witsservices expire 16 lines
02-17 09:18:14.472 4642 4642 I ExifInterface_JNI: Raw image not detected
02-17 09:18:14.474 4642 4642 W ExifInterface: Invalid image: ExifInterface got an unsupported image format file(ExifInterface supports JPEG and some RAW image formats only) or a corrupted JPEG file to ExifInterface.
02-17 09:18:14.474 4642 4642 W ExifInterface: java.io.IOException: Invalid marker: 89
02-17 09:18:14.474 4642 4642 W ExifInterface: at android.media.ExifInterface.getJpegAttributes(ExifInterface.java:1850)
02-17 09:18:14.474 4642 4642 W ExifInterface: at android.media.ExifInterface.loadAttributes(ExifInterface.java:1477)
02-17 09:18:14.474 4642 4642 W ExifInterface: at android.media.ExifInterface.<init>(ExifInterface.java:1114)
02-17 09:18:14.474 4642 4642 W ExifInterface: at io.dcloud.js.file.FileFeatureImpl.a(Unknown Source)
02-17 09:18:14.474 4642 4642 W ExifInterface: at io.dcloud.js.file.FileFeatureImpl.execute(Unknown Source)
02-17 09:18:14.474 4642 4642 W ExifInterface: at io.dcloud.g.b.a(Unknown Source)
02-17 09:18:14.474 4642 4642 W ExifInterface: at io.dcloud.g.b.b(Unknown Source)
02-17 09:18:14.474 4642 4642 W ExifInterface: at io.dcloud.g.b.processEvent(Unknown Source)
02-17 09:18:14.474 4642 4642 W ExifInterface: at io.dcloud.e.c.c.dispatchEvent(Unknown Source)
02-17 09:18:14.474 4642 4642 W ExifInterface: at io.dcloud.common.core.ui.l.processEvent(Unknown Source)
02-17 09:18:14.474 4642 4642 W ExifInterface: at io.dcloud.common.core.ui.h.exec(Unknown Source)
02-17 09:18:14.474 4642 4642 W ExifInterface: at io.dcloud.common.core.ui.h$a.execute(Unknown Source)
02-17 09:18:14.474 4642 4642 W ExifInterface: at io.dcloud.common.adapter.util.MessageHandler$1.handleMessage(Unknown Source)
02-17 09:18:14.474 4642 4642 W ExifInterface: at android.os.Handler.dispatchMessage(Handler.java:102)
02-17 09:18:14.474 4642 4642 W ExifInterface: at android.os.Looper.loop(Looper.java:154)
02-17 09:18:14.474 4642 4642 W ExifInterface: at android.app.ActivityThread.main(ActivityThread.java:6119)
02-17 09:18:14.474 4642 4642 W ExifInterface: at java.lang.reflect.Method.invoke(Native Method)
02-17 09:18:14.474 4642 4642 W ExifInterface: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:982)
02-17 09:18:14.474 4642 4642 W ExifInterface: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:872)
02-17 09:18:14.478 4642 4642 W Bitmap : Called getRowBytes() on a recycle()'d bitmap! This is undefined behavior!
02-17 09:18:14.478 4642 4642 W Bitmap : Called getHeight() on a recycle()'d bitmap! This is undefined behavior!
02-17 09:18:22.522 4642 4642 I ExifInterface_JNI: Raw image not detected
02-17 09:18:22.524 4642 4642 W ExifInterface: Invalid image: ExifInterface got an unsupported image format file(ExifInterface supports JPEG and some RAW image formats only) or a corrupted JPEG file to ExifInterface.
02-17 09:18:22.524 4642 4642 W ExifInterface: java.io.IOException: Invalid marker: 89
02-17 09:18:22.524 4642 4642 W ExifInterface: at android.media.ExifInterface.getJpegAttributes(ExifInterface.java:1850)
02-17 09:18:22.524 4642 4642 W ExifInterface: at android.media.ExifInterface.loadAttributes(ExifInterface.java:1477)
02-17 09:18:22.524 4642 4642 W ExifInterface: at android.media.ExifInterface.<init>(ExifInterface.java:1114)
02-17 09:18:22.524 4642 4642 W ExifInterface: at io.dcloud.js.file.FileFeatureImpl.a(Unknown Source)
02-17 09:18:22.524 4642 4642 W ExifInterface: at io.dcloud.js.file.FileFeatureImpl.execute(Unknown Source)
02-17 09:18:22.524 4642 4642 W ExifInterface: at io.dcloud.g.b.a(Unknown Source)
02-17 09:18:22.524 4642 4642 W ExifInterface: at io.dcloud.g.b.b(Unknown Source)
02-17 09:18:22.524 4642 4642 W ExifInterface: at io.dcloud.g.b.processEvent(Unknown Source)
02-17 09:18:22.524 4642 4642 W ExifInterface: at io.dcloud.e.c.c.dispatchEvent(Unknown Source)
02-17 09:18:22.524 4642 4642 W ExifInterface: at io.dcloud.common.core.ui.l.processEvent(Unknown Source)
02-17 09:18:22.524 4642 4642 W ExifInterface: at io.dcloud.common.core.ui.h.exec(Unknown Source)
02-17 09:18:22.524 4642 4642 W ExifInterface: at io.dcloud.common.core.ui.h$a.execute(Unknown Source)
02-17 09:18:22.524 4642 4642 W ExifInterface: at io.dcloud.common.adapter.util.MessageHandler$1.handleMessage(Unknown Source)
02-17 09:18:22.524 4642 4642 W ExifInterface: at android.os.Handler.dispatchMessage(Handler.java:102)
02-17 09:18:22.524 4642 4642 W ExifInterface: at android.os.Looper.loop(Looper.java:154)
02-17 09:18:22.524 4642 4642 W ExifInterface: at android.app.ActivityThread.main(ActivityThread.java:6119)
02-17 09:18:22.524 4642 4642 W ExifInterface: at java.lang.reflect.Method.invoke(Native Method)
02-17 09:18:22.524 4642 4642 W ExifInterface: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:982)
02-17 09:18:22.524 4642 4642 W ExifInterface: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:872)

2023-02-22 17:52 负责人:无 分享
已邀请:
FullStack

FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866

无效图像:ExifInterface获取了不受支持的图像格式文件(ExifInterfaces仅支持JPEG和某些RAW图像格式)或损坏的JPEG文件。

  • 9***@qq.com (作者)

    你好,请问,这个是image组件报的这个错误嘛?还是cover-image呢?我页面上用上这两个,有.jpg ,png。

    不知道具体是哪个造成的

    2023-02-22 18:27

  • 9***@qq.com (作者)

    界面上正常显示,但是抓取日志就一直报这个错误。长时间报错会不会造成突发性的闪退呢。

    2023-02-22 18:44

要回复问题请先登录注册