Re: for junit results "Build.xml" file running time "BUILD FAILED" problem.

92 views
Skip to first unread message

saiSelTesting

unread,
Jan 14, 2013, 5:18:06 AM1/14/13
to seleniu...@googlegroups.com


On Sunday, January 13, 2013 12:36:42 AM UTC+5:30, saiSelTesting wrote:
hi friends,
 my program runs successful in junit 4.
 i want to get junit reports ,but running  "Build.xml"  file,i  am  getting  "BUILD FAILED" problem.
how can i run????????
and what the problem that one which i mentioned below.???

thanks in advance.



[junitreport] Processing C:\s\lib\pract_ex\selenium\junit\TESTS-TestSuites.xml to C:\Users\som\AppData\Local\Temp\null943123166
[junitreport] Loading stylesheet jar:file:/C:/eclipse-jee-indigo/eclipse/plugins/org.apache.ant_1.8.2.v20110505-1300/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] : Error! The first argument to the non-static Java function 'replace' is not a valid object reference.
[junitreport] : Error! Cannot convert data-type 'void' to 'reference'.
[junitreport] : Fatal Error! Could not compile stylesheet
[junitreport] Failed to process C:\sai\lib\pract_ex\selenium\junit\TESTS-TestSuites.xml

BUILD FAILED
C:\s\lib\pract_ex\selenium\build.xml:64: Errors while applying transformations: Fatal error during transformation


Total time: 20 seconds

Sudheer Qa

unread,
May 26, 2015, 4:55:40 AM5/26/15
to seleniu...@googlegroups.com

The resolution for this issue is explained clearly in this blogger. 

Please have a look at it.. 

http://tobeanexpert.blogspot.in/2015/05/generate-xslt-report-ant-buildxml.html

I hope this will helps you.. 

Thanks, 
sudheer.
Reply all
Reply to author
Forward
0 new messages