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
java.lang.NullPointerException
        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(Red5Plugin.java: 274)
        at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents .process(InternalComponentManager.java:592)
        at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.jav a:234)
        at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:300)
        at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:100)
        at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:67)
        at org.jivesoftware.openfire.net.StanzaHandler.processIQ(StanzaHandler.java:303)
        at org.jivesoftware.openfire.net.ClientStanzaHandler.processIQ(ClientStanzaHandler .java:78)
        at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:268)
        at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:167)
        at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:132)

 

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='http://jabber.org/protocol/httpbind' key='36c3ebe5acd8192c1fb9665ee6138d63dda175f6' ><iq xmlns="jabber:client" type="set" id="1220559978530" from="om7@www.comovai.com.br/jwchat" to="red5.chat.comovai.com.br"><phone-action xmlns="" type="DIAL" callID="1220559978530"><jid>om8@chat.comovai.com.br</jid></phone-action></iq></body>


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


[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 !

Outcomes