-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File is getting error while generating the pdf even the case is also passes #22
Comments
@Wal-Ramiz please go through the configuration properly, looks like its missing the some configuration, is sample code is working fine? |
@uttesh Yeah uttesh sample code is working fine and followed the exact steps which you mentioned while configuring it. |
@Wal-Ramiz send the full build log. |
@uttesh I got the some error on my side :( any update for this issue ? Thanks |
@abdelwahebg please send the error detail and this issue come only when configuration is not correct. Make sure configuration is correct |
@uttesh We got an empty report in the specific directory |
@uttesh Any update for this issue ? Thanks |
No error found when using this configuration (2.0.10 version): |
@uttesh My scripts are running successfully and report is also generating but the size of the pdf file is always zero bytes because of which unable to open it. Also getting below error, can you please help me with this ? |
Can you please help in this regard,
Oct 06, 2016 11:47:26 AM com.uttesh.pdfngreport.PDFReportListener generateReport
SEVERE: null
com.uttesh.pdfngreport.exceptionHandler.ReportException: Failed generating PDF report.
at com.uttesh.pdfngreport.PDFGenerator.generateReport(PDFGenerator.java:88)
at com.uttesh.pdfngreport.PDFReportListener.generateReport(PDFReportListener.java:91)
at org.testng.TestNG.generateReports(TestNG.java:1089)
at org.testng.TestNG.run(TestNG.java:1048)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:152)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:57)
Caused by: java.lang.NullPointerException
at com.uttesh.pdfngreport.util.pdf.GenerateTable.populateColumnHeader(GenerateTable.java:247)
at com.uttesh.pdfngreport.util.pdf.GenerateTable.generate(GenerateTable.java:63)
at com.uttesh.pdfngreport.util.pdf.SuccessTable.populateData(SuccessTable.java:40)
at com.uttesh.pdfngreport.util.pdf.SuccessTable.populateSingleTableData(SuccessTable.java:58)
at com.uttesh.pdfngreport.PDFGenerator.getTable(PDFGenerator.java:149)
at com.uttesh.pdfngreport.PDFGenerator.populatePassedListTable(PDFGenerator.java:97)
at com.uttesh.pdfngreport.PDFGenerator.generateReport(PDFGenerator.java:71)
... 6 more
The text was updated successfully, but these errors were encountered: