Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2011-05-14 18:14:12,652 [http-8080-1] ERROR pdf.PdfService - groovy.lang.MissingMethodException: No signature of method: org.xhtmlrenderer.pdf.ITextRenderer.setDocumentFromString() is applicable for argument types: (java.lang.String, java.lang.String) values: [
- <title>Cats!</title>
- <meta equiv="Content-Type" content="text/html; charset=UTF-8">
- <style><br /> .sample_table {<br /> width:60%;<br /> background-color:#b2b2b2;<br /> }<br /> .sample_table th {<br /> text-align:center;<br /> text-decoration:underline;<br /> }<br /> .sample_table td {<br /> padding:7px;<br /> background-color: #fff;<br /> }<br /> .small_text {<br /> font-size:8pt;<br /> }<br /> </style>
- <table>
- <thead>
- <tr>
- <th class="sortable"><a href="http://www.blogger.com/ScaffoldingBug/pdf/pdfForm?sort=id&order=asc">Id</a></th>
- <th class="sortable"><a href="http://www.blogger.com/ScaffoldingBug/pdf/pdfForm?sort=name&order=asc">Name</a></th>
- <th class="sortable"><a href="http://www.blogger.com/ScaffoldingBug/pdf/pdfForm?sort=age&order=asc">Age</a></th>
- <th class="sortable"><a href="http://www.blogger.com/ScaffoldingBug/pdf/pdfForm?sort=lives&order=asc">Lives</a></th>
- </tr>
- </thead>
- <tbody>
- </tbody>
- </table>
- , http://localhost:8080/ScaffoldingBug]
- Possible solutions: setDocumentFromString(java.lang.String)
- there was a problem with PDF generation java.lang.NullPointerException: Cannot get property 'length' on null object
- 2011-05-14 18:14:12,740 [http-8080-1] ERROR errors.GrailsExceptionResolver - Exception occurred when processing request: [POST] /ScaffoldingBug/pdf/pdfForm - parameters:
- template: /cat/table
- printPdf: Export to PDF via PDF plugin
- filename: cats.pdf
- catInstanceList: [Sasha, Pandora, Minino]
- Stacktrace follows:
- org.codehaus.groovy.grails.web.servlet.mvc.exceptions.CannotRedirectException: Cannot issue a redirect(..) here. The response has already been committed either by another redirect or by directly writing to the response.
- at pdf.PdfController$_closure3.doCall(PdfController.groovy:73)
- at pdf.PdfController$_closure3.doCall(PdfController.groovy)
- at java.lang.Thread.run(Thread.java:662)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement