Unable to generate html report

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to generate html report

JROCK2004
I believe this may be a testNG problem, but seems like something is going wrong when trying to generate the html report


Build info: version: '2.32.0', revision: '6c40c187d01409a5dc3b7f8251859150c8af0bcb', time: '2013-04-09 10:39:28'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.18-194.el5xen', java.version: '1.6.0_45'
Driver info: driver.version: EventFiringWebDriver
Exception in thread "Thread-1" java.lang.NullPointerException
	at org.openqa.selenium.io.FileHandler.delete(FileHandler.java:132)
	at org.openqa.selenium.io.TemporaryFilesystem.deleteTemporaryFiles(TemporaryFilesystem.java:129)
	at org.openqa.selenium.io.TemporaryFilesystem$1.run(TemporaryFilesystem.java:36)
[TestNG] Reporter org.uncommons.reportng.JUnitXMLReporter@6b0a2d64 failed
java.lang.NullPointerException
	at org.uncommons.reportng.AbstractReporter.removeEmptyDirectories(AbstractReporter.java:209)
	at org.uncommons.reportng.JUnitXMLReporter.generateReport(JUnitXMLReporter.java:63)
	at org.testng.TestNG.generateReports(TestNG.java:1089)
	at org.testng.TestNG.run(TestNG.java:1048)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
[TestNG] Reporter org.uncommons.reportng.HTMLReporter@3a21b220 failed
java.lang.NullPointerException
	at org.uncommons.reportng.AbstractReporter.removeEmptyDirectories(AbstractReporter.java:209)
	at org.uncommons.reportng.HTMLReporter.generateReport(HTMLReporter.java:93)
	at org.testng.TestNG.generateReports(TestNG.java:1089)
	at org.testng.TestNG.run(TestNG.java:1048)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 115.283 sec <<< FAILURE!


Thoughts?

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Unable to generate html report

Krishnan Mahadevan
I don't think TestNG is at fault here. Perhaps ReportNG ? [ this is not part of TestNG]. 

On Wednesday, July 3, 2013, jrock2004 wrote:
I believe this may be a testNG problem, but seems like something is going wrong when trying to generate the html report


Build info: version: '2.32.0', revision: '6c40c187d01409a5dc3b7f8251859150c8af0bcb', time: '2013-04-09 10:39:28'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.18-194.el5xen', java.version: '1.6.0_45'
Driver info: driver.version: EventFiringWebDriver
Exception in thread "Thread-1" java.lang.NullPointerException
	at org.openqa.selenium.io.FileHandler.delete(FileHandler.java:132)
	at org.openqa.selenium.io.TemporaryFilesystem.deleteTemporaryFiles(TemporaryFilesystem.java:129)
	at org.openqa.selenium.io.TemporaryFilesystem$1.run(TemporaryFilesystem.java:36)
[TestNG] Reporter org.uncommons.reportng.JUnitXMLReporter@6b0a2d64 failed
java.lang.NullPointerException
	at org.uncommons.reportng.AbstractReporter.removeEmptyDirectories(AbstractReporter.java:209)
	at org.uncommons.reportng.JUnitXMLReporter.generateReport(JUnitXMLReporter.java:63)
	at org.testng.TestNG.generateReports(TestNG.java:1089)
	at org.testng.TestNG.run(TestNG.java:1048)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
[TestNG] Reporter org.uncommons.reportng.HTMLReporter@3a21b220 failed
java.lang.NullPointerException
	at org.uncommons.reportng.AbstractReporter.removeEmptyDirectories(AbstractReporter.java:209)
	at org.uncommons.reportng.HTMLReporter.generateReport(HTMLReporter.java:93)
	at org.testng.TestNG.generateReports(TestNG.java:1089)
	at org.testng.TestNG.run(TestNG.java:1048)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 115.283 sec <<< FAILURE!


