Fatal Exception: java.lang.IllegalArgumentException
Opened this issue · 10 comments
following error happend for my users, i can't reproduce this error, but crashlytics result is
Fatal Exception: java.lang.IllegalArgumentException Raw Text
--
| android.media.MediaMetadataRetriever.setDataSource (MediaMetadataRetriever.java:75)
| android.media.MediaMetadataRetriever.setDataSource (MediaMetadataRetriever.java:161)
| life.knowledge4.videotrimmer.view.TimeLineView$1.execute (TimeLineView.java:83)
| life.knowledge4.videotrimmer.utils.BackgroundExecutor$Task.run (BackgroundExecutor.java:210)
| java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:428)
| java.lang.Thread.run (Thread.java:761)
- k4l-video-trimmer version:
1.0.0
- Device OS version:
6.0.1
,7.1.1
,4.4.4
- Devide Manufacturer: Sony , HUAWEI , samsung
- Device Name: Xperia X , HUAWEI G7-L01 ,Galaxy J5(2016)
getting same issue.
Fatal Exception: java.lang.IllegalArgumentException
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:81)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:175)
at life.knowledge4.videotrimmer.view.TimeLineView$1.execute(TimeLineView.java:87)
at life.knowledge4.videotrimmer.utils.BackgroundExecutor$Task.run(BackgroundExecutor.java:212)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:762)
**
- # ISSUE IN SAMSUNG J7 OS 7.0
**
I am facing same issue. Is there any any workaround?
[FATAL EXCEPTION: pool-7-thread-1
java.lang.IllegalArgumentException
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:73)
at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:165)
at com.trimmer.view.TimeLineView$1.execute(TimeLineView.java:69)
at com.trimmer.utils.BackgroundExecutor$Task.run(BackgroundExecutor.java:201)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)](url)
Getting same issue but in motoG
Getting same issue !! Please help.
same issue in huawei please help
Doesn't Work no matter what!
is this issue solved by anyone?
I am also getting the same issue on Redmi 4 device only as per crashlytics. Please find the following details:
# OS Version: 7.1.2
# Device: Redmi 4
# RAM Free: 39%
# Disk Free: 26.1%
Please share your suggestion if anyone able to fix it.
It happen when file doesn't exist or has some problem
we can get error on OnTrimVideoListener.onError but because when view creating crash happened you can create and add view at RunTime with try/catch or edit and comment this line temporary.