Issue
I have seen several times the below Warning message in the logs.
WARNING hudson.ExpressionFactory2$JexlExpression evaluate Caught exception evaluating: !descriptor.skipGroupsByName.isEmpty() in $JOB_NAME/configure. Reason: java.lang.reflect.InvocationTargetException java.lang.NullPointerException at java.base/java.util.HashMap.putMapEntries(HashMap.java:497) at java.base/java.util.HashMap.<init>(HashMap.java:486) at com.cloudbees.nectar.plugins.skip.SkipGroup$DescriptorImpl.getSkipGroupsByName(SkipGroup.java:529) at com.cloudbees.nectar.plugins.skip.SkipGroupsProperty$DescriptorImpl.getSkipGroupsByName(SkipGroupsProperty.java:119) [...]
Resolution
This issue is caused by a misconfiguration in the usage of the CloudBees Skip Next Build Plugin. Please, review how to adequately configure the Skip Groups in this official documentation page. Another valuable source of information is this CloudBeesTV video.