when restarting OpenFire 3.9.1 via "service openfire restart" on a Debian7 System it gives an exception:
It seems that
returns a NullPointer, on which then .stop() is called.
Added check for null service reference as well as null manager reference.