Article - CS379138
Custom Jasper Report fails with JRExpressionEvalException: "Error evaluating expression for source text..." in Windchill PDMLink
Modified: 25-Oct-2022
Applies To
- Windchill PDMLink 12.0 to 12.1
Description
- Custom Jasper Report fails with JRExpressionEvalException: Error evaluating expression for source text...
- Exception is caused by IOException: Server returned HTTP response code: 400 for URL: https://example.windchill.com:443/Windchill/servlet/ReportServlet?proc=com_ptc_windchill_enterprise_report_ReportTask%23ECN_Release&ECNNumber=ECN1159605 &isDraft=0&uid=Administrator&locale=en_US
- Example datasource expression:
new net.sf.jasperreports.engine.data.JRXmlDataSource($P{WINDCHILL_URL}+"?proc=com_ptc_windchill_enterprise_report_ReportTask%23ECN_Release&ECNNumber="+$P{ECNNumber}+"&isDraft=0&uid="+$P{USERNAME}+"&locale="+$P{LOCALE},"/dataset/data/row")
This is a printer-friendly version of Article 379138 and may be out of date. For the latest version click CS379138