Your controller (formerly known as master) installed in a Windows OS fails to restart with a stack trace compatible with the one shown below:
XXXX-XX-XX XXXX [id=XX] INFO jenkins.model.Jenkins#cleanUp: Jenkins stopped XXXX-XX-XX XXXX [id=XX] WARNING h.s.HttpSessionContextIntegrationFilter2#hasInvalidSessionSeed: Encountered IllegalStateException trying to get a user. System init may not have completed yet. Invalidating user session. XXXX-XX-XX XXXX [id=XX] WARNING o.e.jetty.server.HttpChannel#handleException: /tcpSlaveAgentListener/java.lang.IllegalStateException: Jenkins.instance is missing.
- CloudBees CI (CloudBees Core) on traditional platforms - Client Master
- CloudBees CI (CloudBees Core) on traditional platforms - Operations Center
- CloudBees Jenkins Platform - Client Master
- CloudBees Jenkins Platform - Operations Center
- CloudBees Jenkins Distribution
- Jenkins LTS
So the proper fix for the issue is to upgrade to a version of the product which is higher than 2.223.
The workaround is to manually restart the Windows service in order to get the instance successfully restarted.