Behavior.js:119 TypeError: Cannot read properties of undefined (reading 'hasClassName')

Probably related to the configuration form modernization that happened in Jenkins 2.277.1.

Refer to the detailed steps in an earlier post