Pallav

save image in fusion charts

Recommended Posts

Dear Vidya,

I tried it but still i am not able to save the image.

Steps followed.

  1. Unzipped the v3ImageExample file, renames as v3ImageExample.war

2. Transfered JSClass,Gallery &  Charts folders to the server

  But Still i am not able to save the images. I am getting the below error.

Please help me.

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 34 in the jsp file: /Includes/FusionChartsRenderer.jsp

Generated servlet error:

The method parseBoolean(String) is undefined for the type Boolean

An error occurred at line: 34 in the jsp file: /Includes/FusionChartsRenderer.jsp

Generated servlet error:

The method parseBoolean(String) is undefined for the type Boolean

 

at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)

at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)

at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)

at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)

at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)

at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)

at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)

at org.apache.jsp.ImageExample_jsp._jspService(org.apache.jsp.ImageExample_jsp:101)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)

at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)

at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)

at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)

at java.lang.Thread.run(Thread.java:534)

 

 

Share this post


Link to post
Share on other sites

Dear Sir,

  Please help still i am not ablt to save the images. As you said, I replaced FusionChartsRenderer.zip files in includes folder which you posted on 22-12-2008(refer the attachement). 

My Java Verion is :  j2sdk1.4.2_05.

Jboss Version : jboss-4.0.2

Console Error:

13:02:39,807 INFO  [server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 19s:507ms

13:03:54,632 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 36 in the jsp file: /Includes/FusionChartsRenderer.jsp

Generated servlet error:

Type mismatch: cannot convert from Boolean to boolean

An error occurred at line: 36 in the jsp file: /Includes/FusionChartsRenderer.jsp

Generated servlet error:

The method boolToNum(Boolean) in the type FusionChartsRenderer_jsp is not applicable for the arguments (boolean)

An error occurred at line: 36 in the jsp file: /Includes/FusionChartsRenderer.jsp

Generated servlet error:

Type mismatch: cannot convert from Boolean to boolean

An error occurred at line: 36 in the jsp file: /Includes/FusionChartsRenderer.jsp

Generated servlet error:

The method boolToNum(Boolean) in the type FusionChartsRenderer_jsp is not applicable for the arguments (boolean)

 

  at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)

  at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)

  at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)

  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)

  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)

  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)

  at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)

  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)

  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)

  at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)

  at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)

  at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)

  at org.apache.jsp.ImageExample_jsp._jspService(org.apache.jsp.ImageExample_jsp:101)

  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)

  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

  at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)

  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)

  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)

  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)

  at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

  at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)

  at java.lang.Thread.run(Thread.java:534)

Please guide me to solve the issues. If possible please post the complete war files.

 Regds,

 Sachin.H

 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now