[BUG][NullPointerException] DVR Live TV sessions fails with Android and Android TV devices

Title
Playing almost any channels fails 90% of all playbacks when using NVIDIA SHIELD

Description
PC: Intel Haswell based Core i7, 16GB RAM, SSD, connected to LAN
OS: Ubuntu 16.04 (packages/kernels updated 1.11.2017)
DVR: Hauppauge WinTV dualHD using drivers from their PPA (http://www.hauppauge.com/site/support/linux.html). Country Finland, Cable, DNA Palvelut - Northern Finland - Digital, Channel scanned 2 days ago and EPG up-to-date. Available channels on this cable network listed: http://dvb.welho.fi/cable_oul3.php
Client: NVIDIA SHIELD TV (16GB), OS updated to 6.1, all apps (including plex) updated 1.11.2017, connected to WLAN. Speedtest with Netflix shows 150Mbps.
Plex server: 1.9.6.4401
Plex client on NVIDIA SHIELD: The latest available 1.11.2017
Network: Router Ubiquity Edgerouter PoE-5, WLAN Ubiquity Unifi AC PRO, switch 8-port Ubiquity managed 1 Gigabit

Steps to reproduce
Play Live TV session, channel 1 (YLE1)

Expected: Channel played
Actual: After several seconds, “TV Live session/recording failed” shown on NVIDIA SHIELD TV

Happens: 100%

Playback works fine on Nexus 6 phone (locally over WLAN and remotely over 4G). I have attached Plex Media Server logs and Tuner logs after plexmediaplayer service restar. Logs include half dozen tries to play Live TV which all failed. I have been able to watch Live TV sessions few times, but as said on title most of the time it fails. I’ve had DVR setup for about month, I’ve tried 5 different plexmediaplayer versions and after the latest plexmediaserver release I decided to create this post as basic DVR viewing is not possible. I have set scheduled recordings as well and those seem to fail most of the time as well.

Please, check the logs. I’m happy to provide more logs if needed.

UPDATE: Issue seem to be NullPointerException in Android app. Same exception also seen with Android device OnePlus 5T.

@kinoCharlino do you have time to check logs if theres enough debugging information to see if this is known issue?

Thanks for the report. We’ll need more info than the 30 lines in the PMS log provided. In this case, client logs will help as well. Can you provide logs from the Shield? This article outlines how to get logs from an Android client.

Can you also provide your full PMS logs?

@kinoCharlino Thanks for your quick response. Highly appreciated.

I have followed the articles you mentioned and collected server side and shield TV side logs. However, in Plex Media Server.log I did remove references to my personal data (such as reference to Picture folders ,etc) as I am not comfortable to share them with the internet. Anyhow, I did quite accuate regex not to delete any crucial debugging data while deleting log lines, mostly lines related to my personal data. Let me know if some of the traces are missing.

[Steps]

  • Enabled logging on plexmediaserver via webui
  • Stopped plexmediaserver
  • Cleaned logs files from server
  • Started plexmediaserver
  • Enabled logging on nvidia shield TV and restarted it
  • After shield TV reboot, I went to Live TV -> Watch Now
  • Tried to play YLE1 (11-04 08:11:17.374 w: [LiveTV] Error or unexpected result calling PMS /tune endpoint.)
  • Tried to play YLE1 (11-04 08:11:49.558 w: [LiveTV] Error or unexpected result calling PMS /tune endpoint.)
  • Tried to play YLE1 HD (11-04 08:12:24.381 w: [LiveTV] Error or unexpected result calling PMS /tune endpoint.)
  • Tried to play YLE1 HD (11-04 08:12:55.996 w: [LiveTV] Error or unexpected result calling PMS /tune endpoint.)
  • Grabbed server and shield logs

I can watch some of the channels from time to time but it seems YLE1 and YLE1 HD channels seems to fail always and this scenario is easy reproduce.

@subterfugium, thanks for the logs and steps you took to reproduce the issue. It’s looking a lot like another issue that was previously reported and an internal issue ticket was filed for it already. Not sure if it is the exact issue, but I am following up with engineering on it. The issue it could be tied to is your exact USB tuner model throwing 404’s on tune request. I’ve added your logs and repro steps to that issue ticket and alerted a server dev that we’re seeing this from more than one user with this USB tuner.

@kinoCharlino, Thanks for the info. I’ve tried the latest updates and this issue still persist. Can you update the status of internal ticket about this issue?

@subterfugium said:
Thanks for the info. I’ve tried the latest updates and this issue still persist. Can you update the status of internal ticket about this issue?

Unfortunately I do not have an update for you on this issue. It has been captured and is in triage.

@kinoCharlino @sa2000 Pinging you about if there’s been any updates on this issue? Currently I am not able to watch most of my TV channels via Plex Live TV including Finnish National TV.

I managed to borrow Windows based laptop. I set up plexmediaserver on windows laptop and installed Hauppauge dualHD drivers. Set up Live DVR as well.

Then from windows laptop web client, I tried to play national TV channel YLE1 channel and it worked. Then I tried to play YLE1 from Plex Android TV app on NVIDIA SHIELD TV and it did not work.

Attached server logs and Android TV log. Quickly browsed thru nvidia shield tv plex app client log and I can see this:

    12-10 14:41:53.234  i: [MediaDecisionEngine] Starting media decision for: SuomiLOVE - S04 E01 (part index 0)
    12-10 14:41:53.235  i: [MediaDecisionEngine] Transcode server selected: windows-laptop
    12-10 14:41:53.235  i: [MediaDecisionEngine] Analyzing media: 720x576 (Container: Unknown, Video: mpeg2video, Audio: mp2)
    12-10 14:41:53.315  i: [video] Unable to report progress to server, since no duration is available.
    12-10 14:41:53.326  i: [MediaSessionHelper] Starting media session with tag: video
    12-10 14:41:53.344  i: [MediaSessionHelper] Creating media session with tag: video
    12-10 14:41:53.344  e: An exception occurred: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
    12-10 14:41:53.344  e: Stacktrace: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
        at com.plexapp.plex.f.b.g.a(SourceFile:170)
        at com.plexapp.plex.f.b.e.a(SourceFile:169)
        at com.plexapp.plex.f.b.g.a(SourceFile:123)
        at com.plexapp.plex.f.b.g.a(SourceFile:101)
        at com.plexapp.plex.f.c.c(SourceFile:598)
        at com.plexapp.plex.f.c.a(SourceFile:282)
        at com.plexapp.plex.f.c.a(SourceFile:114)
        at com.plexapp.plex.f.c.a(SourceFile:99)
        at com.plexapp.plex.f.h.a(SourceFile:842)
        at com.plexapp.plex.f.h.doInBackground(SourceFile:814)
        at android.os.AsyncTask$2.call(AsyncTask.java:304)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
        at java.lang.Thread.run(Thread.java:761)

Both server and all clients are running the latest Plex as of today.

In the log files you should be able to see successful live tv stream on plex web and failing live tv stream on android tv (nvidia shield tv).

UPDATE: I tried windows-laptop as client (Firefox and Plex Media Player) and I was able to play YLE1 on it, simultaneously with two Linux PCs Live watching YLE1 as well with Firefox. However, if I try to play YLE1 Live with any device with android, it won’t work. I don’t have logs from all of my devices (Nexus 5, Nexus 5X, Nexus 9, Oneplus 5T and SHIELD TV (android TV)), but for me it seems this is issue in android plex app. I’m happy to provide more logs from any of the devices to get this issue resolved.

UPDATE2: I received the latest Plex Android App 6.11.0:

            2-19 18:33:27.739  i: [LiveTV] About to tune (001)
            12-19 18:33:27.739  i: Fetching [method:POST] https://192.168.5.1:32400/livetv/dvrs/26/channels/001/tune?X-Plex-Token=...(edited)
            12-19 18:33:30.767  i: [LiveTV] Successfully tuned.
            12-19 18:33:30.809  i: [Live] Using full timeshift brain because livetv version is 5.
            12-19 18:33:30.809  i: [OneApp] User can execute command without restrictions because he is entitled.
            12-19 18:33:30.810  i: [PlaybackManager] Preparing for Halv sju - Episode 12-19
            12-19 18:33:30.813  i: [DefaultPlaybackManager] Playback possible, downloading codecs...
            12-19 18:33:30.815  i: [DefaultPlaybackManager] Codec downloaded.
            12-19 18:33:30.815  i: [PlayQueues] Cannot create remote PQ because item is not a library or playlist item or radio or gracenote collection.
            12-19 18:33:30.836  i: Creating VideoPlayerActivity.
            12-19 18:33:30.842  i: [Boot] VideoPlayerActivity took 6ms to run create behaviours.
            12-19 18:33:30.889  i: [TranscodeSession] Media choice updated
            12-19 18:33:30.891  i: [MediaDecisionEngine] Starting media decision for: Halv sju - Episode 12-19 (part index 0)
            12-19 18:33:30.892  i: [MediaDecisionEngine] Transcode server selected: server
            12-19 18:33:30.892  i: [MediaDecisionEngine] Analyzing media: 720x576 (Container: Unknown, Video: mpeg2video, Audio: mp2)
            12-19 18:33:30.894  i: [video] Unable to report progress to server, since no duration is available.
            12-19 18:33:30.894  i: [MediaSessionHelper] Starting media session with tag: video
            12-19 18:33:30.894  i: [MediaSessionHelper] Creating media session with tag: video
            12-19 18:33:30.900  i: [MediaSessionHelper] Setting media session playback state with tag video and state 3
            12-19 18:33:30.905  i: [MediaSessionHelper] Setting media session playback state with tag video and state 3
            12-19 18:33:30.910  e: An exception occurred: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
            12-19 18:33:30.911  e: Stacktrace: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
            	at com.plexapp.plex.mediaselection.a.g.a(SourceFile:170)
            	at com.plexapp.plex.mediaselection.a.e.a(SourceFile:169)
            	at com.plexapp.plex.mediaselection.a.g.a(SourceFile:123)
            	at com.plexapp.plex.mediaselection.a.g.a(SourceFile:101)
            	at com.plexapp.plex.mediaselection.c.c(SourceFile:598)
            	at com.plexapp.plex.mediaselection.c.a(SourceFile:282)
            	at com.plexapp.plex.mediaselection.c.a(SourceFile:114)
            	at com.plexapp.plex.mediaselection.c.a(SourceFile:99)
            	at com.plexapp.plex.mediaselection.h.a(SourceFile:842)
            	at com.plexapp.plex.mediaselection.h.doInBackground(SourceFile:814)
            	at android.os.AsyncTask$2.call(AsyncTask.java:304)
            	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
            	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
            	at java.lang.Thread.run(Thread.java:761)

@kinoCharlino @sa2000 Happy New Year!
Would you be able to give a status update about this matter? This is still blocking my (and probably others with similar setup) Live DVR experience on 80% of my channels and this issue has been open almost 3 months.

Thanks for your support in advance.

Here’s log with Plex for Android version 6.12.0.3239

01-21 21:02:16.756  i: [UserAction] Click item Episode 01-21 (/tv.plex.providers.epg.onconnect:26/metadata/com%2Egracenote%2Eonconnect%3A%2F%2Fepisode%2F9790213%2F2018-01-21).
01-21 21:02:16.757  i: [LiveTV] About to tune (001)
01-21 21:02:16.758  i: Fetching [method:POST] https://192.168.5.1:32400/livetv/dvrs/26/channels/001/tune?X-Plex-Token=...ynX9
01-21 21:02:20.209  i: [LiveTV] Successfully tuned.
01-21 21:02:20.238  i: [Live] Using full timeshift brain because livetv version is 5.
01-21 21:02:20.239  i: [OneApp] User can execute command without restrictions because he is entitled.
01-21 21:02:20.240  i: [PlaybackManager] Preparing for Urheiluruutu - Episode 01-21
01-21 21:02:20.243  i: [DefaultPlaybackManager] Playback possible, downloading codecs...
01-21 21:02:20.245  i: [DefaultPlaybackManager] Codec downloaded.
01-21 21:02:20.246  i: [PlayQueues] Cannot create remote PQ because item is not a library or playlist item or radio or gracenote collection.
01-21 21:02:20.268  i: Creating VideoPlayerActivity.
01-21 21:02:20.275  i: [Boot] VideoPlayerActivity took 7ms to run create behaviours.
01-21 21:02:20.316  i: [TranscodeSession] Media choice updated
01-21 21:02:20.317  i: [MediaDecisionEngine] Starting media decision for: Urheiluruutu - Episode 01-21 (part index 0)
01-21 21:02:20.318  i: [MediaDecisionEngine] Transcode server selected: server
01-21 21:02:20.319  i: [MediaDecisionEngine] Analyzing media: 720x576 (Container: Unknown, Video: mpeg2video, Audio: mp2)
01-21 21:02:20.322  i: [video] Unable to report progress to server, since no duration is available.
01-21 21:02:20.322  i: [MediaSessionHelper] Starting media session with tag: video
01-21 21:02:20.323  i: [MediaSessionHelper] Creating media session with tag: video
01-21 21:02:20.325  e: An exception occurred: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
01-21 21:02:20.326  e: Stacktrace: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
	at com.plexapp.plex.mediaselection.a.g.a(SourceFile:170)
	at com.plexapp.plex.mediaselection.a.e.a(SourceFile:169)
	at com.plexapp.plex.mediaselection.a.g.a(SourceFile:123)
	at com.plexapp.plex.mediaselection.a.g.a(SourceFile:101)
	at com.plexapp.plex.mediaselection.c.c(SourceFile:598)
	at com.plexapp.plex.mediaselection.c.a(SourceFile:282)
	at com.plexapp.plex.mediaselection.c.a(SourceFile:114)
	at com.plexapp.plex.mediaselection.c.a(SourceFile:99)
	at com.plexapp.plex.mediaselection.h.a(SourceFile:842)
	at com.plexapp.plex.mediaselection.h.doInBackground(SourceFile:814)
	at android.os.AsyncTask$2.call(AsyncTask.java:304)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
	at java.lang.Thread.run(Thread.java:761)

01-21 21:02:20.330  i: [MediaSessionHelper] Setting media session playback state with tag video and state 3
01-21 21:02:20.332  i: [MediaSessionHelper] Setting media session playback state with tag video and state 3
01-21 21:02:20.346  i: Resuming VideoPlayerActivity.
01-21 21:02:20.348  i: [MediaSessionHelper] Setting media session playback state with tag video and state 3
01-21 21:02:20.357  i: [RefreshRateBehaviour] Ignoring sticky intent
01-21 21:02:20.357  i: [HdmiUnplugBehaviour] Ignoring sticky intent
01-21 21:02:20.358  i: [PlayQueueBehaviour] Clearing audio PQ because video playback has started.
01-21 21:02:20.359  e: [video] Unable to decide on a video for playback: /livetv/sessions/af1bc426-1111-43f3-9031-cf0ece5ea4b8
01-21 21:02:20.359  e: [Video Player] A non-recoverable error occurred while attempting to play: /livetv/sessions/af1bc426-1111-43f3-9031-cf0ece5ea4b8.
01-21 21:02:20.359  e: [Video Player] An error occurred while attempting to play this video. Please try restarting both the Plex Media Server and this app.
01-21 21:02:20.359  i: [Video Player] Showing playback error dialog.
01-21 21:02:25.345  i: [pms] /192.168.5.134:35320 - GET /logging

Same exception also happens on android devices (OnePlus 5T) plex 6.12.0.3239

01-24 19:55:37.507  i: [UserAction] Click item Totuus sähkötupakasta (/tv.plex.providers.epg.onconnect:26/metadata/com%2Egracenote%2Eonconnect%3A%2F%2Fepisode%2FEP021885080117).
01-24 19:55:37.508  i: [LiveTV] About to tune (001)
01-24 19:55:37.510  i: Fetching [method:POST] https://192.168.5.1:32400/livetv/dvrs/26/channels/001/tune?X-Plex-Token=...Vnhq
01-24 19:55:39.906  i: [LiveTV] Successfully tuned.
01-24 19:55:39.929  i: [Live] Using full timeshift brain because livetv version is 5.
01-24 19:55:39.930  i: [OneApp] User can execute command without restrictions because he is entitled.
01-24 19:55:39.935  i: [PlaybackManager] Preparing for Prisma - Totuus sähkötupakasta
01-24 19:55:39.940  i: [PlaybackManager] Audio codec required: mp2
01-24 19:55:39.940  i: [DefaultPlaybackManager] Playback possible, downloading codecs...
01-24 19:55:39.940  i: [CodecManager] Attempting to download: mp2
01-24 19:55:39.941  i: Fetching [method:POST] http://127.0.0.1:32500/services/codecs/decoder/mp2
01-24 19:55:39.952  i: [pms] /127.0.0.1:46611 - POST /services/codecs/decoder/mp2
01-24 19:55:40.051  i: [pms] /192.168.5.3:35576 - GET /logging
01-24 19:55:40.896  i: [CodecManager] Codec downloaded.
01-24 19:55:40.922  i: [DefaultPlaybackManager] Codec downloaded.
01-24 19:55:40.923  i: [PlayQueues] Cannot create remote PQ because item is not a library or playlist item or radio or gracenote collection.
01-24 19:55:40.975  i: Creating MobileVideoPlayerActivity.
01-24 19:55:41.003  i: [SBB] MobileVideoPlayerActivity We're in portrait (2160 x 1080).
01-24 19:55:41.004  i: [SBB] MobileVideoPlayerActivity We're in portrait (2160 x 1080).
01-24 19:55:41.006  i: [Video] Creating local video player instance.
01-24 19:55:41.006  i: [Video] Using exoplayer player
01-24 19:55:41.016  i: [SBB] MobileVideoPlayerActivity We're in portrait (2160 x 1080).
01-24 19:55:41.016  i: [TranscodeSession] Media choice updated
01-24 19:55:41.018  i: [MediaDecisionEngine] Starting media decision for: Prisma - Totuus sähkötupakasta (part index 0)
01-24 19:55:41.018  i: [MediaDecisionEngine] Transcode server selected: server
01-24 19:55:41.018  i: [MediaDecisionEngine] Analyzing media: 720x576 (Container: Unknown, Video: mpeg2video, Audio: mp2)
01-24 19:55:41.020  i: [video] Unable to report progress to server, since no duration is available.
01-24 19:55:41.022  e: An exception occurred: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
01-24 19:55:41.022  e: Stacktrace: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
	at com.plexapp.plex.mediaselection.a.g.a(SourceFile:170)
	at com.plexapp.plex.mediaselection.a.e.a(SourceFile:169)
	at com.plexapp.plex.mediaselection.a.g.a(SourceFile:123)
	at com.plexapp.plex.mediaselection.a.g.a(SourceFile:101)
	at com.plexapp.plex.mediaselection.c.c(SourceFile:598)
	at com.plexapp.plex.mediaselection.c.a(SourceFile:282)
	at com.plexapp.plex.mediaselection.c.a(SourceFile:114)
	at com.plexapp.plex.mediaselection.c.a(SourceFile:99)
	at com.plexapp.plex.mediaselection.h.a(SourceFile:842)
	at com.plexapp.plex.mediaselection.h.doInBackground(SourceFile:814)
	at android.os.AsyncTask$2.call(AsyncTask.java:333)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
	at java.lang.Thread.run(Thread.java:764)

01-24 19:55:41.059  i: [Boot] MobileVideoPlayerActivity took 2ms to run create behaviours.
01-24 19:55:41.065  i: Resuming MobileVideoPlayerActivity.
01-24 19:55:41.093  i: [SBB] MobileVideoPlayerActivity We're in landscape (2160 x 1080).
01-24 19:55:41.104  i: [PlayQueueBehaviour] Clearing audio PQ because video playback has started.
01-24 19:55:41.105  e: [video] Unable to decide on a video for playback: /livetv/sessions/842c09c6-ee61-4e6f-a700-b41ee1678d91
01-24 19:55:41.105  e: [Video Player] A non-recoverable error occurred while attempting to play: /livetv/sessions/842c09c6-ee61-4e6f-a700-b41ee1678d91.
01-24 19:55:41.105  e: [Video Player] An error occurred while attempting to play this video. Please try restarting both the Plex Media Server and this app.
01-24 19:55:41.105  i: [Video Player] Showing playback error dialog.

See attached log.

After upgrading to latest plex media server 1.11.1.4730:

01-26 18:47:40.635  i: [UserAction] Click item Rahan ja rakkauden arvo (/tv.plex.providers.epg.onconnect:26/metadata/com%2Egracenote%2Eonconnect%3A%2F%2Fepisode%2FEP019344540367).
01-26 18:47:40.636  i: [LiveTV] About to tune (023)
01-26 18:47:40.636  i: Fetching [method:POST] https://192.168.5.1:32400/livetv/dvrs/26/channels/023/tune?X-Plex-Token=...ynX9
01-26 18:47:43.828  i: [LiveTV] Successfully tuned.
01-26 18:47:43.851  i: [Live] Using full timeshift brain because livetv version is 5.
01-26 18:47:43.852  i: [OneApp] User can execute command without restrictions because he is entitled.
01-26 18:47:43.852  i: [PlaybackManager] Preparing for Emmerdale - Seksiä ja eksiä
01-26 18:47:43.853  i: [DefaultPlaybackManager] Playback possible, downloading codecs...
01-26 18:47:43.855  i: [DefaultPlaybackManager] Codec downloaded.
01-26 18:47:43.855  i: [PlayQueues] Cannot create remote PQ because item is not a library or playlist item or radio or gracenote collection.
01-26 18:47:43.884  i: Creating VideoPlayerActivity.
01-26 18:47:43.893  i: [Boot] VideoPlayerActivity took 9ms to run create behaviours.
01-26 18:47:43.907  i: [TranscodeSession] Media choice updated
01-26 18:47:43.908  i: [MediaDecisionEngine] Starting media decision for: Emmerdale - Seksiä ja eksiä (part index 0)
01-26 18:47:43.908  i: [MediaDecisionEngine] Transcode server selected: server
01-26 18:47:43.909  i: [MediaDecisionEngine] Analyzing media: 1280x720 (Container: mpegts, Video: h264, Audio: mp2)
01-26 18:47:43.910  i: [MediaSessionHelper] Starting media session with tag: video
01-26 18:47:43.910  i: [MediaSessionHelper] Creating media session with tag: video
01-26 18:47:43.910  i: [video] Unable to report progress to server, since no duration is available.
01-26 18:47:43.916  i: [MediaDecisionEngine] Codec (dvb_teletext) not supported in Container (mpegts)
01-26 18:47:43.919  i: [video] User maximum h264 profile determined: 51
01-26 18:47:43.920  i: [video] Device recommended h264 profile determined: 51
01-26 18:47:43.921  i: [MediaSessionHelper] Setting media session playback state with tag video and state 3
01-26 18:47:43.923  i: [MediaSessionHelper] Setting media session playback state with tag video and state 3
01-26 18:47:43.931  i: [BufferHelper] Assumed Bitrate: 400000, Segment Count: 46875
01-26 18:47:43.931  i: [BufferHelper] Detected memory pressure, reducing segment count to fit available memory: 512
01-26 18:47:43.935  i: [BufferHelper] Segment count: 3276
01-26 18:47:43.937  i: Resuming VideoPlayerActivity.

Null Execption is not seen anymore.
Before update:
01-24 19:55:41.018 i: [MediaDecisionEngine] Analyzing media: 720x576 (Container: Unknown, Video: mpeg2video, Audio: mp2)
After update:
01-26 18:24:05.594 i: [MediaDecisionEngine] Analyzing media: 720x576 (Container: mpegts, Video: mpeg2video, Audio: mp2)

The container is not anymore Unknown which probably caused the null exception on client side?
It seems I am able to play the most of my channels now.