History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: SN-78
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Luke Hubbard
Reporter: Nathan Gower Smith
Votes: 3
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Streaming and Networking

New Flash Player (9,0,115,0) Using AMF3 Causes ProtocolExceptions which disconnect clients.

Created: 11/Dec/07 01:31 AM   Updated: 04/Feb/08 03:21 PM
Component/s: RTMP
Affects Version/s: None
Fix Version/s: None

Environment:
Trunk (2480) version of Red5 and previous versions (I first noticed the issue about 3 months ago).
Flash Player 9,0,115,0 or any of the Flex Builder 3 Beta Debug Players.
IE, Firefox, Opera (all same issue).

Version: 0.6.3


 Description  « Hide
With the new Flash Player 9,0,115,0 connecting over RTMP using AMF3 our application causes Red5 to throw a ProtocolException "java.lang.ArrayIndexOutOfBoundsException" the exceptions are caught at line 151 of RTMPProtocolDecoder which then results in Red5 terminating the client connnection.

The exception doesn't occur if we use AMF0, however decoding differences mean that this breaks our application in other places (it's a big project so switching back to AMF0 would be costly).

I first noticed this issue when moving to Flex Builder 3 Beta, but I assumed it would be fine by the time the new Flash Player was released. However, now Flash Player 9,0,115,0 is released, this is a major for our project.

Any ideas would be much appreciated.

I do intend to post up a little demo soon.

Thanks,

Nathan

 All   Comments   Change History      Sort Order:
Nathan Gower Smith [17/Dec/07 03:12 AM]
It seems even the most simple SharedObject.setProperty() call causes the exception with the new Flash Player.

I have posted a simple Flex 2 Application the replicates the issue.
http://dev.getoutsmart.com/amf3protocoltest/

This application simply attempts to set a property to a String value and works fine on previous versions of Flash Player 9 but when run on the new Flash Player it causes exceptions with the RTMPProtocolDecoder.

Would really appreciate someone looking into this. It looks like it will effect a lot of us as the new Flash Player spreads.

Thijs Triemstra [04/Feb/08 02:50 PM]
Harald said: "Could that be related to http://jira.red5.org/browse/APPSERVER-220 ?" Can you verify this Nathan?

Thijs Triemstra [04/Feb/08 03:21 PM]
Fixed in trunk. Check http://osflash.org/pipermail/red5devs_osflash.org/2008-February/003333.html
Re-open with test client that is tested against the latest trunk, if you're still experiencing problems.