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

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • remoting
    • None
    • Jenkins 2.121.2, credentials-plugin 2.1.18

      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/ 

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

          Matthias Keller created issue -
          Lionel FÉLICITÉ made changes -
          Assignee Original: Stephen Connolly [ stephenconnolly ] New: Lionel FÉLICITÉ [ deogracia ]
          Lionel FÉLICITÉ made changes -
          Assignee Original: Lionel FÉLICITÉ [ deogracia ] New: Stephen Connolly [ stephenconnolly ]

          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/
          

          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/
          Jesse Glick made changes -
          Remote Link New: This issue links to "remoting PR 282 (Web Link)" [ 21346 ]
          Jesse Glick made changes -
          Assignee Original: Stephen Connolly [ stephenconnolly ] New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Jesse Glick made changes -
          Component/s New: remoting [ 15489 ]
          Component/s Original: credentials-plugin [ 16523 ]

          Jesse Glick added a comment -

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

          Jesse Glick added a comment - Not really a JEP-200 issue, this is a separate warning system added after JEP-200.
          Jesse Glick made changes -
          Labels Original: JEP-200

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

              Created:
              Updated:
              Resolved: