[Red5] Hooray for Fatal Errors!

Tyler Kocheran rfkrocktk at gmail.com
Wed Sep 10 16:49:40 PDT 2008


Ok, for some reason, it's working now.

Seems like we need some sort of easy button (see attached)

On Wed, Sep 10, 2008 at 4:14 PM, Tyler Kocheran <rfkrocktk at gmail.com> wrote:

> Scratch that, the error I'm having is happening now @ around 4 pm, not at
> 11 am. I can't figure this thing out. My project is launching next monday,
> please help! What is this error and how do I fix it?
>  - TK
>
>
> On Wed, Sep 10, 2008 at 4:10 PM, Tyler Kocheran <rfkrocktk at gmail.com>wrote:
>
>> Looking in my Error.log file in the Red5->log directory, I'm finding this
>> error:
>>
>> 2008-09-10 11:40:21,775 [SocketAcceptorIoProcessor-0.1] ERROR
>> o.r.s.n.r.codec.RTMPProtocolDecoder - Error decoding buffer
>> org.red5.server.net.protocol.ProtocolException: Error during decoding
>>     at
>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:210)
>>     at
>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:121)
>>     at
>> org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:60)
>>     at
>> org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:158)
>>     at
>> org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
>>     at
>> org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
>>     at
>> org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
>>     at
>> org.apache.mina.common.support.AbstractIoFilterChain$HeadFilter.messageReceived(AbstractIoFilterChain.java:499)
>>     at
>> org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
>>     at
>> org.apache.mina.common.support.AbstractIoFilterChain.fireMessageReceived(AbstractIoFilterChain.java:293)
>>     at
>> org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcessor.java:228)
>>     at
>> org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProcessor.java:198)
>>     at
>> org.apache.mina.transport.socket.nio.SocketIoProcessor.access$400(SocketIoProcessor.java:45)
>>     at
>> org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:485)
>>     at
>> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
>>     at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>>     at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>>     at java.lang.Thread.run(Thread.java:619)
>> Caused by: java.nio.BufferUnderflowException
>>     at java.nio.Buffer.nextGetIndex(Buffer.java:474)
>>     at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:117)
>>     at
>> org.apache.mina.common.support.BaseByteBuffer.get(BaseByteBuffer.java:177)
>>     at org.red5.io.amf.Input.readDataType(Input.java:81)
>>     at org.red5.io.object.Deserializer.deserialize(Deserializer.java:49)
>>     at
>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeFlexMessage(RTMPProtocolDecoder.java:913)
>>     at
>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeMessage(RTMPProtocolDecoder.java:555)
>>     at
>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:416)
>>     at
>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:196)
>>     ... 17 common frames omitted
>> 2008-09-10 11:40:21,820 [SocketAcceptorIoProcessor-0.1] WARN
>> o.r.s.n.r.codec.RTMPProtocolDecoder - Closing connection because decoding
>> failed: RTMPMinaConnection from 127.0.0.1 : 51543 to localhost (in: 3689
>> out 3262 )
>>
>> This error seems pretty crazy. I don't know what I could be doing to cause
>> this. I've determined that the error is a Red5-specific error. I have
>> compiled versions of my client side code that have always worked and I have
>> not changed which no longer can connect.
>>
>>  - TK
>>
>>
>>
>> On Wed, Sep 10, 2008 at 3:52 PM, Tyler Kocheran <rfkrocktk at gmail.com>wrote:
>>
>>> [Fatal Error] :-1:-1: Premature end of file.
>>>
>>> I'm getting this error when trying to register a serverside class on the
>>> Java side of things. I'm assuming this means that Red5 can't read something
>>> and is encountering an EOF error when trying to read data from the
>>> serialized class. Has anyone else encountered this before?
>>>
>>>  - TK
>>>
>>> --
>>> And do this, knowing the time, that now it is high time to awake out of
>>> sleep;
>>> for now our salvation is nearer than when we first believed.
>>>
>>
>>
>>
>> --
>> And do this, knowing the time, that now it is high time to awake out of
>> sleep;
>> for now our salvation is nearer than when we first believed.
>>
>
>
>
> --
> And do this, knowing the time, that now it is high time to awake out of
> sleep;
> for now our salvation is nearer than when we first believed.
>



-- 
And do this, knowing the time, that now it is high time to awake out of
sleep;
for now our salvation is nearer than when we first believed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080910/0494d602/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Red5-Easy-Button.jpg
Type: image/jpeg
Size: 44135 bytes
Desc: not available
Url : http://osflash.org/pipermail/red5_osflash.org/attachments/20080910/0494d602/attachment-0001.jpg 


More information about the Red5 mailing list