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

[ VideoDownloader][v1.3 ]The app crashes if I click on "WhatsApp Story Saver" #1

Closed 44asad closed 4 years ago

44asad commented 5 years ago

Expected behavior

I expected that the app would not crash when I click on WhatsApp Story saver.I believe the users should be able to press the WhatsApp story saver during that encryption process.

Actual behavior:

The application is crash when I click WhatsApp Story Saver.

How to reproduce:

Information

https://youtu.be/iMx1cEMmZio

Logcat:

05-19 03:45:00.501  5461  5461 E AndroidRuntime: FATAL EXCEPTION: main
05-19 03:45:00.501  5461  5461 E AndroidRuntime: Process: com.allvideodownloader.socialmedia.videodownloader, PID: 5461
05-19 03:45:00.501  5461  5461 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.allvideodownloader.socialmedia.videodownloader/com.allvideodownloader.socialmedia.videodownloader.WhatsApp}: java.lang.NullPointerException: Attempt to read from null array
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3256)
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3352)
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   at android.app.ActivityThread.access$1100(ActivityThread.java:223)
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1797)
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   at android.os.Handler.dispatchMessage(Handler.java:102)
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   at android.os.Looper.loop(Looper.java:158)
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   at android.app.ActivityThread.main(ActivityThread.java:7231)
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   at java.lang.reflect.Method.invoke(Native Method)
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
05-19 03:45:00.501  5461  5461 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to read from null array
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   at com.allvideodownloader.socialmedia.videodownloader.WhatsApp.onCreate(WhatsApp.java:44)
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   at android.app.Activity.performCreate(Activity.java:6877)
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3209)
05-19 03:45:00.501  5461  5461 E AndroidRuntime:   ... 9 more
44asad commented 5 years ago

@capturemathan sir.

capturemathan commented 5 years ago

I'll check the same , thanks for the report !