起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2437|回复: 4

[结贴] 报表跳转添加批注后报错

[复制链接]

506

主题

1631

帖子

3383

积分

论坛元老

Rank: 8Rank: 8

积分
3383
QQ
发表于 2019-5-6 16:31:07 | 显示全部楼层 |阅读模式
1.批注如图,报错信息如下
2.我希望单元格值不是默认值(0.00)时才能跳转,这个怎么实现?
  1. [ERROR] 2019-05-06 16:26:45,859 com.justep.report.controller.ReportController - 报表执行失败
  2. null
  3. com.justep.report.exception.ReportServerException
  4.         at com.justep.report.controller.ReportController.execute(Unknown Source)
  5.         at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
  6.         at com.justep.report.controller.DataController.execute(Unknown Source)
  7.         at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
  8.         at com.justep.report.controller.InitController.execute(Unknown Source)
  9.         at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
  10.         at com.justep.report.Servlet.a(Unknown Source)
  11.         at com.justep.report.Servlet.doPost(Unknown Source)
  12.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
  13.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
  14.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  15.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  16.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  17.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  18.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  19.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  20.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  21.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
  22.         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
  23.         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
  24.         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  25.         at java.lang.Thread.run(Thread.java:745)
  26. Caused by: java.lang.NullPointerException
  27.         at com.justep.report.TableCell.b(Unknown Source)
  28.         at com.justep.report.TableCell.transform(Unknown Source)
  29.         at com.justep.report.CompiledCell.transform(Unknown Source)
  30.         at com.justep.report.CompiledSheet.transform(Unknown Source)
  31.         at com.justep.report.CompiledTable.transform(Unknown Source)
  32.         at com.justep.report.Table.transform(Unknown Source)
  33.         at com.justep.report.Content.transform(Unknown Source)
  34.         at com.justep.report.ContentSet.transform(Unknown Source)
  35.         at com.justep.report.Report.a(Unknown Source)
  36.         at com.justep.report.ReportDocument.transform(Unknown Source)
  37.         at com.justep.report.ReportTransformer.transform(Unknown Source)
  38.         at com.justep.report.core.XReportHelper.executeXReport(Unknown Source)
  39.         ... 22 more
复制代码




11111.png

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35915
发表于 2019-5-6 17:10:03 | 显示全部楼层
1.把一个批注一个批注去掉看看具体是哪个批注报错的
2.报表中目前没有这样动态判断设置链接的设置方式
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

506

主题

1631

帖子

3383

积分

论坛元老

Rank: 8Rank: 8

积分
3383
QQ
 楼主| 发表于 2019-5-6 18:08:29 | 显示全部楼层
jishuang 发表于 2019-5-6 17:10
1.把一个批注一个批注去掉看看具体是哪个批注报错的
2.报表中目前没有这样动态判断设置链接的设置方式 ...

确定是加了html批注才报的错
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35915
发表于 2019-5-7 08:22:38 | 显示全部楼层
直接html批注也报错吗?
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

506

主题

1631

帖子

3383

积分

论坛元老

Rank: 8Rank: 8

积分
3383
QQ
 楼主| 发表于 2019-5-7 09:51:24 | 显示全部楼层
jishuang 发表于 2019-5-7 08:22
直接html批注也报错吗?

是的,找到原因了,html里的a标签加上title就好了,结贴吧
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-4-24 05:52 , Processed in 0.068237 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表