checkstyle error in jenkins

399 views
Skip to first unread message

seonguk.baek

unread,
Nov 25, 2011, 1:12:34 AM11/25/11
to Jenkins Users
I want to see checkstyle report in jenkins.
So I installed checkstyle plugin and my configure is simple as
below...

============================================
Post-build Actions
Publish Checkstyle analysis results

Checkstyle results : **/checkstyle-result.xml
============================================

I tested with 1mb sized checkstyle-result.xml file.
But it takes too long time-several hrs- in phase of '[CHECKSTYLE]
Collecting checkstyle analysis files...'.
And I met below error message.

============================================================================================================================================
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Parsing 1 files in /home/jenkins/build_result/workspace/
p940
[CHECKSTYLE] Successfully parsed file /home/jenkins/build_result/
workspace/p940/checkstyle/checkstyle-result.xml of module with 1432
warnings.
ERROR: Publisher hudson.plugins.checkstyle.CheckStylePublisher aborted
due to exception
com.thoughtworks.xstream.mapper.CannotResolveClassException:
hudson.plugins.analysis.util.model.FileAnnotation :
hudson.plugins.analysis.util.model.FileAnnotation
at
com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:
68)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:
38)
at
com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:
71)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:
38)
at
com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:
88)
============================================================================================================================================

Does anyone know what is a problem?
Please help...

Ullrich Hafner

unread,
Nov 25, 2011, 2:38:21 AM11/25/11
to jenkins...@googlegroups.com
Seems that you did not install the analysis-core plug-in.

Ulli

Reply all
Reply to author
Forward
0 new messages