# RtcpCompoundPacket.deserialize : java.lang.ArrayIndexOutOfBoundsException: -96949?

**URL:** <https://community.wowza.com/t/rtcpcompoundpacket-deserialize-java-lang-arrayindexoutofboundsexception-96949/93949>\
**Category:** Wowza Streaming Engine\
**Created:** [October 12, 2021, 1:23am UTC](https://community.wowza.com/t/rtcpcompoundpacket-deserialize-java-lang-arrayindexoutofboundsexception-96949/93949 "2021-10-12T01:23:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew\_Hailwood](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matthew_hailwood/32/815_2.png) [@Matthew\_Hailwood](https://community.wowza.com/u/Matthew_Hailwood)\
**Post date:** [October 12, 2021, 1:23am UTC](https://community.wowza.com/t/rtcpcompoundpacket-deserialize-java-lang-arrayindexoutofboundsexception-96949/93949/1 "2021-10-12T01:23:07Z")

</div>

I have an RTSP feed I can pull in via VLC and it works fine,  
Adding this as a streamfile and then attempting to connect behaves a bit strange -

First the stream initially shows as “Active” although attempting to play the output does not work and none of the transcoded outputs are visible.

After about 30s the stream changes to “Waiting for Stream” and we see the following error in the log:

```
RtcpCompoundPacket.deserialize : java.lang.ArrayIndexOutOfBoundsException: -96949
|at com.wowza.wms.rtp.rtcp.RtcpMessage.deserializeRequest(RtcpMessage.java:74)
|at com.wowza.wms.rtp.rtcp.RtcpCompoundPacket.a(RtcpCompoundPacket.java:143)
|at com.wowza.wms.rtp.rtcp.RtcpCompoundPacket.deserializeRequest(RtcpCompoundPacket.java:131)
|at com.wowza.wms.rtp.depacketizer.RTPDePacketizerBase.handleRTCPPacket(RTPDePacketizerBase.java:357)
|at com.wowza.wms.rtp.model.RTPTrack$HandleRTCPMessage.handleMessage(RTPTrack.java:108)
|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasicRTSPWorker.onMessage(RTPSessionDescriptionDataProviderBasicRTSPWorker.java:727)
|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasicRTSPHandler.messageReceived(RTPSessionDescriptionDataProviderBasicRTSPHandler.java:36)
|at org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(AbstractIoFilterChain.java:181)
|at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:511)
|at org.apache.mina.common.support.AbstractIoFilterChain.access$900(AbstractIoFilterChain.java:42)
|at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:786)
|at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:246)
|at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:322)
|at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

```

Does anyone have any ideas what would cause this or how we can go about finding out?

Running on AWS - Wowza Streaming Engine (Linux PAID) (4.8.10)

---

<div class="post-metadata">

**Author:** ![video\_streaming](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@video\_streaming](https://community.wowza.com/u/video_streaming)\
**Post date:** [October 12, 2021, 6:40pm UTC](https://community.wowza.com/t/rtcpcompoundpacket-deserialize-java-lang-arrayindexoutofboundsexception-96949/93949/2 "2021-10-12T18:40:01Z")

</div>

You’ll need to send a support ticket as this is a known issue with Engine and some RTSP streams. The Wowza engineers will need to test your configuration and run some tests. It may not be that you’re doing anything wrong on your end.
