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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: remoting
    • Labels:
      None
    • Environment:
      Jenkins 2.121.2, credentials-plugin 2.1.18
    • Similar Issues:

      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

            Hide
            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/
            
            Show
            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/
            Hide
            jglick Jesse Glick added a comment -

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

            Show
            jglick Jesse Glick added a comment - Not really a JEP-200 issue, this is a separate warning system added after JEP-200.
            Hide
            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.

            Show
            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.
            Hide
            jthompson Jeff Thompson added a comment -

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

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: