Discussion:
Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver and hudson.maven.reporters.MavenFingerprinter
g***@ge.com
2018-08-10 16:53:57 UTC
Permalink
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 jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a8fc504e-46c7-4014-8d3c-34994273f132%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
g***@ge.com
2018-08-14 01:26:32 UTC
Permalink
?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.
Post by g***@ge.com
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 jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d562606f-3246-4e2c-944a-fdde4cdb06a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Devin Nusbaum
2018-08-14 13:42:55 UTC
Permalink
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.
?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.
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 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 jenkinsci-users+***@googlegroups.com.
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.
Devin Nusbaum
2018-11-28 14:01:31 UTC
Permalink
As the linked page <https://jenkins.io/redirect/serialization-of-anonymous-classes/> 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 GitHub pull request] to convert them to named classes would be welcome [because I do not think there are any active maintainers working on the plugin so this error will not be fixed otherwise].
It looks like someone reported the issue on the bug tracker: JENKINS-53481 <https://issues.jenkins-ci.org/browse/JENKINS-53481> and a PR was opened to fix it: https://github.com/jenkinsci/maven-plugin/pull/120 <https://github.com/jenkinsci/maven-plugin/pull/120>, but I do not know if there are any active maintainers who can merge and release the fix.
--
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 jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/86338662-52F4-43A0-B9FF-281138312A91%40cloudbees.com.
For more options, visit https://groups.google.com/d/optout.
Olivier Lamy
2018-11-29 10:15:05 UTC
Permalink
Hi
Merged.
Release tomorrow.
Cheers
Olivier
Post by Devin Nusbaum
As the linked page
<https://jenkins.io/redirect/serialization-of-anonymous-classes/> explains,
anonymous classes can cause various problems when serializing objects in
Jenkins, so these messages are printed as a warning so we can identify
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 GitHub pull request]
to convert them to named classes would be welcome [because I do not think
there are any active maintainers working on the plugin so this error will
not be fixed otherwise].
It looks like someone reported the issue on the bug tracker: JENKINS-53481
<https://issues.jenkins-ci.org/browse/JENKINS-53481> and a PR was opened
to fix it: https://github.com/jenkinsci/maven-plugin/pull/120, but I do
not know if there are any active maintainers who can merge and release the
fix.
--
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 jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d768b862-8201-4fe5-b380-d453f6416421%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Olivier Lamy
2018-11-30 04:13:20 UTC
Permalink
release done and available via your favourite update center!
Enjoy your weekend using the so great Jenkins Maven Integration Plugin!!
Cheers
Olivier
Post by Olivier Lamy
Hi
Merged.
Release tomorrow.
Cheers
Olivier
Post by Devin Nusbaum
As the linked page
<https://jenkins.io/redirect/serialization-of-anonymous-classes/> explains,
anonymous classes can cause various problems when serializing objects in
Jenkins, so these messages are printed as a warning so we can identify
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 GitHub pull request]
to convert them to named classes would be welcome [because I do not think
there are any active maintainers working on the plugin so this error will
not be fixed otherwise].
JENKINS-53481 <https://issues.jenkins-ci.org/browse/JENKINS-53481> and a
https://github.com/jenkinsci/maven-plugin/pull/120, but I do not know if
there are any active maintainers who can merge and release the fix.
--
You received this message because you are subscribed to a topic in the
Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/jenkinsci-users/Rajpz7YGGBc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/d768b862-8201-4fe5-b380-d453f6416421%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/d768b862-8201-4fe5-b380-d453f6416421%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Olivier Lamy
http://twitter.com/olamy | http://linkedin.com/in/olamy
--
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 jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPoyBqRZ1wRO9dT96gZLLz1_uFzM_XaHEYgrnzcrio5_uJpadw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Pranav Kv
2018-11-30 04:28:10 UTC
Permalink
Thank You So much Mr. Oliver.
Could you please update the status in jira? The jira status showing "fixed
but unreleased"
https://issues.jenkins-ci.org/browse/JENKINS-53481

