lucee.runtime.exp.NativeException: Could not initialize class org.jfree.chart.JFreeChart


Solutions on the web1

Solution icon of web
via JIRA by Martin Sauer, 9 months ago
Could not initialize class org.jfree.chart.JFreeChart

Stack trace

lucee.runtime.exp.NativeException: Could not initialize class org.jfree.chart.JFreeChart
	at org.jfree.chart.ChartFactory.createBarChart(ChartFactory.java:923)
	at org.lucee.extension.chart.tag.Chart.chartBar(Chart.java:825)
	at org.lucee.extension.chart.tag.Chart.doEndTag(Chart.java:483)
	at module.statistik.statistik_stundenbudget_cfm$cf.call(/abc.cfm:68)
	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:918)
	at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:833)
	at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:828)
	at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:819)
	at module.statistik.index_cfm$cf.call(/module/statistik/index.cfm:6)
	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:918)
	at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:833)
	at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:828)
	at lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:62)
	at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44)
	at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2293)
	at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2284)
	at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2252)
	at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:891)
	at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102)
	at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jfree.chart.JFreeChart
	... 42 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.