zoriya / Opus

Android app for playing music from local file or from youtube.
https://www.raccoon-sdg.fr/en
GNU General Public License v3.0
9 stars 2 forks source link

( Bug Found in Opus version 3.3.4 ) the application is crash when i click on the sync playlist #21

Closed saraji-ali closed 5 years ago

saraji-ali commented 5 years ago

Project Information

Expected behavior

I was Expecting that the application should not be crashed when I click on the sync playlist option

Actual behavior

after opening the playlists when I click on the sync playlist option the application Opus version 3.3.4 crashed

How to reproduce

1-Download the latest application 2-install and open the application 3-create a playlist 4- goto playlist tab 5- Click 3 vertical dots in front of the YouTube playlist 6- click on sync playlist 7- see the error

Recording Of The Bug

20190502_121727

My Github Account

https://github.com/facebook-786

Logcat

D/AndroidRuntime( 6697): Shutting down VM

E/AndroidRuntime( 6697): FATAL EXCEPTION: main

E/AndroidRuntime( 6697): Process: com.sdg.opus, PID: 6697

E/AndroidRuntime( 6697): android.runtime.JavaProxyThrowable: The service youtube has thrown an exception: Google.GoogleApiException: Google.Apis.Requests.RequestError

E/AndroidRuntime( 6697): No filter selected. Expected one of: idParam, playlistId, id [400]

E/AndroidRuntime( 6697): Errors [

E/AndroidRuntime( 6697):    Message[No filter selected. Expected one of: idParam, playlistId, id] Location[ - parameter] Reason[missingRequiredParameter] Domain[youtube.parameter]

E/AndroidRuntime( 6697): ]

E/AndroidRuntime( 6697): 

E/AndroidRuntime( 6697):   at Google.Apis.Requests.ClientServiceRequest`1+d__34[TResponse].MoveNext () [0x00140] in <65e1043f439045869e5debc047c40c87>:0 

E/AndroidRuntime( 6697): --- End of stack trace from previous location where exception was thrown ---

E/AndroidRuntime( 6697):   at Google.Apis.Requests.ClientServiceRequest`1+d__30[TResponse].MoveNext () [0x000ff] in <65e1043f439045869e5debc047c40c87>:0 

E/AndroidRuntime( 6697): --- End of stack trace from previous location where exception was thrown ---

E/AndroidRuntime( 6697):   at Google.Apis.Requests.ClientServiceRequest`1+d__29[TResponse].MoveNext () [0x00071] in <65e1043f439045869e5debc047c40c87>:0 

E/AndroidRuntime( 6697): --- End of stack trace from previous location where exception was thrown ---

E/AndroidRuntime( 6697):   at Opus.Api.PlaylistManager+d__26.MoveNext () [0x00143] in :0 

E/AndroidRuntime( 6697): --- End of stack trace from previous location where exception was thrown ---

E/AndroidRuntime( 6697):   at Opus.Api.PlaylistManager+d__6.MoveNext () [0x000be] in :0 

E/AndroidRuntime( 6697): --- End of stack trace from previous location where exception was thrown ---

E/AndroidRuntime( 6697):   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_0 (System.Object state) [0x00000] in <506ad682c6ce4dfb9ff9e596c90ceb27>:0 

E/AndroidRuntime( 6697):   at Android.App.SyncContext+<>c__DisplayClass2_0.b__0 () [0x00000] in :0 

E/AndroidRuntime( 6697):   at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in :0 

E/AndroidRuntime( 6697):   at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in :0 

E/AndroidRuntime( 6697):   at (wrapper dynamic-method) System.Object.75(intptr,intptr)

E/AndroidRuntime( 6697):    at mono.java.lang.RunnableImplementor.n_run(Native Method)

E/AndroidRuntime( 6697):    at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:30)

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

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

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

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

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

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

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

E/AndroidRuntime( 6697):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
zoriya commented 5 years ago

I'm actually working on this issues, I have changed all the implementations of the playlists downloader. Will work on the next release.

zoriya commented 5 years ago

Ok, I think that if you remove the playlist from you library and add it again, you won't have anymore bugs.

saraji-ali commented 5 years ago

thank you sir bug has been solved