| Summary: | BirtViewer crashes when SVG is turned on | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Ingo <Ingo.leiking> | ||||
| Component: | BIRT | Assignee: | Birt-ReportViewer <Birt-ReportViewer-inbox> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | bluesoldier | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 3.7.0 | ||||||
| Hardware: | PC | ||||||
| OS: | other | ||||||
| Whiteboard: | Obsolete | ||||||
| Attachments: |
|
||||||
Were you using the example viewer to view the chart reports? Yes. Without any modification. (In reply to comment #1) > Were you using the example viewer to view the chart reports? Still can not reproduce this issue with BIRT 2.6.1 release. My steps: 1. Deploy WebViewerExample on Tomcat 6.0 on Windows Server 2008 R2 Enterprise. 2. JDK version: 1.6.0_20 64bit 3. Visit the WebViewerExample and embedded sample report test1.rptdesign: http://vm-win-01:8080/WebViewerExample/frameset?__report=test1.rptdesign&__format=pdf&__svg=true http://vm-win-01:8080/WebViewerExample/run?__report=test1.rptdesign&__format=pdf&__svg=true The pdf was rendered correctly. (In reply to comment #3) Try to leave off the format=pdf and render it as html. PDF rendering works but the charts are not svg graphics (although I don't know if they were specified in the report itself as svgs...) (In reply to comment #4) > (In reply to comment #3) > > Try to leave off the format=pdf and render it as html. PDF rendering works but > the charts are not svg graphics (although I don't know if they were specified > in the report itself as svgs...) Tried with: http://vm-win-01:8080/WebViewerExample/frameset?__report=test1.rptdesign&__svg=true http://vm-win-01:8080/WebViewerExample/frameset?__report=test1.rptdesign&__svg=false Both works fine in IE/FF. As for the svg charts in pdf, please refer to: https://bugs.eclipse.org/bugs/show_bug.cgi?id=300774 Created attachment 191273 [details]
screenshot of 2.6.1 web viewer
Very strange. I still get the exception on my machine. According to your screenshot I saw that it should work, so I tried another VM with Win 2008 with the newest JDK and Tomcat for 64 Bit. It works! Great! I think I have to check/upgrade our main server now... Sorry for the inconvenience caused! (In reply to comment #6) > Created attachment 191273 [details] > screenshot of 2.6.1 web viewer |
Build Identifier: 2.6.1 When adding the parameter &__svg=true in the calling url I get the following exception: 03.01.2011 15:18:33 org.eclipse.birt.report.engine.api.impl.RenderTask render SCHWERWIEGEND: Error happened while running the report. java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(Unknown Source) at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown Source) at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown Source) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(Unknown Source) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source) at org.eclipse.birt.chart.device.svg.SVGRendererImpl.writeDocumentToOutputStream(SVGRendererImpl.java:318) at org.eclipse.birt.chart.device.svg.SVGRendererImpl.after(SVGRendererImpl.java:251) at org.eclipse.birt.chart.factory.Generator.render(Generator.java:1311) ... 'm running it on a Tomcat 6 on a Windows 2008 Server with JDK 6 64Bit. When creating a pdf via the reportengine directly (Java code) everything works fine. Reproducible: Always Steps to Reproduce: 1. A report with charts 2. &__svg=false --> works 3. &__svg=true --> fails