danikula / danikula/AndroidVideoCache
android 4.4.2 log HttpProxyCacheServer can't run.
- Langage dominant
- Java
- Étoiles
- 5.5k
- Forks
- 1.2k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
```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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Reproduce the Android 4.4.2 failure using the reported log and inspect Files.makeDir at Files.java:33, then trace its call from FileCache.java:34 and :39. Compare the requested cache path and the stated read/write permissions; done means identifying and verifying a fix for directory creation without changing the reported cache behavior.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- android, java
- Domaine
- mobile-dev
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 20/100