hola!

due to the changes switching to a newer Red5 version, some
typemappings  Flex <--> Java on RED5 have changed...

-> u can solve this problem by changing the parametertype to "List"
within the Servicefunction (and dependent subfunctions..)

-> heres a list of the current mappings, sebastian gave me :

http://jira.red5.org/confluence/display/codecs/Data+Type+Mappings


see ya

Smoeker

On 10 Mrz., 08:38, alex LUCAS <[email protected]> wrote:
> Hi,
>
> When I compile from the source, all works well except the 'Chat'.
> I have no error after the compilation, just some warnings (none concerning
> the chat module)
>
> And when I want to post a message, I've this message in the openmeetings.log
> :
>
> java.lang.ClassCastException: java.util.ArrayList cannot be cast to
> java.util.LinkedHashMap
>         at
> org.openmeetings.app.remote.ChatService.sendMessageToOverallChat(ChatServic­e.java:285)
> [openmeetings.jar:na]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [na:1.6.0_07]
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3­9)
> [na:1.6.0_07]
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp­l.java:25)
> [na:1.6.0_07]
>         at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07]
>         at
> org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:200)
> [red5.jar:na]
>         at
> org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:118)
> [red5.jar:na]
>         at
> org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:152)
> [red5.jar:na]
>         at
> org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:404)
> [red5.jar:na]
>         at
> org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.ja­va:146)
> [red5.jar:na]
>         at
> org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandle­r.java:127)
> [red5.jar:na]
>         at
> org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageRece­ived(AbstractIoFilterChain.java:570)
> [mina-core-1.1.7.jar:na]
>         at
> org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceive­d(AbstractIoFilterChain.java:299)
> [mina-core-1.1.7.jar:na]
>         at
> org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIo­FilterChain.java:53)
> [mina-core-1.1.7.jar:na]
>         at
> org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageRec­eived(AbstractIoFilterChain.java:648)
> [mina-core-1.1.7.jar:na]
>         at
> org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.­java:220)
> [mina-core-1.1.7.jar:na]
>         at
> org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Ex­ecutorFilter.java:264)
> [mina-core-1.1.7.jar:na]
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.j­ava:885)
> [na:1.6.0_07]
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:­907)
> [na:1.6.0_07]
>         at java.lang.Thread.run(Thread.java:619) [na:1.6.0_07]
>
> Revisions :
> - openmeetings server-side and client : 1590
> - red5 : red5-0.8.RC3-build-hudson-red5_jdk6_stable-41
>
> Thanks in advance,
>
> Alex.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to