powered by Jive Software

Closing connection due to error while processing message: <presence

I am using Openfire 4.0.3 for our chat application. My Openfire stop connecting xmpp Android client suddenly. While checking in error log following error found.

2017.02.20 05:20:15 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message:

java.lang.NullPointerException

2017.02.20 05:20:15 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message:

java.lang.NullPointerException

2017.02.20 05:20:15 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message:

java.lang.NullPointerException

2017.02.20 05:20:15 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message:

java.lang.NullPointerException

2017.02.20 05:20:15 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message:

java.lang.NullPointerException

2017.02.20 05:20:15 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message:

java.lang.NullPointerException

2017.02.20 05:20:15 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message:

java.lang.NullPointerException

2017.02.20 05:20:15 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message:

java.lang.NullPointerException

2017.02.20 05:20:15 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message:

java.lang.NullPointerException

2017.02.20 05:20:15 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message:

java.lang.NullPointerException

2017.02.20 05:20:16 org.jivesoftware.openfire.container.PluginManager -

java.lang.NullPointerException

This error occurring many times in error log file. Openfire stop responding xmpp clients. Xmpp client unable to join chat rooms. Can you please help me out.

Thanks!

Resolved this error with the help of a better data resource. Now, the system is faster than before. Using the resource pool management in a better manner helped me.