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

Attempt to (de-)serialize anonymous class in gitclient

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • git-client-plugin
    • None
    • Jenkins 2.121.2
      git-client-plugin 2.7.3
      git-plugin 3.9.1
    • git-client-3.0.0-beta4

    Description

      I'm seeing those warnings in the log related to git-client:

      WARNING: Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.gitclient.Git$1 in file:/var/lib/jenkins/plugins/git-client/WEB-INF/lib/git-client.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      Aug 08, 2018 10:58:57 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
      WARNING: Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1 in file:/var/lib/jenkins/plugins/git-client/WEB-INF/lib/git-client.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ 

      Attachments

        Issue Links

          Activity

            I have the same warnings:

             

            WARNING: Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.gitclient.Git$1 in file:/var/jenkins_home/plugins/git-client/WEB-INF/lib/git-client.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            org.jenkinsci.remoting.util.AnonymousClassWarnings warn 
            WARNING: Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1 in file:/var/jenkins_home/plugins/git-client/WEB-INF/lib/git-client.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            

             

            I'm running Jenkins version: 2.135

            git-client plugin version: 2.7.3

            git plugin version: 3.9.1

             

            eslam Eslam ElHusseiny added a comment - I have the same warnings:   WARNING: Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.gitclient.Git$1 in file:/ var /jenkins_home/plugins/git-client/WEB-INF/lib/git-client.jar; see: https: //jenkins.io/redirect/serialization-of-anonymous-classes/ org.jenkinsci.remoting.util.AnonymousClassWarnings warn WARNING: Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1 in file:/ var /jenkins_home/plugins/git-client/WEB-INF/lib/git-client.jar; see: https: //jenkins.io/redirect/serialization-of-anonymous-classes/   I'm running Jenkins version: 2.135 git-client plugin version: 2.7.3 git plugin version: 3.9.1  

            eslam this is expected. This fix is merged and released, but only in git-client-3.0.0-beta4. I.e. not available in the default update center.

            Note that I'm not the maintainer, so I do not know if a non-beta version is planned soon.

            batmat Baptiste Mathus added a comment - eslam this is expected. This fix is merged and released, but only in git-client-3.0.0-beta4 . I.e. not available in the default update center. Note that I'm not the maintainer, so I do not know if a non-beta version is planned soon.

            People

              jsoref Josh Soref
              seldor Matthias Keller
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: