net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression for source text: $F{categorie}] with root cause

0

I'm using JasperSoft Studio 6.3.1 for creating my report. This is library I used so far

    Jaspersoft Studio    6.3.1.final    com.jaspersoft.studio.rcp.product    null
    Jaspersoft Studio Community RCP Feature    6.3.1.final    com.jaspersoft.studio.rcp.feature.feature.group    TIBCO Software Inc.
      Command Line Interface for Java implementation of Git    4.3.0.201604071810-r    org.eclipse.jgit.pgm.feature.group    Eclipse JGit
      Eclipse CVS Client    1.4.201.v20160212-1500    org.eclipse.cvs.feature.group    Eclipse.org
      Eclipse Git Team Provider    4.3.0.201604071810-r    org.eclipse.egit.feature.group    Eclipse EGit
      Eclipse Help System    2.1.2.v20160212-1500    org.eclipse.help.feature.group    Eclipse.org
      Eclipse RCP    4.5.2.v20160212-1500    org.eclipse.rcp.feature.group    Eclipse.org
      Equinox p2, Provisioning for IDEs.    2.2.102.v20160129-0947    org.eclipse.equinox.p2.user.ui.feature.group    Eclipse.org - Equinox
      Internationalization Support for Jasperosoft Studio    1.0.0.nl    com.jaspersoft.studio.i18n.feature.feature.group    Jaspersoft Corportation
      Jaspersoft Studio feature    6.3.1.final    com.jaspersoft.studio.feature.feature.group    TIBCO Software Inc.
      Java implementation of Git    4.3.0.201604071810-r    org.eclipse.jgit.feature.group    Eclipse JGit
      Java implementation of Git - optional Http support using Apache httpclient    4.3.0.201604071810-r    org.eclipse.jgit.http.apache.feature.group    Eclipse JGit
      JRE for Jaspersoft Studio    1.8.0.u92    com.jaspersoft.studio.jre.feature.feature.group    TIBCO Software Inc.
      Subclipse (Required)    1.10.13    org.tigris.subversion.subclipse.feature.group    tigris.org
      Subversion Client Adapter (Required)    1.10.3    org.tigris.subversion.clientadapter.feature.feature.group    tigris.org
      SVNKit Client Adapter (Not required)    1.8.9    org.tigris.subversion.clientadapter.svnkit.feature.feature.group    tigris.org
      SVNKit Library    1.8.12.r10533_v20160129_0158    org.tmatesoft.svnkit.feature.group    TMate Software

I'm trying using parameter and it's not showing any error when I see the preview on JasperSoft Studio, but when I try to execute from my Java program it's show an error like this:

net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression for source text: $F{categorie}] with root cause

java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.typehandling.ShortTypeHandling

Thanks for your help

stephane.sicard1's picture
Joined: Jul 24 2013 - 1:59am
Last seen: 1 month 2 days ago

2 Answers:

0

 $F{categorie}] must be $F{categorie} I think. Without ]

A3an's picture
65
Joined: Apr 10 2016 - 3:13am
Last seen: 6 days 1 hour ago
0

I A3an, Thanks for your answer but it's not the solution.. it's a cut and paste error !

[Request processing failed; nested exception is net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression for source text: $F{categorie}] with root cause

stephane.sicard1's picture
Joined: Jul 24 2013 - 1:59am
Last seen: 1 month 2 days ago
Feedback