# Null Pointer Exception when trying to play nDVR from smil

**URL:** https://community.wowza.com/t/null-pointer-exception-when-trying-to-play-ndvr-from-smil/39002
**Category:** Wowza Streaming Engine
**Created:** [December 10, 2014, 5:17pm UTC](https://community.wowza.com/t/null-pointer-exception-when-trying-to-play-ndvr-from-smil/39002 "2014-12-10T17:17:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ferdinand\_Hernandez](https://avatars.discourse-cdn.com/v4/letter/f/c2a13f/32.png) [@Ferdinand\_Hernandez](https://community.wowza.com/u/Ferdinand_Hernandez)
#### Post date: [December 10, 2014, 5:17pm UTC](https://community.wowza.com/t/null-pointer-exception-when-trying-to-play-ndvr-from-smil/39002/1 "2014-12-10T17:17:05Z")

</div>

Hi Guys,

I am having a wierd problem with nDVR recordings. When I play the nDVR using the smil file like this:

[http://XXX.XXX.XXX.XXX:80/SVcatchup/smil:9-226750.smil/playlist.m3u8?DVR](http://XXX.XXX.XXX.XXX:80/SVcatchup/smil:9-226750.smil/playlist.m3u8?DVR)

Wowza gives an Null Pointer error like below:

2014-12-10 16:03:42 CET comment server ERROR 500 - HTTPStreamerAdapterCupertinoStreamer.onPlaylist: java.lang.NullPointerException|at com.wowza.wms.dvr.impl.DvrStartDurationPlaylistRequestDelegate.a(DvrStartDurationPlaylistRequestDelegate.java:192)|at com.wowza.wms.dvr.impl.DvrStartDurationPlaylistRequestDelegate.a(DvrStartDurationPlaylistRequestDelegate.java:180)|at com.wowza.wms.dvr.impl.DvrStartDurationPlaylistRequestDelegate.a(DvrStartDurationPlaylistRequestDelegate.java:151)|at com.wowza.wms.dvr.impl.DvrStartDurationPlaylistRequestDelegate.getDvrPlaylistRequest(DvrStartDurationPlaylistRequestDelegate.java:95)|at com.wowza.wms.dvr.DvrPlayerAdapterBase.getDvrPlaylistRequest(DvrPlayerAdapterBase.java:425)|

The smil file contains the following:

But if I try to play each of the stream in the smil file manually, it plays alright. Like for example if I do [http://XXX.XXX.XXX.XXX:80/SVcatchup/mp4:9-226750\_720p/playlist.m3u8?DVR](http://XXX.XXX.XXX.XXX:80/SVcatchup/mp4:9-226750_720p/playlist.m3u8?DVR) it plays without a problem.

Can someone explain where this error might be coming from?

Regards,

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [December 10, 2014, 11:45am UTC](https://community.wowza.com/t/null-pointer-exception-when-trying-to-play-ndvr-from-smil/39002/2 "2014-12-10T11:45:34Z")

</div>

Hello there,

For the quickest, most efficient troubleshooting assistance, please open a ticket with the support team. To do so please zip the following folders and sent them, along with the .smil file and a link to this thread for reference to support@wowza.com:

**[install-dir]/conf**

**[install-dir]/logs**

**[install-dir]/transcoder**

**[install-dir]/manager/logs**

Thank you.

Salvadore
