问题
I have a report that runs and complies perfectly fine while in iReport.
The report has 1 main report
and 2 subreports
. They work fine and each compile individually and as a unit (when the main report is ran).
The issue is when I upload the report to Fishbowl my report runs but everything in the detail band is blank.
I have the subreport expressions the exact same as the other reports I have built before - and it has worked perfectly fine.
Can anyone think of a reason as to why this may be happening?
This is a photo displaying and if anyone needs any more information/code let me know and I will gladly post.
I HAVE UPDATED WITH A NEW PICTURE OF SOME ERRORS I HAVE FOUND- PLEASE TAKE A NEW LOOK- THANK YOU!
回答1:
I have seen that happen a couple of times with Fishbowl. Here are my suggestions:
1) Try exiting Fishbowl completely, then logging back in. I've found that if it times out and you don't exit completely, custom reports sometimes don't print.
2) Make sure your report has been created in Java, not Groovy.
3) Fishbowl does not seem to like all fonts and objects that iReport is okay with, so you may want to look at that.
4) Check your subreport directory. Sometimes you have to manually override the .jasper file to the FB directory (Server/Reports/Custom/) if you have made changes to the subreport.
5) Sometimes FB acts finicky executing variable calculations using percentage parameters.
Hope that helps.
来源:https://stackoverflow.com/questions/36064526/report-compiles-fine-but-displays-blank-while-used-in-fishbowl