Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Chart error in webviewer sample+Tomcat/JDK1.5(Chart deployment issues)
Chart error in webviewer sample+Tomcat/JDK1.5 [message #652701] Sat, 05 February 2011 12:49 Go to next message
No real name is currently offline No real name
Messages: 2
Registered: February 2011
Junior Member
Hi,

I am using Tomcat/JDK 1.5 and so far have been able to work fine with tables etc, however when it comes to chart, it is not displaying and the stack trace error is in below, can you help? Thanks in advance!

Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.eclips
e.birt.chart.device.image.PngRendererImpl
at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unkno wn Source
)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingC
onstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 32)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createEx
ecutableExtension(RegistryStrategyOSGI.java:184)
... 68 more
Feb 5, 2011 11:52:25 AM org.eclipse.birt.report.data.oda.jdbc.Connection close
WARNING: JDBC connection: com.mysql.jdbc.JDBC4Connection@6982237d is closed
Feb 5, 2011 11:52:39 AM org.eclipse.birt.report.data.oda.jdbc.Connection open
WARNING: JDBC connection: com.mysql.jdbc.JDBC4Connection@7ec4f67b is opened
Feb 5, 2011 11:52:40 AM org.eclipse.birt.report.engine.presentation.LocalizedCon
tentVisitor processExtendedContent
SEVERE: CREATE_EXTENSION_FAIL
org.eclipse.birt.chart.exception.ChartException: CREATE_EXTENSION_FAIL
at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObjec t(PluginS
ettings.java:1257)
at org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginS ettings.j
ava:633)
at org.eclipse.birt.chart.api.ChartEngine.getRenderer(ChartEngi ne.java:1
19)
at org.eclipse.birt.chart.reportitem.ChartReportItemPresentatio nBase.pre
pareDeviceRenderer(ChartReportItemPresentationBase.java:1096 )
at org.eclipse.birt.chart.reportitem.ChartReportItemPresentatio nBase.gen
erateRenderObject(ChartReportItemPresentationBase.java:853)
at org.eclipse.birt.chart.reportitem.ChartReportItemPresentatio nBase.onR
owSets(ChartReportItemPresentationBase.java:819)
at org.eclipse.birt.chart.reportitem.ChartReportItemPresentatio nProxy.on
RowSets(ChartReportItemPresentationProxy.java:108)
at org.eclipse.birt.report.engine.presentation.LocalizedContent Visitor.p
rocessExtendedContent(LocalizedContentVisitor.java:1023)
at org.eclipse.birt.report.engine.presentation.LocalizedContent Visitor.l
ocalizeForeign(LocalizedContentVisitor.java:579)
at org.eclipse.birt.report.engine.presentation.LocalizedContent Visitor.l
ocalize(LocalizedContentVisitor.java:163)
at org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReport
ItemExecutor.execute(LocalizedReportItemExecutor.java:37)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layout
Nodes(HTMLBlockStackingLM.java:65)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPage
LM.java:90)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.lay
out(HTMLReportLayoutEngine.java:99)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR un(RunAnd
RenderTask.java:180)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRe
nderTask.java:77)
at org.eclipse.birt.report.service.ReportEngineService.runAndRe nderRepor
t(ReportEngineService.java:920)
at org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderR
eport(BirtViewerReportService.java:973)
at org.eclipse.birt.report.service.actionhandler.BirtGetPageAll ActionHan
dler.__execute(BirtGetPageAllActionHandler.java:131)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandl
er.execute(AbstractBaseActionHandler.java:90)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc umentProc
essor.__executeAction(AbstractBaseDocumentProcessor.java:47)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentPro
cessor.executeAction(AbstractBaseComponentProcessor.java:143 )
at org.eclipse.birt.report.soapengine.processor.BirtDocumentPro cessor.ha
ndleGetPageAll(BirtDocumentProcessor.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentPro
cessor.process(AbstractBaseComponentProcessor.java:112)
at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI mpl.getUp
datedObjects(BirtSoapBindingImpl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.j
ava:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider
.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:
323)
at org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrateg
y.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService .java:454
)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281 )
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServle t.java:69
9)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doPo
st(BirtSoapMessageDispatcherServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBas
e.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.serv
ice(BirtSoapMessageDispatcherServlet.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Appl
icationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
ilterChain.java:188)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF ilter.jav
a:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Appl
icationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
ilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextV
alve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.j
ava:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.j
ava:117)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineVal
ve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.jav
a:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java
:879)
at org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.p
rocessConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpo
int.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFol
lowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadP
ool.java:689)
at java.lang.Thread.run(Thread.java:636)
Caused by: org.eclipse.birt.core.framework.FrameworkException: CREATE_EXTENSION_
FAIL
at org.eclipse.birt.core.framework.eclipse.EclipseConfiguration Element.c
reateExecutableExtension(EclipseConfigurationElement.java:39 )
at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObjec t(PluginS
ettings.java:1253)
... 63 more
Caused by: org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.birt.cha
rt.device.extension" was unable to instantiate class "org.eclipse.birt.chart.dev
ice.image.PngRendererImpl".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .throwExc
eption(RegistryStrategyOSGI.java:194)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createEx
ecutableExtension(RegistryStrategyOSGI.java:188)
at org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutable
Extension(ExtensionRegistry.java:904)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecuta
bleExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createE
xecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.birt.core.framework.eclipse.EclipseConfiguration Element.c
reateExecutableExtension(EclipseConfigurationElement.java:35 )
... 64 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.eclips
e.birt.chart.device.image.PngRendererImpl
at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unkno wn Source
)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingC
onstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 32)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createEx
ecutableExtension(RegistryStrategyOSGI.java:184)
... 68 more
Re: Chart error in webviewer sample+Tomcat/JDK1.5 [message #652703 is a reply to message #652701] Sat, 05 February 2011 12:53 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 2
Registered: February 2011
Junior Member
also, the same report with CHART works perfect on windows all-in-one eclipse/birt installation
Re: Chart error in webviewer sample+Tomcat/JDK1.5 [message #652985 is a reply to message #652703] Mon, 07 February 2011 14:10 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Is this a linux os that is not working? Do images work?

Jason

On 2/5/2011 12:53 PM, qiangieee@yahoo.com wrote:
> also, the same report with CHART works perfect on windows all-in-one
> eclipse/birt installation
Previous Topic:Best practice for dynamically modifying a report
Next Topic:Multiple Instances of the BIRT Viewer
Goto Forum:
  


Current Time: Tue Jul 22 15:45:52 EDT 2014

Powered by FUDForum. Page generated in 0.03666 seconds