capturemathan / VideoDownloader

Download your copy of Video Downloader here
https://play.google.com/store/apps/details?id=io.github.capturemathan.videodownloader
21 stars 11 forks source link

(BUG) found in VideoDownloader When I click on the download button in the Instagram, the application crashes #4

Closed saraji-ali closed 4 years ago

saraji-ali commented 5 years ago

Project Information

Expected behavior

When I click on the download button in Instagram, this message should be displayed (please enter the Instagram video link).

Actual behavior

When I click on the download button in Instagram, the application crashes

How to reproduce

1-Download the app and open it 2-Click the Instagram video 3- Click on the download button 4- see bug

Recording Of The Bug

20190523_034948

My Github Account

https://github.com/facebook-786

Logcat

D/AndroidRuntime( 9743): Shutting down VM

E/AndroidRuntime( 9743): FATAL EXCEPTION: main

E/AndroidRuntime( 9743): Process: com.allvideodownloader.socialmedia.videodownloader, PID: 9743

E/AndroidRuntime( 9743): java.lang.NullPointerException: uriString

E/AndroidRuntime( 9743):    at android.net.Uri$StringUri.(Uri.java:471)

E/AndroidRuntime( 9743):    at android.net.Uri$StringUri.(Uri.java:461)

E/AndroidRuntime( 9743):    at android.net.Uri.parse(Uri.java:433)

E/AndroidRuntime( 9743):    at com.allvideodownloader.socialmedia.videodownloader.DownloadActivity$Facebook$1.onClick(DownloadActivity.java:254)

E/AndroidRuntime( 9743):    at android.view.View.performClick(View.java:5076)

E/AndroidRuntime( 9743):    at android.view.View$PerformClick.run(View.java:20279)

E/AndroidRuntime( 9743):    at android.os.Handler.handleCallback(Handler.java:739)

E/AndroidRuntime( 9743):    at android.os.Handler.dispatchMessage(Handler.java:95)

E/AndroidRuntime( 9743):    at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime( 9743):    at android.app.ActivityThread.main(ActivityThread.java:5910)

E/AndroidRuntime( 9743):    at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime( 9743):    at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime( 9743):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)

E/AndroidRuntime( 9743):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)