The same CloudBees Skip plugin WARNING is flooding the logs

1 minute readKnowledge base

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.

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.