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

QQ登录

只需一步,快速开始

查看: 5789|回复: 1

[处理中3] 自定义报表报路径错误

[复制链接]

28

主题

83

帖子

249

积分

中级会员

Rank: 3Rank: 3

积分
249
QQ
发表于 2018-4-2 17:24:09 | 显示全部楼层 |阅读模式
版本: 其它(帖子中说明) 小版本号:
数据库: Oracle 服务器操作系统: 应用服务器:
客户端操作系统: Windows 7 浏览器:
自定义的报表数据源,设置主表的时候会直接报路径的错误,业务字段没有重复,同时我想问一句主从报表可以同一行吗,不行的话,这个问题也不用解决了选择节点失败,xpath:dataset('reportMainData_master')/FID/recordcom.justep.report.exception.ReportServerException: 选择节点失败,xpath:dataset('reportMainData_master')/FID/record
        at com.justep.report.controller.ReportController.execute(Unknown Source)
        at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
        at com.justep.report.controller.DataController.execute(Unknown Source)
        at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
        at com.justep.report.controller.InitController.execute(Unknown Source)
        at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
        at com.justep.report.Servlet.a(Unknown Source)
        at com.justep.report.Servlet.doPost(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: 选择节点失败,xpath:dataset('reportMainData_master')/FID/record
        at com.justep.report.TransformContext.a(Unknown Source)
        at com.justep.report.CompiledTable.selectXPathNodes(Unknown Source)
        at com.justep.report.Repeat.compile(Unknown Source)
        at com.justep.report.TableRows.compile(Unknown Source)
        at com.justep.report.Table.transform(Unknown Source)
        at com.justep.report.Content.transform(Unknown Source)
        at com.justep.report.ContentSet.transform(Unknown Source)
        at com.justep.report.Report.a(Unknown Source)
        at com.justep.report.ReportDocument.transform(Unknown Source)
        at com.justep.report.ReportTransformer.transform(Unknown Source)
        at com.justep.report.core.XReportHelper.executeXReport(Unknown Source)
        ... 22 more
Caused by: java.lang.NullPointerException
        at net.sf.saxon.dom4j.NodeWrapper.makeWrapper(NodeWrapper.java:99)
        at net.sf.saxon.dom4j.NodeWrapper.makeWrapper(NodeWrapper.java:62)
        at net.sf.saxon.dom4j.DocumentWrapper.wrap(DocumentWrapper.java:55)
        at com.justep.report.TransformContext.a(Unknown Source)
        ... 33 more

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36185
发表于 2018-4-2 17:30:30 | 显示全部楼层
同一个不能写两个data的select

如果要在一行显示就在sql中用关联查询的方式,返回的同一个table中,用一个data操作
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-7-8 13:25 , Processed in 0.060681 second(s), 25 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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