AnsweredAssumed Answered

Null pointer exception on red5 call request

Question asked by paulo_emerique on Sep 4, 2008
Latest reply on Sep 9, 2008 by Dele Olajide

Hi, we went production with openfire 3.4.5 and red5 plugin 0.0.13 and JWChat.


We're facing a problem, when we invite other part for red5 chat, sometimes it works (the invitation is received and other party gets a prompt), but other times we get an NPE like:


SEVERE: null
        at org.jivesoftware.openfire.plugin.red5.PacketHandler.processPacket(PacketHandler .java:239)
        at org.jivesoftware.openfire.plugin.red5.PacketHandler.processPacket(PacketHandler .java:187)
        at org.jivesoftware.openfire.plugin.red5.Red5Plugin.processPacket( 274)
        at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents .process(
        at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.jav a:234)
        at org.jivesoftware.openfire.IQRouter.handle(
        at org.jivesoftware.openfire.IQRouter.route(
        at org.jivesoftware.openfire.spi.PacketRouterImpl.route(
        at .java:78)
        at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl


It'd be nice to pinpoint and fix or workaround the issue with current openfire / red5plugin versions... where can we find plugin 0.0.13 source code ?


Any tips on what can be causing it ?


Just activated debugging and captured an stanza:


sending: <body rid='898571' sid='BK9RunOEWFduGXjEgrnmM_gz' xmlns='' key='36c3ebe5acd8192c1fb9665ee6138d63dda175f6' ><iq xmlns="jabber:client" type="set" id="1220559978530" from="" to=""><phone-action xmlns="" type="DIAL" callID="1220559978530"><jid></jid></phone-action></iq></body>

[Qui 04 Set 2008 17:26:19 BRT] (level 4) func: unknown
async recv: <body xmlns=""/>

[Qui 04 Set 2008 17:26:19 BRT] (level 4) func: unknown
scheduling next poll in 100 msec


I will be working this night till solve it ... sure we consider upgrading to 3.6.0/0.0.18 ... any help is appreciated... and ...



congratulations for this work !