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

Attempt to (de-)serialize anonymous class in gitclient

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: git-client-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.121.2
      git-client-plugin 2.7.3
      git-plugin 3.9.1
    • Similar Issues:
    • Released As:
      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

            Hide
            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

             

            Show
            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  
            Hide
            batmat Baptiste Mathus added a comment -

            Eslam ElHusseiny 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.

            Show
            batmat Baptiste Mathus added a comment - Eslam ElHusseiny 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

              • Assignee:
                jsoref Josh Soref
                Reporter:
                seldor Matthias Keller
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: