DoYouEven / android-youtube-player

Automatically exported from code.google.com/p/android-youtube-player
0 stars 0 forks source link

Error playing video! #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

What steps will reproduce the problem?
1.  when trying to play a playlist

What is the expected output? What do you see instead?

07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): Error occurred while 
retrieving information from YouTube.
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): java.lang.NullPointerException
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341):     at 
java.net.URLDecoder.decode(URLDecoder.java:104)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341):     at 
java.net.URLDecoder.decode(URLDecoder.java:48)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341):     at 
com.keyes.youtube.YouTubeUtility.calculateYouTubeUrl(YouTubeUtility.java:133)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341):     at 
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.doInBackground(Open
YouTubePlayerActivity.java:398)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341):     at 
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.doInBackground(Open
YouTubePlayerActivity.java:1)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341):     at 
android.os.AsyncTask$2.call(AsyncTask.java:185)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341):     at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341):     at 
java.util.concurrent.FutureTask.run(FutureTask.java:138)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341):     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341):     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341):     at 
java.lang.Thread.run(Thread.java:1019)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): Error playing video!
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): java.lang.RuntimeException: 
Invalid NULL Url.
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341):     at 
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.onPostExecute(OpenY
ouTubePlayerActivity.java:431)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341):     at 
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.onPostExecute(OpenY
ouTubePlayerActivity.java:1)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341):     at 
android.os.AsyncTask.finish(AsyncTask.java:417)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341):     at 
android.os.AsyncTask.access$300(AsyncTask.java:127)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341):     at 
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:429)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341):     at 
android.os.Looper.loop(Looper.java:123)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341):     at 
android.app.ActivityThread.main(ActivityThread.java:3683)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341):     at 
java.lang.reflect.Method.invokeNative(Native Method)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341):     at 
java.lang.reflect.Method.invoke(Method.java:507)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341):     at 
dalvik.system.NativeStart.main(Native Method)

What version of the product are you using? On what operating system?

openyoutubeactivity.jar -- Android 2.3.3 -- Fedora 15 64 bits

how could I fix it?

Best regards
--javier

Original issue reported on code.google.com by canarias...@gmail.com on 19 Jul 2011 at 4:51

GoogleCodeExporter commented 9 years ago

Original comment by keyes...@gmail.com on 4 Nov 2011 at 1:52