My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 303: Not able to perform the PDF export.
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Mar 2011


 
Reported by xianyin...@gmail.com, Feb 11, 2011
What steps will reproduce the problem?
1. set up the version of 3.0.3 example
2. explore http://localhost:8080/WebContent/presidents.run
3. click the PDF export icon

What is the expected output? What do you see instead?
Export PDF document sucessfully. But there is an exception.

12093 ["http-bio-8080"-exec-1] ERROR org.jmesa.facade.TableFacade  - Not able to perform the PDF export.
java.lang.ClassCastException: org.jmesa.view.component.Table cannot be cast to org.jmesa.view.html.component.HtmlTable
	at org.jmesa.view.pdf.PdfView.render(PdfView.java:89)
	at org.jmesa.view.pdf.PdfViewExporter.export(PdfViewExporter.java:55)
	at org.jmesa.facade.TableFacade.renderExport(TableFacade.java:874)
	at org.jmesa.facade.TableFacade.render(TableFacade.java:852)
	at org.jmesa.model.TableModel.render(TableModel.java:325)
	at org.jmesaweb.controller.BasicPresidentController.handleRequestInternal(BasicPresidentController.java:74)
	at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
	at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

What version of the product are you using? On what operating system?
3.0.3

Please provide any additional information below.


Feb 11, 2011
Project Member #1 jeff.johnston.mn@gmail.com
The PDF view takes an HtmlTable and converts it using the flying saucer api. The other option is to use the PDFP view, which takes a regular Table. The PDFP view is less fancy looking than the PDF view, but technically it is more simple.
Feb 11, 2011
#2 xianyin...@gmail.com
Thanks for your quick reply sincerely, I'll try it now. :)
Feb 11, 2011
#3 xianyin...@gmail.com
Changed to PDFP option it get worked, but how can it work well with PDP option? 
Mar 10, 2011
Project Member #4 jeff.johnston.mn@gmail.com
Not sure if we really have a problem with this or not...closing for now.
Status: Invalid

Powered by Google Project Hosting