Null pointer exception on red5 call request

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: om8@chat.comovai.com.br

[Qui 04 Set 2008 17:26:19 BRT] (level 4) func: unknown
async recv:

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

By now I found that FF3 is malforming its XML, as you can see is missing xmlns.

IE6 & 7 are working ok. They send a valid xmlns. (found out by activating debugger)

I see code to set xmlns is there (red5.js makeCall() method).

Video invitation is working if invatation is sent from IE.

Cheers,

Paulo

red5 plugin 0.0.13 and JWChat. That was before red5phone

Take a look at red5 plugin 0.0.27 with OF 3.5.2 and use SparkWeb instead of JWChat. Don’t upgrade to 3.6 yet. Sparkweb is not connecting properly with OF 3.6