Error evaluating expression for source text

0

Hi,

Whenever I try to use a built-in function in Jaspersoft studio, I have an error like this one:

Error evaluating expression for source text: UPPER($F{nett_content_value})

I have this in the Expression field of a text field:

UPPER($F{nett_content_value})

 

Is the syntax wrong?

 

tom_45's picture
13
Joined: Oct 14 2018 - 8:45am
Last seen: 8 months 2 weeks ago

1 Answer:

0

The syntax is correct. Check if $F{nett_content_value} is of type String. Upper only works on String and causes error on other data types.

hozawa's picture
52332
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 months 5 days ago
Feedback
randomness