• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Jenkins 2.113, config-file-plugin 2.18

      Jenkins log shows the following on boot;  the plugin is still working so this is more of an FYI

      Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.configfiles.GlobalConfigFiles$1 in file:/var/lib/jenkins/plugins/config-file-provider/WEB-INF/lib/config-file-provider.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/

       

      The instructions include a command to locate the offending lines, here's the output:

      javap -classpath /var/lib/jenkins/plugins/config-file-provider/WEB-INF/lib/config-file-provider.jar -l 'org.jenkinsci.plugins.configfiles.GlobalConfigFiles$1'
      Compiled from "GlobalConfigFiles.java"
      final class org.jenkinsci.plugins.configfiles.GlobalConfigFiles$1 implements java.util.Comparator<org.jenkinsci.lib.configprovider.model.Config> {
      org.jenkinsci.plugins.configfiles.GlobalConfigFiles$1();
      LineNumberTable:
      line 30: 0
      LocalVariableTable:
      Start Length Slot Name Signature
      0 5 0 this Lorg/jenkinsci/plugins/configfiles/GlobalConfigFiles$1;

      public int compare(org.jenkinsci.lib.configprovider.model.Config, org.jenkinsci.lib.configprovider.model.Config);
      LineNumberTable:
      line 33: 0
      LocalVariableTable:
      Start Length Slot Name Signature
      0 12 0 this Lorg/jenkinsci/plugins/configfiles/GlobalConfigFiles$1;
      0 12 1 o1 Lorg/jenkinsci/lib/configprovider/model/Config;
      0 12 2 o2 Lorg/jenkinsci/lib/configprovider/model/Config;

      public int compare(java.lang.Object, java.lang.Object);
      LineNumberTable:
      line 30: 0
      LocalVariableTable:
      Start Length Slot Name Signature
      0 13 0 this Lorg/jenkinsci/plugins/configfiles/GlobalConfigFiles$1;
      }

       

          [JENKINS-50457] Attempt to (de-)serialize anonymous class

          jim woodlock created issue -
          Strajan Sebastian made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Dominik Bartholdi made changes -
          Assignee Original: Dominik Bartholdi [ domi ]
          Josh Soref made changes -
          Link New: This issue is duplicated by JENKINS-49977 [ JENKINS-49977 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Josh Soref made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Josh Soref made changes -
          Assignee New: Josh Soref [ jsoref ]
          Josh Soref made changes -
          Link New: This issue is duplicated by JENKINS-52948 [ JENKINS-52948 ]
          Josh Soref made changes -
          Link New: This issue is duplicated by JENKINS-52946 [ JENKINS-52946 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            jsoref Josh Soref
            jimw jim woodlock
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: