The stack trace in the log file reports a null pointer exception from the fortify plugin. The line number 951 that reports the null pointer exception does not match with the fortify plugin source code for the most recent release. Upgrading the fortify plugin may resolve the null pointer exception.
However, that may not be enough to resolve the issue. You need to follow the instructions in the upgrade guides between Jenkins 2.222.1 and Jenkins 2.289.2. Those upgrade guides are available at https://www.jenkins.io/doc/upgrade-guide/ . The Jenkins 2.277.1 upgrade guide is especially important to follow at https://www.jenkins.io/doc/upgrade-guide/2.277/#upgrading-to-jenkins-lts-2-277-1 because it will guide you to upgrade to current versions of all plugins, remove plugins with security warnings, remove deprecated plugins, and remove unused plugins.