ssawchenko / android-youtube-player

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

Android Youtube video not play #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
08-01 17:22:11.735: E/QueryYouTubeTask(2427): Error occurred while retrieving 
information from YouTube.
08-01 17:22:11.735: E/QueryYouTubeTask(2427): java.lang.NullPointerException
08-01 17:22:11.735: E/QueryYouTubeTask(2427):   at 
java.net.URLDecoder.decode(URLDecoder.java:130)
08-01 17:22:11.735: E/QueryYouTubeTask(2427):   at 
java.net.URLDecoder.decode(URLDecoder.java:68)
08-01 17:22:11.735: E/QueryYouTubeTask(2427):   at 
com.youtube.video.YouTubeUtility.calculateYouTubeUrl(YouTubeUtility.java:154)
08-01 17:22:11.735: E/QueryYouTubeTask(2427):   at 
com.youtube.video.OpenYouTubePlayerActivity$QueryYouTubeTask.doInBackground(Open
YouTubePlayerActivity.java:455)
08-01 17:22:11.735: E/QueryYouTubeTask(2427):   at 
com.youtube.video.OpenYouTubePlayerActivity$QueryYouTubeTask.doInBackground(Open
YouTubePlayerActivity.java:1)
08-01 17:22:11.735: E/QueryYouTubeTask(2427):   at 
android.os.AsyncTask$2.call(AsyncTask.java:185)
08-01 17:22:11.735: E/QueryYouTubeTask(2427):   at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
08-01 17:22:11.735: E/QueryYouTubeTask(2427):   at 
java.util.concurrent.FutureTask.run(FutureTask.java:137)
08-01 17:22:11.735: E/QueryYouTubeTask(2427):   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
08-01 17:22:11.735: E/QueryYouTubeTask(2427):   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
08-01 17:22:11.735: E/QueryYouTubeTask(2427):   at 
java.lang.Thread.run(Thread.java:1096)
08-01 17:22:11.746: E/QueryYouTubeTask(2427): Error playing video!
08-01 17:22:11.746: E/QueryYouTubeTask(2427): java.lang.RuntimeException: 
Invalid NULL Url.
08-01 17:22:11.746: E/QueryYouTubeTask(2427):   at 
com.youtube.video.OpenYouTubePlayerActivity$QueryYouTubeTask.onPostExecute(OpenY
ouTubePlayerActivity.java:489)
08-01 17:22:11.746: E/QueryYouTubeTask(2427):   at 
com.youtube.video.OpenYouTubePlayerActivity$QueryYouTubeTask.onPostExecute(OpenY
ouTubePlayerActivity.java:1)
08-01 17:22:11.746: E/QueryYouTubeTask(2427):   at 
android.os.AsyncTask.finish(AsyncTask.java:417)
08-01 17:22:11.746: E/QueryYouTubeTask(2427):   at 
android.os.AsyncTask.access$300(AsyncTask.java:127)
08-01 17:22:11.746: E/QueryYouTubeTask(2427):   at 
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:429)
08-01 17:22:11.746: E/QueryYouTubeTask(2427):   at 
android.os.Handler.dispatchMessage(Handler.java:99)
08-01 17:22:11.746: E/QueryYouTubeTask(2427):   at 
android.os.Looper.loop(Looper.java:123)
08-01 17:22:11.746: E/QueryYouTubeTask(2427):   at 
android.app.ActivityThread.main(ActivityThread.java:4363)
08-01 17:22:11.746: E/QueryYouTubeTask(2427):   at 
java.lang.reflect.Method.invokeNative(Native Method)
08-01 17:22:11.746: E/QueryYouTubeTask(2427):   at 
java.lang.reflect.Method.invoke(Method.java:521)
08-01 17:22:11.746: E/QueryYouTubeTask(2427):   at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
08-01 17:22:11.746: E/QueryYouTubeTask(2427):   at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
08-01 17:22:11.746: E/QueryYouTubeTask(2427):   at 
dalvik.system.NativeStart.main(Native Method)

When i will play youtube it given error. So Please check it and tell me what's 
The Problem

Original issue reported on code.google.com by sawanmo...@gmail.com on 1 Aug 2012 at 11:54

