Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53785

Convert DockerComputerConnector$1 to non anymous class

    XMLWordPrintable

    Details

    • Similar Issues:
    • Sprint:
      Evergreen - Milestone 2

      Description

      Jenkins is sending warnings like these:

      Attempt to (de-)serialize anonymous class io.jenkins.docker.connector.DockerComputerConnector$1 in file:/evergreen/data/jenkins/var/plugins/docker-plugin/WEB-INF/lib/docker-plugin.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      

      We should probably fix the Docker plugin as recommended in https://jenkins.io/redirect/serialization-of-anonymous-classes/

      Issue number in Sentry: EVERGREEN-35

      https://github.com/jenkinsci/docker-plugin/blob/7d45cf050ed9cad27f1bf51818ca30ac3108fbed/src/main/java/io/jenkins/docker/connector/DockerComputerConnector.java#L104-L119 has to be pulled out as a full blown class, AFAIU. (thanks to Jesse for finding it)

        Attachments

          Issue Links

            Activity

            batmat Baptiste Mathus created issue -
            batmat Baptiste Mathus made changes -
            Field Original Value New Value
            Summary Convert DockerImagePullStrategy$2 to non anymous class Convert DockerComputerConnector$1 to non anymous class
            batmat Baptiste Mathus made changes -
            Description Jenkins is sending warnings like these:

            {noformat}
            Attempt to (de-)serialize anonymous class com.nirima.jenkins.plugins.docker.DockerImagePullStrategy$2 in file:/evergreen/jenkins/var/plugins/docker-plugin/WEB-INF/lib/docker-plugin.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            {noformat}

            We should probably fix the Docker plugin as recommended in https://jenkins.io/redirect/serialization-of-anonymous-classes/
            Jenkins is sending warnings like these:

            {noformat}

            Attempt to (de-)serialize anonymous class io.jenkins.docker.connector.DockerComputerConnector$1 in file:/evergreen/data/jenkins/var/plugins/docker-plugin/WEB-INF/lib/docker-plugin.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            {noformat}

            We should probably fix the Docker plugin as recommended in https://jenkins.io/redirect/serialization-of-anonymous-classes/
            batmat Baptiste Mathus made changes -
            Description Jenkins is sending warnings like these:

            {noformat}

            Attempt to (de-)serialize anonymous class io.jenkins.docker.connector.DockerComputerConnector$1 in file:/evergreen/data/jenkins/var/plugins/docker-plugin/WEB-INF/lib/docker-plugin.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            {noformat}

            We should probably fix the Docker plugin as recommended in https://jenkins.io/redirect/serialization-of-anonymous-classes/
            Jenkins is sending warnings like these:

            {noformat}

            Attempt to (de-)serialize anonymous class io.jenkins.docker.connector.DockerComputerConnector$1 in file:/evergreen/data/jenkins/var/plugins/docker-plugin/WEB-INF/lib/docker-plugin.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            {noformat}

            We should probably fix the Docker plugin as recommended in https://jenkins.io/redirect/serialization-of-anonymous-classes/

            Issue number in Sentry: {{EVERGREEN-35}}
            batmat Baptiste Mathus made changes -
            Description Jenkins is sending warnings like these:

            {noformat}

            Attempt to (de-)serialize anonymous class io.jenkins.docker.connector.DockerComputerConnector$1 in file:/evergreen/data/jenkins/var/plugins/docker-plugin/WEB-INF/lib/docker-plugin.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            {noformat}

            We should probably fix the Docker plugin as recommended in https://jenkins.io/redirect/serialization-of-anonymous-classes/

            Issue number in Sentry: {{EVERGREEN-35}}
            Jenkins is sending warnings like these:

            {noformat}

            Attempt to (de-)serialize anonymous class io.jenkins.docker.connector.DockerComputerConnector$1 in file:/evergreen/data/jenkins/var/plugins/docker-plugin/WEB-INF/lib/docker-plugin.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            {noformat}

            We should probably fix the Docker plugin as recommended in https://jenkins.io/redirect/serialization-of-anonymous-classes/

            Issue number in Sentry: {{EVERGREEN-35}}

            https://github.com/jenkinsci/docker-plugin/blob/7d45cf050ed9cad27f1bf51818ca30ac3108fbed/src/main/java/io/jenkins/docker/connector/DockerComputerConnector.java#L104-L119 has to be pulled out as a full blown class, AFAIU. (thanks to Jesse for finding it)
            batmat Baptiste Mathus made changes -
            Assignee Jesse Glick [ jglick ]
            batmat Baptiste Mathus made changes -
            Labels evergreen-triggered sentry evergreen evergreen-triggered sentry
            batmat Baptiste Mathus made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            batmat Baptiste Mathus made changes -
            Assignee Baptiste Mathus [ batmat ]
            batmat Baptiste Mathus made changes -
            Sprint Evergreen - Milestone 2 [ 516 ]
            batmat Baptiste Mathus made changes -
            Description Jenkins is sending warnings like these:

            {noformat}

            Attempt to (de-)serialize anonymous class io.jenkins.docker.connector.DockerComputerConnector$1 in file:/evergreen/data/jenkins/var/plugins/docker-plugin/WEB-INF/lib/docker-plugin.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            {noformat}

            We should probably fix the Docker plugin as recommended in https://jenkins.io/redirect/serialization-of-anonymous-classes/

            Issue number in Sentry: {{EVERGREEN-35}}

            https://github.com/jenkinsci/docker-plugin/blob/7d45cf050ed9cad27f1bf51818ca30ac3108fbed/src/main/java/io/jenkins/docker/connector/DockerComputerConnector.java#L104-L119 has to be pulled out as a full blown class, AFAIU. (thanks to Jesse for finding it)
            Jenkins is sending warnings like these:

            {noformat}
            Attempt to (de-)serialize anonymous class io.jenkins.docker.connector.DockerComputerConnector$1 in file:/evergreen/data/jenkins/var/plugins/docker-plugin/WEB-INF/lib/docker-plugin.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            {noformat}

            We should probably fix the Docker plugin as recommended in https://jenkins.io/redirect/serialization-of-anonymous-classes/

            Issue number in Sentry: {{EVERGREEN-35}}

            https://github.com/jenkinsci/docker-plugin/blob/7d45cf050ed9cad27f1bf51818ca30ac3108fbed/src/main/java/io/jenkins/docker/connector/DockerComputerConnector.java#L104-L119 has to be pulled out as a full blown class, AFAIU. (thanks to Jesse for finding it)
            batmat Baptiste Mathus made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            batmat Baptiste Mathus made changes -
            Remote Link This issue links to "docker-plugin PR (Web Link)" [ 21841 ]
            batmat Baptiste Mathus made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]

              People

              Assignee:
              batmat Baptiste Mathus
              Reporter:
              batmat Baptiste Mathus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: