# Recorder Error

**URL:** <https://community.wowza.com/t/recorder-error/42024>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [June 9, 2015, 5:42pm UTC](https://community.wowza.com/t/recorder-error/42024 "2015-06-09T17:42:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nineesh\_K\_Dasan](https://avatars.discourse-cdn.com/v4/letter/n/bbce88/32.png) [@Nineesh\_K\_Dasan](https://community.wowza.com/u/Nineesh_K_Dasan)\
**Post date:** [June 9, 2015, 5:42pm UTC](https://community.wowza.com/t/recorder-error/42024/1 "2015-06-09T17:42:16Z")

</div>

When initiating a Recorder via **LiveStreamRecording HTTP** for recording, Some times I am getting the “ **Recorder Error** ” Message at Wowza Engine Manager.

My Wowza version is 4.1

What will be the issues behind?

Can I get a notification via a module when the action “Recorder Error” happened?

Regards,

Nin

---

<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 9, 2015, 7:24am UTC](https://community.wowza.com/t/recorder-error/42024/2 "2015-06-09T07:24:31Z")

</div>

Hi.

Can you please provide more detail about your workflow? Can you also confirm there was an available live stream you were attempting to record?

Check the logs for any related, and or unrelated errors when the warning happened and please share them here. Also if you can grab a screen capture of the error in the manager that would be helpful.

Regards,

Salvadore

---

<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 21, 2015, 7:20am UTC](https://community.wowza.com/t/recorder-error/42024/3 "2015-06-21T07:20:18Z")

</div>

Nin, sorry for the late reply.

It looks like the encoder of the problem stream was not able to establish a connection with Wowza. Does it work if you try to re-establish the connection?

Are there any other related error messages in the logs?

Regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![Nineesh\_K\_Dasan](https://avatars.discourse-cdn.com/v4/letter/n/bbce88/32.png) [@Nineesh\_K\_Dasan](https://community.wowza.com/u/Nineesh_K_Dasan)\
**Post date:** [June 10, 2015, 3:08pm UTC](https://community.wowza.com/t/recorder-error/42024/4 "2015-06-10T15:08:20Z")

</div>

Hi Salvadore,

My scenario is:

When a camera is connected to my server machine I will issue a jmx commad to start the stream.

Then I am issuing start recording via livestreamrecord http url once I got notification from **_Wowza - IStreamRecorderActionNotify -\> onStartRecorder_**

Most cases this will function perfectly except sometimes, I am getting “ **Recorder Error** ”.

The related error log:

```auto
ERROR server comment 2015-06-10 07:35:36 - - - - - 690744.493 - - - - - - - -       
[live/_definst_]LiveStreamRecorderMP4: 1-20150313093420445625.stream: /var/storage1/camera_1/1_2015061007314972091_0.mp4: 
java.lang.NullPointerException|at com.wowza.wms.livestreamrecord.model.LiveStreamRecorderMP4.work(LiveStreamRecorderMP4.java:992)|
at com.wowza.wms.livestreamrecord.model.LiveStreamRecorderWorker.run(LiveStreamRecorderWorker.java:37)

```

The related image:

[https://www.dropbox.com/s/b0h3e8u9pm1m8lo/Screenshot-from-2015-06-10-13-07-20-1.png?dl=0](https://www.dropbox.com/s/b0h3e8u9pm1m8lo/Screenshot-from-2015-06-10-13-07-20-1.png?dl=0)

Best Regards,

Nin

---

<div class="post-metadata">

**Author:** ![Nineesh\_K\_Dasan](https://avatars.discourse-cdn.com/v4/letter/n/bbce88/32.png) [@Nineesh\_K\_Dasan](https://community.wowza.com/u/Nineesh_K_Dasan)\
**Post date:** [June 23, 2015, 4:42pm UTC](https://community.wowza.com/t/recorder-error/42024/5 "2015-06-23T16:42:10Z")

</div>

Hello Salvadore,

Sorry for the late reply.

If I re-establish the connection, still it is not working.

Actually I am initiating recording, once I got notification from **Wowza -\> onSegmentStart()**

Unfortunately that is not working for certain streams.

But when I added a

**Thread.sleep(1000);**

in **onSegmentStart()** before sending me the notification the recording starting perfectly.

Is there any right way to check stream is started perfectly, and notify me along with stream name?

PS: I don’t find any relevant logs for the same.

---

<div class="post-metadata">

**Author:** ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)\
**Post date:** [August 27, 2015, 2:43pm UTC](https://community.wowza.com/t/recorder-error/42024/6 "2015-08-27T14:43:02Z")

</div>

Hi bluestone,

Please test your recording workflow with Wowza 4.2. There was a fix described in the [4.2 release notes](https://www.wowza.com/docs/wowza-streaming-engine-4-2-0-release-notes) that resolved NPEs generated from a live stream recording that was split before the first video packet was received (resulting in a null video track).

Hope this helps.

Michelle
