Internal BufferUnderflowException

I’m using Wowza Streaming Engine 4.0.6 build 12199

And noticed that sometimes (0-10 times per hour) following error occurs (logged using log4j):

09 Oct 2014 00:22:25,309 25713053 [ServerHandler.64] ERROR definst - constructor AMFDataObj(ByteBuffer)[6:27] : java.nio.BufferUnderflowException|at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:145)|at java.nio.ByteBuffer.get(ByteBuffer.java:694)|at com.wowza.wms.amf.AMFDataItem.deserialize(AMFDataItem.java:473)|at com.wowza.wms.amf.AMFDataItem.(AMFDataItem.java:176)|at com.wowza.wms.amf.AMFData.deserializeInnerObject(AMFData.java:340)|

09 Oct 2014 00:22:25,309 25713053 [ServerHandler.64] ERROR definst - processNextRequest: error : java.lang.NullPointerException|

09 Oct 2014 00:22:25,369 25713113 [ServerHandler.64] ERROR definst - constructor AMFDataObj(ByteBuffer)[6:27] : java.nio.BufferUnderflowException|at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:145)|at java.nio.ByteBuffer.get(ByteBuffer.java:694)|at com.wowza.wms.amf.AMFDataItem.deserialize(AMFDataItem.java:473)|at com.wowza.wms.amf.AMFDataItem.(AMFDataItem.java:176)|at com.wowza.wms.amf.AMFData.deserializeInnerObject(AMFData.java:340)|

They are always occur simultaneously, 3 errors one after another like listed above.

Errors doesn’t show app they occurred in, just “ERROR definst”. Have no idea what is it and what i can do with it.

Please advise.

Are you experiencing any issues with your streams when you see this error? The BufferUnderflowException can happen for a variety of reasons but many times its due to bandwidth being insufficient or not enough data etc.

Are you experiencing any issues with your streams when you see this error? The BufferUnderflowException can happen for a variety of reasons but many times its due to bandwidth being insufficient or not enough data etc.

There are no streams on this server. It is used for messaging flash clients.

Do you mean client’s bandwidth?