User (Legacy) Posted March 21, 2005 Report Share Posted March 21, 2005 Hello, I need to build Stacked Pie diagramm using ChartFX for Java and found a good example in Programmer's Guide (http://support.softwarefx.com/onlinedoc/cfxjava/samples/stacked.htm). This sample code uses setDoughnutThickness method to set thickness for outer doughnut. I built my stacked pie based on this example and everythig worked fine with ChartFX trial version. However, when we moved to production version we got the following exception: 500 Internal Server Error java.lang.NoSuchMethodError: SoftwareFX.ChartFX.Pie.setDoughnutThickness(S)V at ru.bat.census.web.charts.ChannelSale.buildChart(Unknown Source) at ru.bat.census.web.charts.AbstractChart.getData(Unknown Source) at ru.bat.census.web.charts.ChartServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispa tcher.java:765) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletReq uestDispatcher.java:317) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandle r.java:790) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableRe sourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534) Looks like the production version doesn't support the setDoughnutThickness method (I didn't even find it in Javadoc API). Is there another way to set thickness property for outer doughnut? We use Chart FX for Java Production Server Win 6.0 on Oracle Application Server 10g. Thank you, Inna Skorina Link to comment Share on other sites More sharing options...
Software FX Posted March 21, 2005 Report Share Posted March 21, 2005 Hi, Please check the version of both chartfx.jar that you are using (trial and production). It seems like you are running an older version in the Oracle server. Be sure you are running the latest version, currently 6.0.1734, you can get it from http://support.softwarefx.com/cfxjava/. Just in case, to check the cfxjava.jar version just do: "java -jar chartfx.jar -version" GA SoftwareFX "Inna Skorina" <Inna.Skorina@aplana.com> wrote in message news:fS19E7gLFHA.3800@webserver3.softwarefx.com... > Hello, > > I need to build Stacked Pie diagramm using ChartFX for Java and found a > good > example in Programmer's Guide > (http://support.softwarefx.com/onlinedoc/cfxjava/samples/stacked.htm). > This sample code uses setDoughnutThickness method to set thickness for > outer > doughnut. > I built my stacked pie based on this example and everythig worked fine > with > ChartFX trial version. > However, when we moved to production version we got the following > exception: > > 500 Internal Server Error > java.lang.NoSuchMethodError: > SoftwareFX.ChartFX.Pie.setDoughnutThickness(S)V > at ru.bat.census.web.charts.ChannelSale.buildChart(Unknown > Source) > at ru.bat.census.web.charts.AbstractChart.getData(Unknown > Source) > at ru.bat.census.web.charts.ChartServlet.doGet(Unknown > Source) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at com.evermind[Oracle Application Server Containers for > J2EE 10g > (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispa > tcher.java:765) > at com.evermind[Oracle Application Server Containers for > J2EE 10g > (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletReq > uestDispatcher.java:317) > at com.evermind[Oracle Application Server Containers for > J2EE 10g > (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandle > r.java:790) > at com.evermind[Oracle Application Server Containers for > J2EE 10g > (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208) > at com.evermind[Oracle Application Server Containers for > J2EE 10g > (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125) > at com.evermind[Oracle Application Server Containers for > J2EE 10g > (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableRe > sourcePooledExecutor.java:192) > at java.lang.Thread.run(Thread.java:534) > > Looks like the production version doesn't support the setDoughnutThickness > method (I didn't even find it in Javadoc API). > Is there another way to set thickness property for outer doughnut? > > We use Chart FX for Java Production Server Win 6.0 on Oracle Application > Server 10g. > > Thank you, > Inna Skorina > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.