Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338073

Summary: Error occured while launching chart from Birt
Product: z_Archived Reporter: shameem <shnazeer>
Component: BIRTAssignee: Birt-Chart-inbox <Birt-Chart-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: major    
Priority: P3 CC: bluesoldier, hmariswa, Lionel.wyl
Version: unspecified   
Target Milestone: 3.7.0   
Hardware: PC   
OS: Linux   
Whiteboard: Obsolete

Description shameem CLA 2011-02-24 07:24:30 EST
Build Identifier: 

  org.eclipse.birt.chart.exception.ChartException: CREATE_EXTENSION_FAIL
	at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:987)
	at org.eclipse.birt.chart.util.PluginSettings.getDisplayServer(PluginSettings.java:545)
	at org.eclipse.birt.chart.device.swing.SwingRendererImpl.init(SwingRendererImpl.java:130)
	at org.eclipse.birt.chart.device.swing.SwingRendererImpl.<init>(SwingRendererImpl.java:122)
	at org.eclipse.birt.chart.device.image.JavaxImageIOWriter.<init>(JavaxImageIOWriter.java:123)
	at org.eclipse.birt.chart.device.image.PngRendererImpl.<init>(PngRendererImpl.java:18)
	at java.lang.Class.newInstanceImpl(Native Method)
	at java.lang.Class.newInstance(Class.java:1328)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
	at org.eclipse.birt.core.framework.eclipse.EclipseConfigurationElement.createExecutableExtension(EclipseConfigurationElement.java:35)
	at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:983)
	at org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginSettings.java:464)
	at org.eclipse.birt.chart.api.ChartEngine.getRenderer(ChartEngine.java:116)
	at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationImpl.onRowSets(ChartReportItemPresentationImpl.java:479)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.processExtendedContent(LocalizedContentVisitor.java:772)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.visitForeign(LocalizedContentVisitor.java:414)
	at org.eclipse.birt.report.engine.content.impl.ForeignContent.accept(ForeignContent.java:59)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localize(LocalizedContentVisitor.java:145)
	at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:36)
	at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:63)
	at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:85)
	at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:106)
	at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:583)
	at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:267)
	at com.ibm.tivoli.tip.chart.commands.RunReportCommand.runReport(RunReportCommand.java:315)
	at com.ibm.tivoli.tip.chart.commands.RunReportCommand.runCommand(RunReportCommand.java:161)
	at com.ibm.tivoli.tip.chart.commands.ModifyReportCommand.runCommand(ModifyReportCommand.java:147)
	at com.ibm.tivoli.tip.ui.common.CommandHandler.handleCommand(CommandHandler.java:158)
	at com.ibm.tivoli.tip.chart.TIPChartController.doGet(TIPChartController.java:173)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:525)
	at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:751)
	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:126)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
	at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
Caused by: org.eclipse.birt.core.framework.FrameworkException: CREATE_EXTENSION_FAIL
	at org.eclipse.birt.core.framework.eclipse.EclipseConfigurationElement.createExecutableExtension(EclipseConfigurationElement.java:39)
	at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:983)

Reproducible: Always

Steps to Reproduce:
1.Create a new chart
2.
3.
Comment 1 Xiaoying Gu CLA 2011-02-24 20:09:04 EST
How do you run the chart report? Can you reproduce this issue in the All-In-One build?
Comment 2 Xiaoying Gu CLA 2011-02-27 22:27:44 EST
Comments from shameem:

we run the report from our UI(Tivoli Integrated portal) and we use BIRT runtime libraries in our runtime which renders the charts. The birt version we use is 2.2.1
Comment 3 Xiaoying Gu CLA 2011-02-27 22:30:40 EST
Is there any chances you could try with the latest release 2.6.2?

We don't have this issue in the deployed birt-runtime viewing reports with charts. Please contact the 3rd party vendor for the integrate issue.
Comment 4 Harshini Prakash CLA 2011-03-04 03:03:07 EST
We cannot upgrade the BIRT version now. Please note that this is an issue for only  one of our customer - it works fine for others - so we want to know what are the scenarios under which this error is thrown - We are unable to find out what is different in this particular customer's environment.
Comment 5 Harshini Prakash CLA 2011-03-08 02:17:41 EST
Can we have an update on this one please? Our customer is looking for an answer.
Comment 6 Yulin Wang CLA 2011-03-09 01:33:10 EST
According to the error log you provided, it seems there are issues during OSGi class loading.
The probable cause is that some required plugins are missing. 
You need to check if BIRT can work independently in your platform, and then integrate it to your product.
Comment 7 Harshini Prakash CLA 2011-03-17 13:22:25 EDT
We checked all plugins - all plugins are available and nothing is missing. We even copied the entire setup to another machine where it works fine. So it looks like something specific to that machine. I am pasting the entire stack trace for your information

[2/21/11 12:25:48:137 EST] 00000024               W org.eclipse.birt.chart.exception.ChartException logThis Exception
                                 org.eclipse.birt.chart.exception.ChartException: CREATE_EXTENSION_FAIL
	at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:987)
	at org.eclipse.birt.chart.util.PluginSettings.getDisplayServer(PluginSettings.java:545)
	at org.eclipse.birt.chart.device.swing.SwingRendererImpl.init(SwingRendererImpl.java:130)
	at org.eclipse.birt.chart.device.swing.SwingRendererImpl.<init>(SwingRendererImpl.java:122)
	at org.eclipse.birt.chart.device.image.JavaxImageIOWriter.<init>(JavaxImageIOWriter.java:123)
	at org.eclipse.birt.chart.device.image.PngRendererImpl.<init>(PngRendererImpl.java:18)
	at java.lang.Class.newInstanceImpl(Native Method)
	at java.lang.Class.newInstance(Class.java:1328)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
	at org.eclipse.birt.core.framework.eclipse.EclipseConfigurationElement.createExecutableExtension(EclipseConfigurationElement.java:35)
	at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:983)
	at org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginSettings.java:464)
	at org.eclipse.birt.chart.api.ChartEngine.getRenderer(ChartEngine.java:116)
	at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationImpl.onRowSets(ChartReportItemPresentationImpl.java:479)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.processExtendedContent(LocalizedContentVisitor.java:772)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.visitForeign(LocalizedContentVisitor.java:414)
	at org.eclipse.birt.report.engine.content.impl.ForeignContent.accept(ForeignContent.java:59)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localize(LocalizedContentVisitor.java:145)
	at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:36)
	at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:63)
	at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:85)
	at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:106)
	at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:583)
	at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:267)
	at com.ibm.tivoli.tip.chart.commands.RunReportCommand.runReport(RunReportCommand.java:315)
	at com.ibm.tivoli.tip.chart.commands.RunReportCommand.runCommand(RunReportCommand.java:161)
	at com.ibm.tivoli.tip.chart.commands.ModifyReportCommand.runCommand(ModifyReportCommand.java:147)
	at com.ibm.tivoli.tip.ui.common.CommandHandler.handleCommand(CommandHandler.java:158)
	at com.ibm.tivoli.tip.chart.TIPChartController.doGet(TIPChartController.java:173)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:525)
	at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:751)
	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:126)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
	at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
Caused by: org.eclipse.birt.core.framework.FrameworkException: CREATE_EXTENSION_FAIL
	at org.eclipse.birt.core.framework.eclipse.EclipseConfigurationElement.createExecutableExtension(EclipseConfigurationElement.java:39)
	at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:983)
	... 52 more

[2/21/11 12:25:48:143 EST] 00000024               W org.eclipse.birt.chart.device.swing.SwingRendererImpl init Exception
                                 org.eclipse.birt.chart.exception.ChartException: CREATE_EXTENSION_FAIL
	at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:987)
	at org.eclipse.birt.chart.util.PluginSettings.getDisplayServer(PluginSettings.java:545)
	at org.eclipse.birt.chart.device.swing.SwingRendererImpl.init(SwingRendererImpl.java:130)
	at org.eclipse.birt.chart.device.swing.SwingRendererImpl.<init>(SwingRendererImpl.java:122)
	at org.eclipse.birt.chart.device.image.JavaxImageIOWriter.<init>(JavaxImageIOWriter.java:123)
	at org.eclipse.birt.chart.device.image.PngRendererImpl.<init>(PngRendererImpl.java:18)
	at java.lang.Class.newInstanceImpl(Native Method)
	at java.lang.Class.newInstance(Class.java:1328)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
	at org.eclipse.birt.core.framework.eclipse.EclipseConfigurationElement.createExecutableExtension(EclipseConfigurationElement.java:35)
	at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:983)
	at org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginSettings.java:464)
	at org.eclipse.birt.chart.api.ChartEngine.getRenderer(ChartEngine.java:116)
	at org.eclipse.birt.chart.reportitem.ChartReportItemPresentationImpl.onRowSets(ChartReportItemPresentationImpl.java:479)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.processExtendedContent(LocalizedContentVisitor.java:772)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.visitForeign(LocalizedContentVisitor.java:414)
	at org.eclipse.birt.report.engine.content.impl.ForeignContent.accept(ForeignContent.java:59)
	at org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor.localize(LocalizedContentVisitor.java:145)
	at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:36)
	at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:63)
	at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:85)
	at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:106)
	at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:583)
	at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:267)

Can you please help us in understanding what could be causing it?