We have a Jenkins instance running on a Windows PC (Windows 11). It was neglected for years but has been upgraded from 2.236 (JDK 8) to 2.415 (JDK 11). All plugins were out-of-date but are now updated. Some versions: Git plugin: 5.2.0; Git client plugin: 4.4.0; Git Parameter plugin: 0.9.19
Our 2.236 version had many jobs that ran fine and all connected to our company’s internal Bitbucket repository and internal Nexus (we use https not ssh). However, now that we’ve upgraded, none of those jobs can connect. On the surface, it looks like the upgrade went OK (i.e. it looks like all the config.xml files came across OK) but I know the problem likely lies in some change between all those versions we had to jump.
When we configure the SCM portion of the job, we enter the Git connection info and save it just fine but when we go back in to the configure page, we see the Oops Jenkins message on the repo. In the log, we see NullPointer by UserRemoteConfig/checkUrl caused by java.base/java.util.TreeMap.putAll(TreeMap.java:312).
The SCM polling triggered job git polling log says “Failed to record SCM polling for hudson.model.FreeStyleProject” caused by: java.lang.NullPointerException: Cannot invoke “java.util.Map.size()” because “map” is null
I have searched the Internet for help but maybe I’m not searching for the right thing and have come up empty. Thanks for reading this far…