# IllegalStateException comes while playing VOD or Live content suddenly in between playback

**URL:** <https://community.bitmovin.com/t/illegalstateexception-comes-while-playing-vod-or-live-content-suddenly-in-between-playback/2071>\
**Category:** Support\
**Tags:** live-streaming, android, bitmovin\
**Created:** [June 20, 2023, 5:49am UTC](https://community.bitmovin.com/t/illegalstateexception-comes-while-playing-vod-or-live-content-suddenly-in-between-playback/2071 "2023-06-20T05:49:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![malviya.software](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@malviya.software](https://community.bitmovin.com/u/malviya.software)\
**Post date:** [June 20, 2023, 5:49am UTC](https://community.bitmovin.com/t/illegalstateexception-comes-while-playing-vod-or-live-content-suddenly-in-between-playback/2071/1 "2023-06-20T05:49:46Z")

</div>

Hi Bitmovin support team,

With the latest SDK 3.38.1, IllegalStateException comes while playing VOD or Live content suddenly in between playback. Attached error screenshot.

Reproducibility is 3/5.  
Any suggestion about this issue?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/bitmovin/original/1X/c6edee560d5c0fcbcae9ba119a5f8717fd0431a3.png)

---

<div class="post-metadata">

**Author:** ![albertobitmovin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/albertobitmovin/32/256_2.png) [@albertobitmovin](https://community.bitmovin.com/u/albertobitmovin)\
**Post date:** [June 28, 2023, 8:41am UTC](https://community.bitmovin.com/t/illegalstateexception-comes-while-playing-vod-or-live-content-suddenly-in-between-playback/2071/2 "2023-06-28T08:41:37Z")

</div>

Hi Malviya,

Thanks for reporting this. To discard any issue originated at your app implementation level, could you please confirm whether the `IllegalStateException` is reproducible via any of our sample apps? Such as this one: [bitmovin-player-android-samples/BasicPlayback at main · bitmovin/bitmovin-player-android-samples · GitHub](https://github.com/bitmovin/bitmovin-player-android-samples/tree/main/BasicPlayback)

Also, on the sample app above, can you reproduce the problem when replacing the default streams with your own?

What was the latest SDK version known to work well on your app without any `IllegalStateException` being thrown?
