Issues after upgrading to mailer 1.18

Issue

After upgrading to mailer 1.18 the following issues appears:

  • Exception in logs like:
WARNING: null
java.lang.NoClassDefFoundError: hudson/tasks/i18n/Messages
	at com.cloudbees.opscenter.context.config.MailConfigurationSnippet$DescriptorImpl.getDisplayName(MailConfigurationSnippet.java:127)
	at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97)
	at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42)
	at java.util.ComparableTimSort.gallopLeft(ComparableTimSort.java:552)
	at java.util.ComparableTimSort.mergeHi(ComparableTimSort.java:839)
	at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:483)
	at java.util.ComparableTimSort.mergeForceCollapse(ComparableTimSort.java:422)
	at java.util.ComparableTimSort.sort(ComparableTimSort.java:222)
	at java.util.Arrays.sort(Arrays.java:1312)
	at java.util.Arrays.sort(Arrays.java:1506)
	at java.util.ArrayList.sort(ArrayList.java:1454)
	at java.util.Collections.sort(Collections.java:141)
	at hudson.ExtensionList.sort(ExtensionList.java:369)
	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289)
	at hudson.ExtensionList.getComponents(ExtensionList.java:167)
	at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:185)
	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
	at hudson.ExtensionList.iterator(ExtensionList.java:156)
	at hudson.ExtensionList.get(ExtensionList.java:147)
  • Issues when using shared configurations.

Environment

  • CloudBees Jenkins Enterprise 1.625.x.y, 1.642.x.y, 1.651.x.y
  • CloudBees Jenkins Operations Center 1.625.x.y

Resolution

Two options:
* Upgrade operations-center-context to version 1.8.108
* Downgrade mailer to 1.17

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.