I'm trying to run Centric (now Concursive) CRM on a linux box. I have it up and running except a couple of pages do not work, apparently because they use charts. When looking at tomcat's catalina.out I get errors like the following whenever the bad pages are clicked:
The actual exception is hard to pin down thanks to the super generic last line there. Note that the package darkhorseventures is part of the Centric CRM stuff. It appears to be an issue with JFreeChart but I'm not well versed in the errors presented. Can anyone explain the problem and possibly propose a solution?
Code:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.darkhorseventures.framework.servlets.ControllerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.IncompatibleClassChangeError: Found class com.sun.image.codec.jpeg.JPEGImageEncoder, but interface was expected
at org.jfree.chart.encoders.SunJPEGEncoderAdapter.encode(SunJPEGEncoderAdapter.java:136)
at org.jfree.chart.encoders.EncoderUtil.writeBufferedImage(EncoderUtil.java:153)
at org.jfree.chart.ChartUtilities.writeChartAsJPEG(ChartUtilities.java:473)
at org.jfree.chart.ChartUtilities.saveChartAsJPEG(ChartUtilities.java:582)
at org.aspcfs.modules.contacts.actions.Sales.executeCommandDashboard(Unknown Source)
... 20 more
Exception. MESSAGE = null
The actual exception is hard to pin down thanks to the super generic last line there. Note that the package darkhorseventures is part of the Centric CRM stuff. It appears to be an issue with JFreeChart but I'm not well versed in the errors presented. Can anyone explain the problem and possibly propose a solution?