#### Project Information
* Repository--------------------: [Here](https://github.com/AnonymusRaccoon/Opus)
* Project Name-----------------:[Opus](https://github.com/AnonymusRaccoon/Opus/releases)
* Publisher----------------------:[Anonymus Raccoon](https://github.com/AnonymusRaccoon)
* My GitHub account-------- [Here](https://github.com/XAMIR555)
* GitHub issue-----------------: [Here](https://github.com/AnonymusRaccoon/Opus/issues/15)
#### The PO has acknowledged the bug
> @AnonymusRaccoon added bug Fixed (I Think) labels 2 days ago
#### Expected behavior
I was expecting that when I click the SHUFFLE ALL option, the application should not crash.
#### Actual behavior
The application [ Opus version3.3.4 ] crashes when I click the SHUFFLE ALL option
#### How to reproduce
* [Download ](https://github.com/AnonymusRaccoon/Opus/releases)the latest version 3.3.4 of the application
* Open the application
* Click SHUFFLE ALL option
* Note the Bug
* Browser/App version-: 3.3.4
* Operating system----: 8.0.0
#### Recording Of The Bug

# Logcat
<pre><code>04-30 14:17:49.503 24023 24023 E AndroidRuntime: FATAL EXCEPTION: main
04-30 14:17:49.503 24023 24023 E AndroidRuntime: Process: com.sdg.opus, PID: 24023
04-30 14:17:49.503 24023 24023 E AndroidRuntime: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/audio/media from pid=24023, uid=10231 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
04-30 14:17:49.503 24023 24023 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1954)
04-30 14:17:49.503 24023 24023 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
04-30 14:17:49.503 24023 24023 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
04-30 14:17:49.503 24023 24023 E AndroidRuntime: at android.content.ContentProviderProxy.query(ContentProviderNative.java:418)
04-30 14:17:49.503 24023 24023 E AndroidRuntime: at android.content.ContentResolver.query(ContentResolver.java:766)
04-30 14:17:49.503 24023 24023 E AndroidRuntime: at android.content.ContentResolver.query(ContentResolver.java:716)
04-30 14:17:49.503 24023 24023 E AndroidRuntime: at android.support.v4.content.ContentResolverCompat.query(ContentResolverCompat.java:81)
04-30 14:17:49.503 24023 24023 E AndroidRuntime: at android.support.v4.content.CursorLoader.loadInBackground(CursorLoader.java:63)
04-30 14:18:40.708 24095 24095 E AndroidRuntime: FATAL EXCEPTION: main
04-30 14:18:40.708 24095 24095 E AndroidRuntime: Process: com.sdg.opus, PID: 24095
04-30 14:18:40.708 24095 24095 E AndroidRuntime: android.runtime.JavaProxyThrowable: System.Net.WebException: Error: NameResolutionFailure
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at System.Net.WebConnection+<Connect>d__16.MoveNext () [0x00044] in <a32640d409ca4fbd8dc95f2503a1fe08>:0
04-30 14:18:40.708 24095 24095 E AndroidRuntime: --- End of stack trace from previous location where exception was thrown ---
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at System.Net.WebConnection+<InitConnection>d__19.MoveNext () [0x000cc] in <a32640d409ca4fbd8dc95f2503a1fe08>:0
04-30 14:18:40.708 24095 24095 E AndroidRuntime: --- End of stack trace from previous location where exception was thrown ---
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at System.Net.WebOperation+<Run>d__57.MoveNext () [0x0009a] in <a32640d409ca4fbd8dc95f2503a1fe08>:0
04-30 14:18:40.708 24095 24095 E AndroidRuntime: --- End of stack trace from previous location where exception was thrown ---
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at System.Net.WebCompletionSource`1+<WaitForCompletion>d__15[T].MoveNext () [0x00094] in <a32640d409ca4fbd8dc95f2503a1fe08>:0
04-30 14:18:40.708 24095 24095 E AndroidRuntime: --- End of stack trace from previous location where exception was thrown ---
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at System.Net.HttpWebRequest+<RunWithTimeoutWorker>d__241`1[T].MoveNext () [0x000f8] in <a32640d409ca4fbd8dc95f2503a1fe08>:0
04-30 14:18:40.708 24095 24095 E AndroidRuntime: --- End of stack trace from previous location where exception was thrown ---
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00020] in <a32640d409ca4fbd8dc95f2503a1fe08>:0
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request, System.IAsyncResult result) [0x00000] in <a32640d409ca4fbd8dc95f2503a1fe08>:0
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at System.Net.WebClient+<GetWebResponseTaskAsync>d__112.MoveNext () [0x0008d] in <a32640d409ca4fbd8dc95f2503a1fe08>:0
04-30 14:18:40.708 24095 24095 E AndroidRuntime: --- End of stack trace from previous location where exception was thrown ---
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at System.Net.WebClient+<DownloadBitsAsync>d__150.MoveNext () [0x0008d] in <a32640d409ca4fbd8dc95f2503a1fe08>:0
04-30 14:18:40.708 24095 24095 E AndroidRuntime: --- End of stack trace from previous location where exception was thrown ---
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at Opus.MainActivity+<CheckForUpdate>d__64.MoveNext () [0x00267] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:18:40.708 24095 24095 E AndroidRuntime: --- End of stack trace from previous location where exception was thrown ---
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_0 (System.Object state) [0x00000] in <aa661a810ef84fd08a8767548de0c6e5>:0
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at Android.App.SyncContext+<>c__DisplayClass2_0.<Post>b__0 () [0x00000] in <dacf4e3ba6644195989b4b0b5d184907>:0
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in <dacf4e3ba6644195989b4b0b5d184907>:0
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in <dacf4e3ba6644195989b4b0b5d184907>:0
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at (wrapper dynamic-method) System.Object.75(intptr,intptr)
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at mono.java.lang.RunnableImplementor.n_run(Native Method)
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:30)
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:808)
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:101)
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at android.os.Looper.loop(Looper.java:166)
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7529)
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
04-30 14:18:40.708 24095 24095 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
04-30 14:20:32.316 24507 24507 E AndroidRuntime: FATAL EXCEPTION: main
04-30 14:20:32.316 24507 24507 E AndroidRuntime: Process: com.sdg.opus, PID: 24507
04-30 14:20:32.316 24507 24507 E AndroidRuntime: android.runtime.JavaProxyThrowable: TagLib.UnsupportedFormatException: /storage/emulated/0/WhatsApp/Media/WhatsApp Audio/AUD-20190419-WA0032.amr (taglib/amr)
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at TagLib.File.Create (TagLib.File+IFileAbstraction abstraction, System.String mimetype, TagLib.ReadStyle propertiesStyle) [0x000d8] in <452838627c6e474caadab381bdbea13c>:0
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at TagLib.File.Create (TagLib.File+IFileAbstraction abstraction) [0x00000] in <452838627c6e474caadab381bdbea13c>:0
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at Opus.Api.LocalManager.GetYtID (System.String path) [0x00012] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at Opus.Api.LocalManager.CompleteItem (Opus.DataStructure.Song item) [0x00008] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at Opus.Fragments.Browse.More (Opus.DataStructure.Song item) [0x0000e] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at Opus.Adapter.BrowseAdapter+<>c__DisplayClass8_0.<OnBindViewHolder>b__0 (System.Object sender, System.EventArgs e) [0x00022] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at Android.Views.View+IOnClickListenerImplementor.OnClick (Android.Views.View v) [0x00011] in <dacf4e3ba6644195989b4b0b5d184907>:0
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at Android.Views.View+IOnClickListenerInvoker.n_OnClick_Landroid_view_View_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_v) [0x00011] in <dacf4e3ba6644195989b4b0b5d184907>:0
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at (wrapper dynamic-method) System.Object.60(intptr,intptr,intptr)
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at mono.android.view.View_OnClickListenerImplementor.n_onClick(Native Method)
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at mono.android.view.View_OnClickListenerImplementor.onClick(View_OnClickListenerImplementor.java:30)
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at android.view.View.performClick(View.java:6291)
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:24931)
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:808)
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:101)
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at android.os.Looper.loop(Looper.java:166)
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7529)
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
04-30 14:20:32.316 24507 24507 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
04-30 14:20:35.143 24827 24827 E AndroidRuntime: FATAL EXCEPTION: main
04-30 14:20:35.143 24827 24827 E AndroidRuntime: Process: com.sdg.opus, PID: 24827
04-30 14:20:35.143 24827 24827 E AndroidRuntime: android.runtime.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object
04-30 14:20:35.143 24827 24827 E AndroidRuntime: at Opus.Api.Services.Sleeper.OnStartCommand (Android.Content.Intent intent, Android.App.StartCommandFlags flags, System.Int32 startId) [0x00001] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:20:35.143 24827 24827 E AndroidRuntime: at Android.App.Service.n_OnStartCommand_Landroid_content_Intent_II (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_intent, System.Int32 native_flags, System.Int32 startId) [0x00013] in <dacf4e3ba6644195989b4b0b5d184907>:0
04-30 14:20:35.143 24827 24827 E AndroidRuntime: at (wrapper dynamic-method) System.Object.5(intptr,intptr,intptr,int,int)
04-30 14:20:35.143 24827 24827 E AndroidRuntime: at md59b53900cce68be8ed26b2b325b394a25.Sleeper.n_onStartCommand(Native Method)
04-30 14:20:35.143 24827 24827 E AndroidRuntime: at md59b53900cce68be8ed26b2b325b394a25.Sleeper.onStartCommand(Sleeper.java:47)
04-30 14:20:35.143 24827 24827 E AndroidRuntime: at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4151)
04-30 14:20:35.143 24827 24827 E AndroidRuntime: at android.app.ActivityThread.-wrap21(Unknown Source:0)
04-30 14:20:35.143 24827 24827 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2119)
04-30 14:20:35.143 24827 24827 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:108)
04-30 14:20:35.143 24827 24827 E AndroidRuntime: at android.os.Looper.loop(Looper.java:166)
04-30 14:20:35.143 24827 24827 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7529)
04-30 14:20:35.143 24827 24827 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-30 14:20:35.143 24827 24827 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
04-30 14:20:35.143 24827 24827 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
04-30 14:21:33.920 24873 24873 E AndroidRuntime: FATAL EXCEPTION: main
04-30 14:21:33.920 24873 24873 E AndroidRuntime: Process: com.sdg.opus, PID: 24873
04-30 14:21:33.920 24873 24873 E AndroidRuntime: android.runtime.JavaProxyThrowable: TagLib.UnsupportedFormatException: /storage/emulated/0/WhatsApp/Media/WhatsApp Audio/AUD-20190419-WA0032.amr (taglib/amr)
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at TagLib.File.Create (TagLib.File+IFileAbstraction abstraction, System.String mimetype, TagLib.ReadStyle propertiesStyle) [0x000d8] in <452838627c6e474caadab381bdbea13c>:0
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at TagLib.File.Create (TagLib.File+IFileAbstraction abstraction) [0x00000] in <452838627c6e474caadab381bdbea13c>:0
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at Opus.Api.LocalManager.GetYtID (System.String path) [0x00012] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at Opus.Api.LocalManager.CompleteItem (Opus.DataStructure.Song item) [0x00008] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at Opus.Fragments.Browse.More (Opus.DataStructure.Song item) [0x0000e] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at Opus.Adapter.BrowseAdapter+<>c__DisplayClass8_0.<OnBindViewHolder>b__0 (System.Object sender, System.EventArgs e) [0x00022] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at Android.Views.View+IOnClickListenerImplementor.OnClick (Android.Views.View v) [0x00011] in <dacf4e3ba6644195989b4b0b5d184907>:0
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at Android.Views.View+IOnClickListenerInvoker.n_OnClick_Landroid_view_View_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_v) [0x00011] in <dacf4e3ba6644195989b4b0b5d184907>:0
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at (wrapper dynamic-method) System.Object.60(intptr,intptr,intptr)
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at mono.android.view.View_OnClickListenerImplementor.n_onClick(Native Method)
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at mono.android.view.View_OnClickListenerImplementor.onClick(View_OnClickListenerImplementor.java:30)
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at android.view.View.performClick(View.java:6291)
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:24931)
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:808)
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:101)
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at android.os.Looper.loop(Looper.java:166)
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7529)
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
04-30 14:21:33.920 24873 24873 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
04-30 14:21:44.239 25076 25076 E AndroidRuntime: FATAL EXCEPTION: main
04-30 14:21:44.239 25076 25076 E AndroidRuntime: Process: com.sdg.opus, PID: 25076
04-30 14:21:44.239 25076 25076 E AndroidRuntime: android.runtime.JavaProxyThrowable: TagLib.UnsupportedFormatException: /storage/emulated/0/WhatsApp/Media/WhatsApp Audio/AUD-20190419-WA0032.amr (taglib/amr)
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at TagLib.File.Create (TagLib.File+IFileAbstraction abstraction, System.String mimetype, TagLib.ReadStyle propertiesStyle) [0x000d8] in <452838627c6e474caadab381bdbea13c>:0
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at TagLib.File.Create (TagLib.File+IFileAbstraction abstraction) [0x00000] in <452838627c6e474caadab381bdbea13c>:0
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at Opus.Api.LocalManager.GetYtID (System.String path) [0x00012] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at Opus.Api.LocalManager.CompleteItem (Opus.DataStructure.Song item) [0x00008] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at Opus.Fragments.Browse+<>c.<OnCreateView>b__8_0 (Opus.DataStructure.Song song, System.Int32 position) [0x00001] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at Opus.Adapter.BrowseAdapter.Clicked (Opus.DataStructure.Song song, System.Int32 position) [0x0000b] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at Opus.Adapter.BaseCursor`1[T].OnClick (System.Int32 position) [0x0003a] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at Opus.DataStructure.SongHolder+<>c__DisplayClass11_0.<.ctor>b__0 (System.Object sender, System.EventArgs e) [0x00011] in <85f8a1e2b0b2466580b370dba737bc60>:0
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at Android.Views.View+IOnClickListenerImplementor.OnClick (Android.Views.View v) [0x00011] in <dacf4e3ba6644195989b4b0b5d184907>:0
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at Android.Views.View+IOnClickListenerInvoker.n_OnClick_Landroid_view_View_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_v) [0x00011] in <dacf4e3ba6644195989b4b0b5d184907>:0
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at (wrapper dynamic-method) System.Object.76(intptr,intptr,intptr)
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at mono.android.view.View_OnClickListenerImplementor.n_onClick(Native Method)
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at mono.android.view.View_OnClickListenerImplementor.onClick(View_OnClickListenerImplementor.java:30)
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at android.view.View.performClick(View.java:6291)
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:24931)
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:808)
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:101)
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at android.os.Looper.loop(Looper.java:166)
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7529)
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
04-30 14:21:44.239 25076 25076 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
</code></preI