-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
主子表导出excel,报空指针异常,导出数据为空。 #2945
Comments
子表sql写错重新写下,发的时候写错了变量。
|
请针对问题提供[报表设计配置或SQL脚本]或在官网制作报表示例并提供ID; |
cr |
已修复,待新版本发布。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本号:1.8.0
问题描述:主子表查询后,导出的excel中报错{"msg":null,"code":500}。后台日志报错 请求地址'/report/jmreport/exportAllExcelStream',发生未知异常.
java.lang.NullPointerException: null
at org.jeecg.modules.jmreport.desreport.render.a.d.a(TableMultiDsRenderStrategy.java:143)
at org.jeecg.modules.jmreport.desreport.render.a.e.a(TableRenderStrategy.java:98)
at org.jeecg.modules.jmreport.desreport.render.a.a.b.a(BaseBaseRenderStrategy.java:385)
at org.jeecg.modules.jmreport.desreport.render.a.a.b.b(BaseBaseRenderStrategy.java:264)
错误日志&截图:
重现步骤:
主表sql:
子表sql:
主子表参数连结:
主表的dispatchTaskId和子表dispatchTaskId连结。
两张表分别来自两个源的数据库。
导出excel文件没有内容,后台报空指针异常。
友情提示(为了提高issue处理效率):
The text was updated successfully, but these errors were encountered: