YC Lian commented on Bug JENKINS-7666

I just bumped into this too. I don't have Findbugs enabled, and running the build outside of Jenkins won't have this issue (just to differentiate). Am on 1.502, the latest, and perhaps I will build with Maven 3 (this is a Maven 2 project).

$ ~/tools/hudson.tasks.Maven_MavenInstallation/Maven_2/bin/mvn clean install
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 50 seconds
[INFO] Finished at: Tue Feb 19 19:33:31 MYT 2013
[INFO] Final Memory: 102M/244M
[INFO] ------------------------------------------------------------------------

vs.

at hudson.tasks.junit.TestResult.parse(TestResult.java:284)
	at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:223)
	at hudson.tasks.junit.TestResult.parse(TestResult.java:192)
	at hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:148)
	at hudson.maven.Maven2Builder.postExecute(Maven2Builder.java:157)
	at hudson.maven.MavenBuilder$Adapter.postExecute(MavenBuilder.java:334)
	at hudson.maven.agent.PluginManagerInterceptor$1MojoIntercepterImpl.callPost(PluginManagerInterceptor.java:170)
	at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:183)
	... 34 more
Caused by: org.dom4j.DocumentException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
	at org.dom4j.io.SAXReader.read(SAXReader.java:484)
	at org.dom4j.io.SAXReader.read(SAXReader.java:264)
	at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:129)
	at hudson.tasks.junit.TestResult.parse(TestResult.java:267)
	... 41 more
Caused by: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
	at org.dom4j.DocumentFactory.getInstance(DocumentFactory.java:97)
	at org.dom4j.io.SAXReader.getDocumentFactory(SAXReader.java:645)
	at org.dom4j.io.SAXReader.createContentHandler(SAXReader.java:969)
	at org.dom4j.io.SAXReader.read(SAXReader.java:449)
	... 44 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 52 seconds
[INFO] Finished at: Tue Feb 19 19:22:14 MYT 2013
[INFO] Final Memory: 100M/239M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to