Hi, we are trying to display a jasperReport in our Formspider application. We update the file server both on /webapps/jasperserver/WEB-INF/lib and /webapps/formspider/WEB-INF/lib (by the way: which is the correct one?) in order to allign the version of jasperserver and iReport. But still we receive the error that follow. Could you please let us know why? Thank you very much in advance S&S

Error occured while displaying report net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression : Source text : new java.lang.Integer(1) net.sf.jasperreports.engine.fill.JREvaluator.evaluateEstimated(JREvaluator.java:267) net.sf.jasperreports.engine.fill.JRCalculator.evaluateEstimated(JRCalculator.java:582) net.sf.jasperreports.engine.fill.JRCalculator.estimateVariables(JRCalculator.java:181) net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:1234) net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:1208) net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:1554) net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:149) net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:909) net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:822) net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:61) net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:446) net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:407) net.sf.jasperreports.engine.JasperRunManager.runToPdfStream(JasperRunManager.java:201) net.sf.jasperreports.engine.JasperRunManager.runReportToPdfStream(JasperRunManager.java:720) co.gerger.bdf.view.JasperReportsServlet.doGet(JasperReportsServlet.java:106) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) co.gerger.filters.GZIPFilter.doFilter(GZIPFilter.java:48) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) java.lang.Thread.run(Thread.java:724)

asked 21 Oct '13, 09:27

Arsinform's gravatar image

Arsinform
1113
accept rate: 0%

Hi,

Can you specify the jasperReport version that you have used?

Regards,
Ibrahim

(21 Oct '13, 12:12) Ibrahim Sand... ♦♦

Hi, we use iReport designer 5.1.0 and jasperReportServer 5.1.0. We installed Formspider on Linux version 2.6.32-358.11.1.el6.x86_64 Red Hat 4.4.7-3 and we set the web.xml file like this:

<context-param> <param-name>databaseURL</param-name> <param-value>@databaseURL@</param-value> <param-value>jdbc:oracle:thin:@host:1521:XE</param-value> </context-param> <context-param> <param-name>reportCommand</param-name> <param-value>@reportCommand@</param-value> </context-param> <context-param> <param-name>databaseTNSName</param-name> <param-value>@databaseTNSName@</param-value> </context-param> <context-param> <param-name>databaseUsername</param-name> <param-value>SCHEMA_NAME</param-value> </context-param> <context-param> <param-name>databasePassword</param-name> <param-value>SCHEMA_PASSWD</param-value> </context-param> <context-param> <param-name>fileDirectory</param-name> <param-value>/reports/</param-value> </context-param> <context-param> <param-name>tempDirectory</param-name> <param-value>@tempDirectory - eg: c:\reports\temp\ @</param-value> </context-param>

Thanks

(25 Oct '13, 08:59) Arsinform

Hi,

Currently, Formspider does not support iReport designer 5.1.0 and jasperReportServer 5.1.0. We will investigate this problem and fix it in future releases. In the meantime, please use iReport designer 4.6.0 and jasperReportServer 4.6.0 if it's possible for you.

Best Regards,
Ibrahim

(26 Oct '13, 05:45) Ibrahim Sand... ♦♦

Thank you for your kind replay. Could you please let us know where to find the version of iReport and jasperReportServer you indicate? May I suggest to specify this "limit" also in the tutorial? Best regards S&S

(28 Oct '13, 11:06) Arsinform

Hi,

You can find the indicated iReport version here. Formspider middletier already contains necessary jasper report server files.

(30 Oct '13, 18:30) Ibrahim Sand... ♦♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×43
×5
×1
×1
×1

Asked: 21 Oct '13, 09:27

Seen: 5,247 times

Last updated: 30 Oct '13, 18:30


© Copyright Gerger 2017