Hi Gary, As the linked page explains, anonymous classes can cause various problems when serializing objects in Jenkins, so these messages are printed as a warning so we can identify potential issues. I think these are the anonymous classes in question: MavenArtifactArchiver$2 <https://github.com/jenkinsci/maven-plugin/blob/7ac83fa85fda0c4d1d02663059644f0655823879/src/main/java/hudson/maven/reporters/MavenArtifactArchiver.java#L131>, MavenFingerprinter$1 <https://github.com/jenkinsci/maven-plugin/blob/7ac83fa85fda0c4d1d02663059644f0655823879/src/main/java/hudson/maven/reporters/MavenFingerprinter.java#L112>. It looks like they are only used for remoting, so a PR to convert them to named classes would be welcome.
> On Aug 13, 2018, at 21:26, [email protected] wrote: > > ?IS this a Bug? I don't know. I guess noone really watches this support > forum. I will enter a bug ticket to get some response. thank you. > > On Friday, August 10, 2018 at 12:07:57 PM UTC-5, [email protected] wrote: > Hello, > > > I was on Jenkins 1.6.x I’ve upgraded and fresh install of Jenkins 2.136. > > > Since the upgrade I continuously get these warnings. I’m not sure what this > is saying. Any help would be greatly appreciated. Thanks! > > > I looked at the doc, but, don’t know what to do with it. > > > [WARNING] Attempt to (de-)serialize anonymous class > hudson.maven.reporters.MavenArtifactArchiver$2; see: > https://jenkins.io/redirect/serialization-of-anonymous-classes/ > <https://jenkins.io/redirect/serialization-of-anonymous-classes/> > [WARNING] Attempt to (de-)serialize anonymous class > hudson.maven.reporters.MavenFingerprinter$1; see: > https://jenkins.io/redirect/serialization-of-anonymous-classes/ > <https://jenkins.io/redirect/serialization-of-anonymous-classes/> > > > Thanks! > > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/d562606f-3246-4e2c-944a-fdde4cdb06a1%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-users/d562606f-3246-4e2c-944a-fdde4cdb06a1%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/BA8AE3A5-A5D6-4FD3-8937-2D75D3984FC3%40cloudbees.com. For more options, visit https://groups.google.com/d/optout.
