What is the CDATA for DatasetParameterExpression in java.util.List

Hi

I need to implement multi select option for the parameter "member id"

Query for table



R4 is my dataset.

Please help

 

harismitacbe's picture
Joined: Jan 11 2023 - 9:23am
Last seen: 4 months 4 weeks ago

Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.

arai_4 - 5 months 1 week ago

2 Answers:

Hello,

From error it looks like there is error while evaluating parameter $P{memberid}.
Not sure what expression you configured for this parameter but seems that you have an issues with your expression.
We kindly request you test the report in jasperstudio before deploying to jaspersever.

jphadtar's picture
1532
Joined: Mar 20 2022 - 10:51pm
Last seen: 12 hours 54 sec ago

The CDATA is the syntax used in XML to escape entire portions of of XML, and it has nothing to do with the error you are getting.

To understand exactly what's the problem with your expression, we would need to check the full stack trace (or test your report in Jaspersoft Studio, as suggested in the previous answer). I don't see any syntactical error (in other words your jrxml is ok), but it could be that the type of the parameter memberid defined in the subdataset is not of type java.util.List (which is how the parameter is defined in the main dataset).

Giulio

 

giulio's picture
74247
Joined: Jan 2 2007 - 4:15pm
Last seen: 1 week 13 hours ago
Feedback
randomness