Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Charts failing in web viewer
johnrellis
Hi All, <br />
<br />
I have deployed the web viewer example (2.3) onto a jboss application server on a linux system, i can generate reports fine, however when I try to generate a report with a chart, the chart fails with the following error showing up on the report:<br />
"<br />
<em class='bbc'>The following items have errors:<br />
<br />
Chart NewChart:<br />
+ CREATE_EXTENSION_FAIL </em><br />
"<br />
<br />
Any help with this is greatly appreciated!<br />
John<br />
<br />
<br />
The jboss error trace is as follows:<br />
<br />
2008-07-07 14:22:58,407 INFO [STDOUT] 07-Jul-2008 14:22:58 org.eclipse.birt.chart.reportitem.ChartReportItemPresentationBase isNoDataException<br />
SEVERE: ChartReportItemPresentationImpl: onRowSets(...) - failed<br />
2008-07-07 14:22:58,409 INFO [STDOUT] 07-Jul-2008 14:22:58 org.eclipse.birt.chart.reportitem.ChartReportItemPresentationBase isNoDataException<br />
WARNING: Exception<br />
org.eclipse.birt.chart.exception.ChartException: CREATE_EXTENSION_FAIL<br />
at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:1121)<br />
at org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginSettings.java:504)<br />
at org.eclipse.birt.chart.api.ChartEngine.getRenderer(ChartEngine.java:116)<br />
at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationBase.prepareDeviceRenderer(ChartReportItemPresentationBase.java:994)<br />
at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationBase.onRowSets(ChartReportItemPresentationBase.java:714)<br />
at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationProxy.onRowSets(ChartReportItemPresentationProxy.java:105)<br />
at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.processExtendedContent(LocalizedContentVisitor.java:865)<br />
at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.visitForeign(LocalizedContentVisitor.java:476)<br />
at org.eclipse.birt.report.engine.content.impl.ForeignContent.accept(ForeignContent.java:69)<br />
at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localize(LocalizedContentVisitor.java:149)<br />
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:36)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:63)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:27)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:133)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:104)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:153)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:27)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:133)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:68)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:27)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layoutChildren(HTMLTableLM.java:76)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:133)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:68)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:90)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:101)<br />
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:151)<br />
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:72)<br />
at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:928)<br />
at org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(BirtViewerReportService.java:876)<br />
at org.eclipse.birt.report.service.actionhandler.BirtGetPageAllActionHandler.__execute(BirtGetPageAllActionHandler.java:123)<br />
at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:89)<br />
at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)<br />
at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:159)<br />
at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleGetPageAll(BirtDocumentProcessor.java:183)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
at java.lang.reflect.Method.invoke(Method.java:597)<br />
at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:111)<br />
at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
at java.lang.reflect.Method.invoke(Method.java:597)<br />
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)<br />
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)<br />
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)<br />
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)<br />
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)<br />
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)<br />
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)<br />
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)<br />
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)<br />
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:225)<br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br />
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)<br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)<br />
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:112)<br />
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<br />
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)<br />
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)<br />
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)<br />
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)<br />
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<br />
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<br />
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)<br />
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)<br />
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)<br />
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<br />
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<br />
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)<br />
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<br />
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)<br />
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)<br />
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)<br />
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)<br />
at java.lang.Thread.run(Thread.java:619)<br />
Caused by: org.eclipse.birt.core.framework.FrameworkException: CREATE_EXTENSION_FAIL<br />
at org.eclipse.birt.core.framework.eclipse.EclipseConfigurationElement.createExecutableExtension(EclipseConfigurationElement.java:39)<br />
at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:1117)<br />
... 79 more
Find more posts tagged with
Comments
mwilliams
Hi Johnrellis,<br />
<br />
Don't know if this is what you're problem is, but it might be worth checking out.<br />
<br />
<a class='bbc_url' href='
http://wiki.eclipse.org/BIRT/FAQ/Charts2.2#Charts_not_rendering_on_Unix_systems'>http://wiki.eclipse.org/BIRT/FAQ/Charts2.2#Charts_not_rendering_on_Unix_systems</a><br
/>
<br />
It's from the eclipse charts faq page.
johnrellis
Hi Michael,
Thanks for the reply but unfortunately that is not my problem, it's quite strange as the test report produces the same error and i just cant seem to find an answer anywhere!
Ah well, i shall have to keep at it! Here's hoping it'll work out soon!
John
johnrellis
Actually, turns out that you were right with the wiki suggestion<br />
<br />
<a class='bbc_url' href='
http://wiki.eclipse.org/BIRT/FAQ/Charts2.2#Charts_not_rendering_on_Unix_systems'>http://wiki.eclipse.org/BIRT/FAQ/Charts2.2#Charts_not_rendering_on_Unix_systems</a><br
/>
<br />
but there was another issue hiding my real problem. My JBoss Server was configured to use PJA so once i removed all references to the PJA graphics toolkit and pja.jar from my JAVA_OPTIONS i got the X11 error described in the above wiki. However, the wiki also states that using Java 5 will fix this problem, this is not true for JBoss at least as the option <br />
<br />
JAVA_OPTS="$JAVA_OPTS -Dprogram.name=$PROGNAME -Djava.awt.headless=true"<br />
<br />
Is still required even though I am using Java 6!<br />
<br />
John