powered by Jive Software

Bug: NullPointerException when shutting down

Hi,

when restarting OpenFire 3.9.1 via “service openfire restart” on a Debian7 System it gives an exception:

2014.02.20 19:34:50 org.jivesoftware.openfire.XMPPServer - Exception during module shutdown

java.lang.NullPointerException

at org.jivesoftware.openfire.pubsub.PubSubEngine.shutdown(PubSubEngine.java:1743)

at org.jivesoftware.openfire.pep.PEPServiceManager.stop(PEPServiceManager.java:208 )

at org.jivesoftware.openfire.pep.IQPEPHandler.stop(IQPEPHandler.java:202)

at org.jivesoftware.openfire.XMPPServer.shutdownServer(XMPPServer.java:979)

at org.jivesoftware.openfire.XMPPServer.access$800(XMPPServer.java:148)

at org.jivesoftware.openfire.XMPPServer$ShutdownHookThread.run(XMPPServer.java:925 )

It seems that

service.getManager()

returns a NullPointer, on which then .stop() is called.

Thanks, filed OF-751

Hello, how to solve this problem?

Update to a newer version