GoogleCodeExporter commented 8 years ago
02-14 09:42:27.079: E/QueryYouTubeTask(1780): Error occurred while retrieving 
information from YouTube.
02-14 09:42:27.079: E/QueryYouTubeTask(1780): java.lang.NullPointerException
02-14 09:42:27.079: E/QueryYouTubeTask(1780):   at 
libcore.net.UriCodec.decode(UriCodec.java:153)
02-14 09:42:27.079: E/QueryYouTubeTask(1780):   at 
java.net.URLDecoder.decode(URLDecoder.java:45)
02-14 09:42:27.079: E/QueryYouTubeTask(1780):   at 
com.controlledsenility.android.youtube.YouTubeUtility.calculateYouTubeUrl(YouTub
eUtility.java:142)
02-14 09:42:27.079: E/QueryYouTubeTask(1780):   at 
com.controlledsenility.android.youtube.OpenYouTubePlayerActivity$QueryYouTubeTas
k.doInBackground(OpenYouTubePlayerActivity.java:387)
02-14 09:42:27.079: E/QueryYouTubeTask(1780):   at 
com.controlledsenility.android.youtube.OpenYouTubePlayerActivity$QueryYouTubeTas
k.doInBackground(OpenYouTubePlayerActivity.java:1)
02-14 09:42:27.079: E/QueryYouTubeTask(1780):   at 
android.os.AsyncTask$2.call(AsyncTask.java:288)
02-14 09:42:27.079: E/QueryYouTubeTask(1780):   at 
java.util.concurrent.FutureTask.run(FutureTask.java:237)
02-14 09:42:27.079: E/QueryYouTubeTask(1780):   at 
android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
02-14 09:42:27.079: E/QueryYouTubeTask(1780):   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
02-14 09:42:27.079: E/QueryYouTubeTask(1780):   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
02-14 09:42:27.079: E/QueryYouTubeTask(1780):   at 
java.lang.Thread.run(Thread.java:841)
02-14 09:42:27.109: E/QueryYouTubeTask(1780): Error playing video!
02-14 09:42:27.109: E/QueryYouTubeTask(1780): java.lang.RuntimeException: 
Invalid NULL Url.
02-14 09:42:27.109: E/QueryYouTubeTask(1780):   at 
com.controlledsenility.android.youtube.OpenYouTubePlayerActivity$QueryYouTubeTas
k.onPostExecute(OpenYouTubePlayerActivity.java:420)
02-14 09:42:27.109: E/QueryYouTubeTask(1780):   at 
com.controlledsenility.android.youtube.OpenYouTubePlayerActivity$QueryYouTubeTas
k.onPostExecute(OpenYouTubePlayerActivity.java:1)
02-14 09:42:27.109: E/QueryYouTubeTask(1780):   at 
android.os.AsyncTask.finish(AsyncTask.java:632)
02-14 09:42:27.109: E/QueryYouTubeTask(1780):   at 
android.os.AsyncTask.access$600(AsyncTask.java:177)
02-14 09:42:27.109: E/QueryYouTubeTask(1780):   at 
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
02-14 09:42:27.109: E/QueryYouTubeTask(1780):   at 
android.os.Handler.dispatchMessage(Handler.java:102)
02-14 09:42:27.109: E/QueryYouTubeTask(1780):   at 
android.os.Looper.loop(Looper.java:137)
02-14 09:42:27.109: E/QueryYouTubeTask(1780):   at 
android.app.ActivityThread.main(ActivityThread.java:4998)
02-14 09:42:27.109: E/QueryYouTubeTask(1780):   at 
java.lang.reflect.Method.invokeNative(Native Method)
02-14 09:42:27.109: E/QueryYouTubeTask(1780):   at 
java.lang.reflect.Method.invoke(Method.java:515)
02-14 09:42:27.109: E/QueryYouTubeTask(1780):   at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
02-14 09:42:27.109: E/QueryYouTubeTask(1780):   at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)

I'm using link Intent lVideoIntent = new Intent(null, Uri
                        .parse("ytv://"+"TbdQcNBrK8c"),
                        YouTubeTest.this,
                        OpenYouTubePlayerActivity.class);

Original comment by a...@ctsit.com on 14 Feb 2014 at 2:45

GoogleCodeExporter commented 8 years ago
I have the same problem :((

Original comment by m.abualz...@gmail.com on 20 Jun 2014 at 2:00