技术文章 - CS379138
在 Windchill PDMLink 中,自定义 Jasper 报告失败并出现 JRExpressionEvalException:“错误评估源文本的表达式...”
已修改: 25-Oct-2022
适用于
- Windchill PDMLink 12.0 to 12.1
说明
- 自定义 Jasper 报告因JRExpressionEvalException失败:评估源文本的表达式时出错...
- 异常是由IOException引起的:服务器返回 HTTP 响应代码:400 对于 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
- 示例数据源表达式:
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")
这是文章 379138 的 PDF 版本,可能已过期。最新版本 CS379138