问题描述:
报表模板如下:
预览正常,但发布到移动端之后,进入EAS移动报表轻应用-执行报表报错,如下图所示:
查看apusic日志,有如下错误:
2022-10-17 10:55:45 信息 [con.out-Thread 12361] [2022-10-17 10:55:45,331 ERROR Running HTTPHandler-17]-------------client request method[extLightFilterDelayData]-------------
2022-10-17 10:55:45 信息 [con.out-Thread 12361] [2022-10-17 10:55:45,333 ERROR Running HTTPHandler-17]function error
com.kingdee.eas.rpts.ctrlreport.mobile.exception.ExtRptBizException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at com.kingdee.eas.rpts.ctrlreport.mobile.exception.ExtRptBizException.newSupplyValuesVisitException(ExtRptBizException.java:99)
at com.kingdee.eas.rpts.mobileService.rpt.ExtLightFilterDelayDataHandler.gainSupplyValues(ExtLightFilterDelayDataHandler.java:162)
at com.kingdee.eas.rpts.mobileService.rpt.ExtLightFilterDelayDataHandler.handle(ExtLightFilterDelayDataHandler.java:89)
at com.kingdee.eas.rpts.mobileService.ExtMobileRptService.action(ExtMobileRptService.java:59)
……………………
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1967)
at com.kingdee.eas.rpts.mobileService.rpt.ExtLightFilterDelayDataHandler.exeQuery(ExtLightFilterDelayDataHandler.java:170)
at com.kingdee.eas.rpts.mobileService.rpt.ExtLightFilterDelayData Handler.gainSupplyValues(ExtLightFilterDelayDataHandler.java:157)
分析解答:
该问题已有补丁修复,打2021年12月1号之后发布的报表中心领域的补丁即可。目前861版本报表中心领域最新补丁是:
PT168135(报表中心,发布日期:2022-10-14)
推荐阅读