Hello,
I'm trying to plot a line graph using cewolf library in my
JSP page. But i'm getting the error and the stack trace is mentioned below in the end.
The datasource is being fetched from a
java file where all the processing is being done.
The bar graph is plotted when i use the same code with the following tag
But this code gives error whenever i replace "verticalbar3d" with the "line" in the 'type' parameter. i.e.
i can't figure out where the problem is.
The below written is the JSP code i'm using.
Whenever i execute this code , no line graph comes up and the graph area is replaced by an error image showing text "de.laures.cewolf.PreProcessingException raised"
PRINT STACK :
SEVERE: CewolfServlet: java.lang.ClassCastException raised by post processor 'graph.Dbdataprovider@15e2075'.
Post processing of this post processor has been ignored.
de.laures.cewolf.PostProcessingException: java.lang.ClassCastException raised by post processor 'graph.Dbdataprovider@15e2075'.
Post processing of this post processor has been ignored.
at de.laures.cewolf.taglib.AbstractChartDefinition.getChart(AbstractChartDefinition.java:161)
at de.laures.cewolf.taglib.ChartImageDefinition.ensureRendered(ChartImageDefinition.java:137)
at de.laures.cewolf.taglib.ChartImageDefinition.getSize(ChartImageDefinition.java:146)
at de.laures.cewolf.CewolfRenderer.doGet(CewolfRenderer.java:153)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)