HaarigerHarald / android-youtubeExtractor

Deprecated: Android based YouTube URL extractor and downloader
Other
877 stars 304 forks source link

We encountered null pointer exception during our test #195

Open xiao-lidia opened 3 years ago

xiao-lidia commented 3 years ago

07-22 08:57:16.038 3209 3209 D AndroidRuntime: Shutting down VM 07-22 08:57:16.042 3209 3209 E AndroidRuntime: FATAL EXCEPTION: main 07-22 08:57:16.042 3209 3209 E AndroidRuntime: Process: com.test.app, PID: 3209 07-22 08:57:16.042 3209 3209 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String at.huber.youtubeExtractor.VideoMeta.getVideoId()' on a null object reference 07-22 08:57:16.042 3209 3209 E AndroidRuntime: at at.huber.youtubeExtractor.YouTubeUriExtractor.onExtractionComplete(YouTubeUriExtractor.java:15) 07-22 08:57:16.042 3209 3209 E AndroidRuntime: at at.huber.youtubeExtractor.YouTubeExtractor.onPostExecute(YouTubeExtractor.java:158) 07-22 08:57:16.042 3209 3209 E AndroidRuntime: at at.huber.youtubeExtractor.YouTubeExtractor.onPostExecute(YouTubeExtractor.java:34)

link: https://www.youtube.com/get_video_info?html5=1&video_id=rCT0zSWaEZI&eurl=https%3A%2F%2Fyoutube.googleapis.com%2Fv%2FrCT0zSWaEZI&c=TVHTML5&cver=6.20180913