Thanks,
Pranav
Post by Olivier Lamy
release done and available via your favourite update center!
Enjoy your weekend using the so great Jenkins Maven Integration Plugin!!
Cheers
Olivier
Post by Olivier Lamy
Hi
Merged.
Release tomorrow.
Cheers
Olivier
Post by Devin Nusbaum
As the linked page
<https://jenkins.io/redirect/serialization-of-anonymous-classes/> explains,
anonymous classes can cause various problems when serializing objects in
Jenkins, so these messages are printed as a warning so we can identify
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 GitHub pull request]
to convert them to named classes would be welcome [because I do not think
there are any active maintainers working on the plugin so this error will
not be fixed otherwise].
JENKINS-53481 <https://issues.jenkins-ci.org/browse/JENKINS-53481> and
https://github.com/jenkinsci/maven-plugin/pull/120, but I do not know
if there are any active maintainers who can merge and release the fix.
--
You received this message because you are subscribed to a topic in the
Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/jenkinsci-users/Rajpz7YGGBc/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/d768b862-8201-4fe5-b380-d453f6416421%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/d768b862-8201-4fe5-b380-d453f6416421%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Olivier Lamy
http://twitter.com/olamy | http://linkedin.com/in/olamy
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/CAPoyBqRZ1wRO9dT96gZLLz1_uFzM_XaHEYgrnzcrio5_uJpadw%40mail.gmail.com
<https://groups.google.com/d/msgid/jenkinsci-users/CAPoyBqRZ1wRO9dT96gZLLz1_uFzM_XaHEYgrnzcrio5_uJpadw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit 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 jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAHwQEk%2BFAAYcZ7DoycQOJf-NivQ3r5%2Bb%3D8p1By%2BzAJYHGB2wfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
g***@ge.com
2018-08-14 14:07:06 UTC
Permalink
Thank you Devin!!! I'm sorry what is a PR ? a Problem Report? Jenkins
Jira.
Post by g***@ge.com
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 jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4148464d-5dd8-46ce-bca1-2583afa60835%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Devin Nusbaum
2018-08-14 14:22:59 UTC
Permalink
A PR is a Pull Request on GitHub <https://help.github.com/articles/about-pull-requests/>. Here is the offending plugin’s source code: https://github.com/jenkinsci/maven-plugin <https://github.com/jenkinsci/maven-plugin>. You could instead open an issue on Jira if you are not comfortable with Java development, but I don’t know how much time the Maven Plugin maintainers have to work on the plugin so it may be a while before anyone fixes it.
Thank you Devin!!! I'm sorry what is a PR ? a Problem Report? Jenkins Jira.
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 view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4148464d-5dd8-46ce-bca1-2583afa60835%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/4148464d-5dd8-46ce-bca1-2583afa60835%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 jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3089AF7D-F499-4819-86D0-A2E2C2285488%40cloudbees.com.
For more options, visit https://groups.google.com/d/optout.
g***@ge.com
2018-08-14 15:43:17 UTC
Permalink
thank you Devin! greatly appreciate it.
Post by g***@ge.com
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 jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/417a159a-8f5a-48fb-9ec5-24037f43c88c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ale rajesh
2018-11-27 20:09:35 UTC
Permalink
Did you find any answer. am facing the same issue
Post by g***@ge.com
thank you Devin! greatly appreciate it.
Post by g***@ge.com
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 jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ea21832d-0fd2-46de-a702-a97df7c1834b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Pranav Kv
2018-11-28 05:22:56 UTC
Permalink
Any one can comment on this? I'm also getting the same warning in jenkins
2.121.1

Regards
Peanav
Post by ale rajesh
Did you find any answer. am facing the same issue
Post by g***@ge.com
thank you Devin! greatly appreciate it.
Post by g***@ge.com
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/ea21832d-0fd2-46de-a702-a97df7c1834b%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/ea21832d-0fd2-46de-a702-a97df7c1834b%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit 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 jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAHwQEk%2BjWZp23XB4Qh3KxnEb5u%2B6MD72EajKJVpHW-uPOgF%3D5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...