# Media Reader Error

**URL:** https://community.wowza.com/t/media-reader-error/45312
**Category:** Wowza Streaming Engine
**Created:** [July 15, 2015, 10:04am UTC](https://community.wowza.com/t/media-reader-error/45312 "2015-07-15T10:04:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Sara\_Varghese](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Sara\_Varghese](https://community.wowza.com/u/Sara_Varghese)
#### Post date: [July 15, 2015, 10:04am UTC](https://community.wowza.com/t/media-reader-error/45312/1 "2015-07-15T10:04:49Z")

</div>

Hi,

In wowza i got error

ERROR server comment 2015-07-15 08:04:38 - - - - - 61385.654 - - - - - - - - MediaReaderFactory.getInstance : java.lang.ClassCastException|

Could you tell me what this error mean and how can i resolve it?

---

<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: [July 15, 2015, 6:14am UTC](https://community.wowza.com/t/media-reader-error/45312/2 "2015-07-15T06:14:47Z")

</div>

This most likely means the application **StreamType** isn’t set to one of the live types. This causes the wrong stream classes to be invoked.

A complete error message example would be:

```auto
 ERROR server comment - MediaReaderFactory.getInstance: java.lang.ClassCastException: com.wowza.wms.mediareader.smil.MediaListReaderSMIL cannot be cast to com.wowza.wms.stream.IMediaReader

```

Regards,

Salvadore
