With coverage-plugin from v2.3026, warning "Cannot convert type java.util.ImmutableCollections$ListN to type java.util.ArrayList" is displayed dozens of times every hour in the Jenkins system log

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: coverage-plugin
    • None
    • Environment:
      Jenkins LTS v2.528.2 on Ubuntu22; coverage-plugin v2.3036

      Since the update of the structs-plugin to v362, The following warning is displayed dozens of times every hour in the Jenkins system log :

      nov. 21, 2025 3:03:53 PM AVERTISSEMENT hudson.util.RobustReflectionConverter doUnmarshal
      Cannot convert type java.util.ImmutableCollections$ListN to type java.util.ArrayList
      nov. 21, 2025 3:03:53 PM AVERTISSEMENT hudson.util.RobustReflectionConverter doUnmarshal
      Cannot convert type java.util.ImmutableCollections$ListN to type java.util.ArrayList

      Could you please check if this warning might be caused by the following bug fix?

      https://github.com/jenkinsci/structs-plugin/issues/255

            Assignee:
            Kohsuke Kawaguchi
            Reporter:
            Eric RAIMBAULT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: