热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

android又拍云视频分块上传关于文件不存在

情形1:

情形 1:



android.system.ErrnoException
open failed: ENOENT (No such file or directory)
解析原始
1 java.lang.RuntimeException:file not found
2 com.upyun.library.utils.UpYunUtils.java.lang.String md5Hex(java.io.File)(SourceFile:98)
3 ......
4 android.system.ErrnoException:open failed: ENOENT (No such file or directory)
5 libcore.io.Posix.open(Native Method)
6 libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
7 libcore.io.IoBridge.open(IoBridge.java:438)
8 java.io.FileInputStream.(FileInputStream.java:76)
9 com.upyun.library.utils.UpYunUtils.java.lang.String md5Hex(java.io.File)(SourceFile:84)
10 com.upyun.library.common.BlockUploader.void run()(SourceFile:68)
11 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
12 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
13 java.lang.Thread.run(Thread.java:818)

情形2:



java.lang.RuntimeException:file not found
2 com.upyun.library.utils.UpYunUtils.java.lang.String md5Hex(java.io.File)(SourceFile:98)
3 ......
4 java.io.FileNotFoundException:/storage/emulated/0/bluetooth/19979郑阳阳-邢欣欣-4.20.mp4 (No such file or directory)
5 java.io.FileInputStream.open(Native Method)
6 java.io.FileInputStream.(FileInputStream.java:146)
7 com.upyun.library.utils.UpYunUtils.java.lang.String md5Hex(java.io.File)(SourceFile:84)
8 com.upyun.library.common.BlockUploader.void run()(SourceFile:68)
9 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
10 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
11 java.lang.Thread.run(Thread.java:776)

情形3:

java.lang.NullPointerException
input == null
解析原始
1 java.security.MessageDigest.update(MessageDigest.java:221)
2 java.security.MessageDigest.digest(MessageDigest.java:277)
3 com.upyun.library.utils.UpYunUtils.java.lang.String md5(byte[])(SourceFile:52)
4 com.upyun.library.common.BlockUploader.void blockUpload(int)(SourceFile:107)
5 com.upyun.library.common.BlockUploader.void initRequest()(SourceFile:178)
6 com.upyun.library.common.BlockUploader.void run()(SourceFile:88)
7 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
8 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
9 java.lang.Thread.run(Thread.java:818)


   



推荐阅读
author-avatar
三面D夏娃所_729
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有