Android app that lets you find downloadable videos as you browse the web. Allows queuing downloads. Also includes bookmarking and ad-blocking features for easier browsing experience.
GNU General Public License v2.0
148
stars
44
forks
source link
bug found in LM-videodownloader The application crashes when I try to rename any file during the download #49
The file name should be changed when I try to rename any file during the download
Actual behavior
The application crashes when I try to rename any file during the download
How to reproduce
1-Download the app and open it
2- Click on the YouTube icon so you will go to YouTube
3-Then apply any video or audio to download
4-Click the 3 verticals line on the top left
5- click on downloads
6- select the In Progress tab and click on the edit icon
7-and now click on ok button
8- see bug
E/AndroidRuntime(11523): FATAL EXCEPTION: main
E/AndroidRuntime(11523): Process: marabillas.loremar.lmvideodownloader, PID: 11523
E/AndroidRuntime(11523): java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
E/AndroidRuntime(11523): at java.util.ArrayList.get(ArrayList.java:310)
E/AndroidRuntime(11523): at marabillas.loremar.lmvideodownloader.download_feature.lists.DownloadQueues.renameItem(DownloadQueues.java:179)
E/AndroidRuntime(11523): at marabillas.loremar.lmvideodownloader.download_feature.fragments.DownloadsInProgress$DownloadItem$2$1.onOK(DownloadsInProgress.java:466)
E/AndroidRuntime(11523): at marabillas.loremar.lmvideodownloader.utils.RenameDialog.onClick(RenameDialog.java:56)
E/AndroidRuntime(11523): at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
E/AndroidRuntime(11523): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(11523): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(11523): at android.app.ActivityThread.main(ActivityThread.java:5910)
E/AndroidRuntime(11523): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(11523): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(11523): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
E/AndroidRuntime(11523): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
Project Information
Expected behavior
The file name should be changed when I try to rename any file during the download
Actual behavior
The application crashes when I try to rename any file during the download
How to reproduce
1-Download the app and open it 2- Click on the YouTube icon so you will go to YouTube 3-Then apply any video or audio to download 4-Click the 3 verticals line on the top left 5- click on downloads 6- select the In Progress tab and click on the edit icon 7-and now click on ok button 8- see bug
Recording Of The Bug
My Github Account
https://github.com/facebook-786
Logcat