Thoughts?

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:_e({}, &#39;cvml&#39;, &#39;testng-users%2Bunsubscribe@googlegroups.com&#39;);" target="_blank">testng-users+unsubscribe@....
To post to this group, send email to <a href="javascript:_e({}, &#39;cvml&#39;, &#39;testng-users@googlegroups.com&#39;);" target="_blank">testng-users@....
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


--
Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Unable to generate html report

Tran Tuan Minh
In reply to this post by JROCK2004
Hi, you should contact Daniel Dyer, he's friendly and very open to troubleshoot these kind of problems related to ReportNG (I asked for his help once).

p/s: html report I believe is the reportng output file and from your post, all I can see is it has something to do with the reportng, not testng.

On Wednesday, July 3, 2013 10:47:35 PM UTC+7, jrock2004 wrote:
I believe this may be a testNG problem, but seems like something is going wrong when trying to generate the html report


Build info: version: '2.32.0', revision: '6c40c187d01409a5dc3b7f8251859150c8af0bcb', time: '2013-04-09 10:39:28'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.18-194.el5xen', java.version: '1.6.0_45'
Driver info: driver.version: EventFiringWebDriver
Exception in thread "Thread-1" java.lang.NullPointerException
	at org.openqa.selenium.io.FileHandler.delete(FileHandler.java:132)
	at org.openqa.selenium.io.TemporaryFilesystem.deleteTemporaryFiles(TemporaryFilesystem.java:129)
	at org.openqa.selenium.io.TemporaryFilesystem$1.run(TemporaryFilesystem.java:36)
[TestNG] Reporter org.uncommons.reportng.JUnitXMLReporter@6b0a2d64 failed
java.lang.NullPointerException
	at org.uncommons.reportng.AbstractReporter.removeEmptyDirectories(AbstractReporter.java:209)
	at org.uncommons.reportng.JUnitXMLReporter.generateReport(JUnitXMLReporter.java:63)
	at org.testng.TestNG.generateReports(TestNG.java:1089)
	at org.testng.TestNG.run(TestNG.java:1048)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
[TestNG] Reporter org.uncommons.reportng.HTMLReporter@3a21b220 failed
java.lang.NullPointerException
	at org.uncommons.reportng.AbstractReporter.removeEmptyDirectories(AbstractReporter.java:209)
	at org.uncommons.reportng.HTMLReporter.generateReport(HTMLReporter.java:93)
	at org.testng.TestNG.generateReports(TestNG.java:1089)
	at org.testng.TestNG.run(TestNG.java:1048)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 115.283 sec <<< FAILURE!


Thoughts?

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Unable to generate html report

JROCK2004
I opened an issue on his github page so I hope he can get back to me on this. Thanks guys

On Wednesday, July 3, 2013 10:06:14 PM UTC-4, Tran Tuan Minh wrote:
Hi, you should contact Daniel Dyer, he's friendly and very open to troubleshoot these kind of problems related to ReportNG (I asked for his help once).

p/s: html report I believe is the reportng output file and from your post, all I can see is it has something to do with the reportng, not testng.

On Wednesday, July 3, 2013 10:47:35 PM UTC+7, jrock2004 wrote:
I believe this may be a testNG problem, but seems like something is going wrong when trying to generate the html report


Build info: version: '2.32.0', revision: '6c40c187d01409a5dc3b7f8251859150c8af0bcb', time: '2013-04-09 10:39:28'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.18-194.el5xen', java.version: '1.6.0_45'
Driver info: driver.version: EventFiringWebDriver
Exception in thread "Thread-1" java.lang.NullPointerException
	at org.openqa.selenium.io.FileHandler.delete(FileHandler.java:132)
	at org.openqa.selenium.io.TemporaryFilesystem.deleteTemporaryFiles(TemporaryFilesystem.java:129)
	at org.openqa.selenium.io.TemporaryFilesystem$1.run(TemporaryFilesystem.java:36)
[TestNG] Reporter org.uncommons.reportng.JUnitXMLReporter@6b0a2d64 failed
java.lang.NullPointerException
	at org.uncommons.reportng.AbstractReporter.removeEmptyDirectories(AbstractReporter.java:209)
	at org.uncommons.reportng.JUnitXMLReporter.generateReport(JUnitXMLReporter.java:63)
	at org.testng.TestNG.generateReports(TestNG.java:1089)
	at org.testng.TestNG.run(TestNG.java:1048)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
[TestNG] Reporter org.uncommons.reportng.HTMLReporter@3a21b220 failed
java.lang.NullPointerException
	at org.uncommons.reportng.AbstractReporter.removeEmptyDirectories(AbstractReporter.java:209)
	at org.uncommons.reportng.HTMLReporter.generateReport(HTMLReporter.java:93)
	at org.testng.TestNG.generateReports(TestNG.java:1089)
	at org.testng.TestNG.run(TestNG.java:1048)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 115.283 sec <<< FAILURE!


Thoughts?

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/groups/opt_out.