# NullPointerException in PushPublishRTMP

**URL:** <https://community.wowza.com/t/nullpointerexception-in-pushpublishrtmp/45490>\
**Category:** Wowza Streaming Engine\
**Created:** [June 18, 2015, 12:26pm UTC](https://community.wowza.com/t/nullpointerexception-in-pushpublishrtmp/45490 "2015-06-18T12:26:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rakshith\_Shantharaju](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@Rakshith\_Shantharaju](https://community.wowza.com/u/Rakshith_Shantharaju)\
**Post date:** [June 18, 2015, 12:26pm UTC](https://community.wowza.com/t/nullpointerexception-in-pushpublishrtmp/45490/1 "2015-06-18T12:26:15Z")

</div>

Hi,

I am using wowza in a live streaming use case in which incoming RTP over RTSP data is transcoded to RTMP. The RTMP stream is being pushed to an akamai entry point server. I am able to do this succefully. However i see exceptions being generated from within Wowza PushPublishRTMP module. The following is the log generated:

2015-06-16 03:11:26 PDT comment server ERROR 500 - service : java.lang.NullPointerException|at com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP$PublishHandler.sendPackets(PushPublishRTMP.java:808)|at com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP$PublishHandler.play(PushPublishRTMP.java:1157)|at com.wowza.wms.netconnection.NetConnectionAdapter.service(NetConnectionAdapter.java:173)|at com.wowza.wms.netconnection.NetConnectionSessionHandler.a(NetConnectionSessionHandler.java:202)|at com.wowza.wms.netconnection.NetConnectionSessionHandler.b(NetConnectionSessionHandler.java:96)| - - - 29009.599 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-06-16 03:11:26 PDT comment server ERROR 500 - service : java.lang.NullPointerException|at com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP$PublishHandler.sendPackets(PushPublishRTMP.java:808)|at com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP$PublishHandler.play(PushPublishRTMP.java:1157)|at com.wowza.wms.netconnection.NetConnectionAdapter.service(NetConnectionAdapter.java:173)|at com.wowza.wms.netconnection.NetConnectionSessionHandler.a(NetConnectionSessionHandler.java:202)|at com.wowza.wms.netconnection.NetConnectionSessionHandler.b(NetConnectionSessionHandler.java:96)| - - - 29009.85 - - - - - - - - - - - - - - - - - - - - - - - - -

I am able to receive and play the stream on the akamai server without any issue. I see these logs on few occasions and i am not able to reproduce it consistently. Can this cause any problem? Is there any issue with the way we are making API calls to PushPublishRTMP? Some more information below:

Software version: WowzaStreamingEngine - v4.1.2

OS: Ubuntu 12.04 (64 bit)

The wowza streaming engine software is running on amazon ec2 instance

Rakshith

---

<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:** [June 18, 2015, 8:11am UTC](https://community.wowza.com/t/nullpointerexception-in-pushpublishrtmp/45490/2 "2015-06-18T08:11:33Z")

</div>

Hello there.

If the stream is working maybe don’t worry about it? You can always open a ticket with support by sending an email to support@wowza.com

Follow this guide when opening a ticket please:

[How to create a compressed zip file in Windows, OS X, and Linux](https://www.wowza.com/docs/how-to-create-a-compressed-zip-file-in-windows-os-x-and-linux)

Also, you can enable debugging of push publish (if you have not done so)

[How to debug Stream Targets (push publishing)](https://www.wowza.com/docs/how-to-debug-push-publishing)

Regards,

Salvadore
