Jump to content
We've recently updated our Privacy Statement, available here ×

swarupakp

Members
  • Posts

    4
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by swarupakp

  1. Hi, I have added new Variable TotalQty.In that TotalQty Properties wise i have converted String field value to Integer by using new Integer($F{QTY}} . And Varibale Type is ---> java.lang.Integer and Calculation Type is ---> Sum. and Variable Expession is ---> new Integer($F{QTY}) when i m running the report in iReport its generating the report but i m calling that .jasper file from my JSP Page its showing the following error.. at net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression : Source text : $F{QTY} at net.sf.jasperreports.engine.fill.JREvaluator.evaluateEstimated(JREvaluator.java:257) at net.sf.jasperreports.engine.fill.JRCalculator.evaluateEstimated(JRCalculator.java:528) at net.sf.jasperreports.engine.fill.JRCalculator.estimateVariables(JRCalculator.java:173) at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:753) at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:1422) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:111) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:879) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:801) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601) at jsp_servlet.__printpdf._jspService(__printpdf.java:216) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) Caused by: java.lang.ClassCastException I am not getting where i m doing wrong plss help me..I m using iReport 3.0.0
  2. Hi I need to kill the process which is running behind in between if the user cancels the report, through the UI.We will be generating report by opening window..Report will process and export the PDF format report.But if the report is taking more time to load the jasper object and filling the data in between if user closes the window it will show Stack Overflow error in server ..If it is repeating 4-5 times then weblogic server itself will shutdown.So we wants to kill the process when the report is running inside if user closes the window how to find which thread i need to kill. How do I solve this? Is there a way to stop a report that has already started? Any other technique?Basically what I want to do is to kill the running process. Thanks in advanceSwarupa.
  3. Thanq.Its Working..I have given in iReport Pattern as ###0.00..If it is double its working..But some times i may have String.B'coz I m converting field value (Inches to Cms) .So for that if i am having the in field i need to multiply with 2.54.But if the field value will be null that time its giving Null Pointer Exception..So to avoid that i can convert null to 0 then i can multiply..But we shouldnt show 0 in that place..If its null i have to show empty string over there..So if i m taking the field in String type..I can apply Blank when null..But the format is not coming i am doing like below. (new Double(Double.parseDouble($F{Inches})*2.54).toString(). The result is String type.But i want to show in ###0.00 this format..But its not roundfig the value after the point..Its showing 111.1258 .But i want the value like 111.13. If it is string its not converting..I knew we cannot truncate with String type values..But why the pattern is available if the data is in String type..
  4. I m using iReport 3.0.0 The value which is of Double type having 10.566899952 .I want to convert this value to 10.57. How to roundfig the value in jasper reports..If anybody knows the answer pls help me..
×
×
  • Create New...