akrainer Posted November 17, 2020 Share Posted November 17, 2020 I've successfully developed a report with a main/subreports in iReports 5.6.0. Report bring back data within the IDE. However, once I post the jrxml's to Jasper Server, I get only blank pages returned. I get the same number of blank pages returned as I get with data within the IDE. I know that I have records returned as the record count prints in the report footer. I've eliminated input filters and set constants to eliminate any problems with input controls. Thanks for any help- Link to comment Share on other sites More sharing options...
gustavofarias Posted November 17, 2020 Share Posted November 17, 2020 When designing your report, try to use a version of Jaspersoft Studio that is compatible with the jasperreports version used by your jasperreports server. iReport 5.6 is so old that it wouldn't be a suprise if it's a compatibility problem. Link to comment Share on other sites More sharing options...
akrainer Posted November 17, 2020 Author Share Posted November 17, 2020 Thanks. Surprisingly, my IDE 5.6.0 iReport version is compatible with our jasperreports server; yes we are a bit behind. Also, I've completed several reports successfully from IDE trhrough to JS so it's not a version mis-match between the two. Link to comment Share on other sites More sharing options...
gustavofarias Posted November 18, 2020 Share Posted November 18, 2020 You said it has subreports. I guess your master report is not finding/referencing the subreport correctly. If your master gets the records correctly and there is space reserved in the band for the subreport, it's likely that the output will have the same pages even when you have some problem in your subreport.I don't know about your server. In my experience I create 3 resources to use subreports. A Report Unit (the master), a jrxml (the subreport), and a link inside the report unit to map the string inside the subreport expression to the jrxml of the subreport. Link to comment Share on other sites More sharing options...
akrainer Posted November 23, 2020 Author Share Posted November 23, 2020 The problem was the subreport element's, exceeded the width of the report band in the main .jrxml. Once I reduced the subreports's page width, and width of all the bands within the sub-report, to be within the main report's page and band width, the sub-reports's data showed up. Still perplexed while this problem showed up only after I hung it on Jasper Server, and not within the local desktop IDE. Thanks for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now