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

Attempt to (de-)serialize anonymous class com.cloudbees.plugins.credentials.CredentialsScope$2

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • remoting
    • None
    • Jenkins 2.121.2, credentials-plugin 2.1.18

    Description

      I'm seeing this warning in the logs:

      WARNING: Attempt to (de-)serialize anonymous class com.cloudbees.plugins.credentials.CredentialsScope$2 in file:/var/lib/jenkins/plugins/credentials/WEB-INF/lib/credentials.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ 

      Attachments

        Issue Links

          Activity

            Hi,

            I got this warning with 1.106, 1.121 and now with 1.234

            Here are mine (sorry, somme parts are n french):

            août 09, 2018 11:59:30 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
            AVERTISSEMENT: Attempt to (de-)serialize anonymous class com.cloudbees.plugins.credentials.CredentialsScope$2 in file:${JENKINS_HOME}/plugins/credentials/WEB-INF/lib/credentials.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            août 09, 2018 11:59:30 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
            AVERTISSEMENT: Attempt to (de-)serialize anonymous class com.cloudbees.plugins.credentials.CredentialsScope$1 in file:${JENKINS_HOME}/plugins/credentials/WEB-INF/lib/credentials.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            
            deogracia Lionel FÉLICITÉ added a comment - Hi, I got this warning with 1.106, 1.121 and now with 1.234 Here are mine (sorry, somme parts are n french): août 09, 2018 11:59:30 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn AVERTISSEMENT: Attempt to (de-)serialize anonymous class com.cloudbees.plugins.credentials.CredentialsScope$2 in file:${JENKINS_HOME}/plugins/credentials/WEB-INF/lib/credentials.jar; see: https: //jenkins.io/redirect/serialization-of-anonymous-classes/ août 09, 2018 11:59:30 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn AVERTISSEMENT: Attempt to (de-)serialize anonymous class com.cloudbees.plugins.credentials.CredentialsScope$1 in file:${JENKINS_HOME}/plugins/credentials/WEB-INF/lib/credentials.jar; see: https: //jenkins.io/redirect/serialization-of-anonymous-classes/
            jglick Jesse Glick added a comment -

            Not really a JEP-200 issue, this is a separate warning system added after JEP-200.

            jglick Jesse Glick added a comment - Not really a JEP-200 issue, this is a separate warning system added after JEP-200.
            jglick Jesse Glick added a comment -

            Fix integrated into master of Remoting. Next we need a release of that, then for it to be picked up in the core POM.

            jglick Jesse Glick added a comment - Fix integrated into master of Remoting. Next we need a release of that, then for it to be picked up in the core POM.
            jthompson Jeff Thompson added a comment -

            Released in the latest 3.26 version of Remoting. Merged to go into the next Jenkins release.

            jthompson Jeff Thompson added a comment - Released in the latest 3.26 version of Remoting. Merged to go into the next Jenkins release.

            People

              jglick Jesse Glick
              seldor Matthias Keller
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: