Jenkins service needs to restart after sometime

After a certain amount of time, Jenkins has not worked, once we restarted Jenkins, then only it came back to normal so that we can be able to run jobs.
This is the error we got Jenkins.