danikula / danikula/AndroidVideoCache

android 4.4.2 log HttpProxyCacheServer can't run.

未关闭
#149 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
5.5k
派生
1.2k
PR 合并指标
30 天内没有已合并 PR

描述

```E/HttpProxyCacheServer(12152): HttpProxyCacheServer error
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): com.danikula.videocache.ProxyCacheException: Error processing request. Version: 2.7.0
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:241)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at java.lang.Thread.run(Thread.java:841)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): Caused by: com.danikula.videocache.ProxyCacheException: Error using file /storage/emulated/0/Android/data/com.zhuomogroup.ylyk/cache/video-cache/d807f4345139053b1517df0a639f3efc as disc cache. Version: 2.7.0
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at com.danikula.videocache.file.FileCache.(FileCache.java:39)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): ... 7 more
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): Caused by: java.io.IOException: Directory /storage/emulated/0/Android/data/com.zhuomogroup.ylyk/cache/video-cache can't be created
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at com.danikula.videocache.file.Files.makeDir(Files.java:33)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): at com.danikula.videocache.file.FileCache.(FileCache.java:34)
05-27 14:54:54.835 E/HttpProxyCacheServer(12152): ... 11 more
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): HttpProxyCacheServer error
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): com.danikula.videocache.ProxyCacheException: Error processing request. Version: 2.7.0
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:241)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at java.lang.Thread.run(Thread.java:841)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): Caused by: com.danikula.videocache.ProxyCacheException: Error using file /storage/emulated/0/Android/data/com.zhuomogroup.ylyk/cache/video-cache/d807f4345139053b1517df0a639f3efc as disc cache. Version: 2.7.0
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at com.danikula.videocache.file.FileCache.(FileCache.java:39)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at com.danikula.videocache.HttpProxyCacheServerClients.newHttpProxyCache(HttpProxyCacheServerClients.java:83)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at com.danikula.videocache.HttpProxyCacheServerClients.startProcessRequest(HttpProxyCacheServerClients.java:49)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:39)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:234)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): ... 7 more
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): Caused by: java.io.IOException: Directory /storage/emulated/0/Android/data/com.zhuomogroup.ylyk/cache/video-cache can't be created
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at com.danikula.videocache.file.Files.makeDir(Files.java:33)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): at com.danikula.videocache.file.FileCache.(FileCache.java:34)
05-27 14:54:54.845 E/HttpProxyCacheServer(12152): ... 11 more
```

Read and write access has given

贡献指南

这个仓库没有索引到贡献指南

调研方向

使用报告中的日志重现 Android 4.4.2 的失败,并检查 Files.java:33 处的 Files.makeDir,然后跟踪其从 FileCache.java:34 和 :39 发起的调用。比较请求的缓存路径与所述的读/写权限;完成的标准是识别并验证目录创建的修复,同时不改变报告中的缓存行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, java
领域
mobile-dev
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。