ccphui Posted May 14, 2021 Share Posted May 14, 2021 Hi, all.I can preview the Jasper report in Jaspersoft studio, but after I publisehd it to my jasper report server and tried to run at server level, it always return "The report is empty" message.I can do the same thing in my localhost Jasper Report Server with expected output shown when I run it in localhost server side.I did not use data source , just provide a SQL (select 'x' from dual)Regards,Philip Hui Link to comment Share on other sites More sharing options...
yama818 Posted May 15, 2021 Share Posted May 15, 2021 You can try changing the 'When No Data Type' setting in the report properties to see if that helps. Link to comment Share on other sites More sharing options...
Tom C Posted May 16, 2021 Share Posted May 16, 2021 1) Make sure your JRS report unit input control "Parameter Name (required)" matches the report template JRXML parameter name;2) If this report used sub dataset to feed data to a sub element (table, list, subreport, etc.), make sure the paramter is corretly passed from the main report to the sub dataset through the sub element. Link to comment Share on other sites More sharing options...
ccphui Posted May 18, 2021 Author Share Posted May 18, 2021 Hi tchen & yama818,Please find the attached screen capture of the my main.jrxml ,I cannot see the report properties with "When no data type" option.Also the input parameter name match the variable name defined in the main.jrxml.Is there anything that I did not setup or something wrong with my current setup ?Any comment will be greatly appreciated. Link to comment Share on other sites More sharing options...
ccphui Posted May 18, 2021 Author Share Posted May 18, 2021 Sorry, Finally found the report properties. Link to comment Share on other sites More sharing options...
yama818 Posted May 19, 2021 Share Posted May 19, 2021 Yes,That property is correct.Can't solve the problem by changing the settings? Link to comment Share on other sites More sharing options...
ccphui Posted May 24, 2021 Author Share Posted May 24, 2021 Sorry, yama818,I did not try to change the setting yet.I just wonder if I change it to "All section no detail" and the output will become empty, then it is still the problem I encountered so far.Or, there is more setting I should do after that. Link to comment Share on other sites More sharing options...
yama818 Posted May 26, 2021 Share Posted May 26, 2021 I missed the attachment when I asked my question.Sorry about that.So it looks like your understanding of 'the settings don't seem to have any effect' is correct.Sorry for not being able to help you. Link to comment Share on other sites More sharing options...
Tom C Posted May 27, 2021 Share Posted May 27, 2021 Your report template looks strange.Refer to the green colored element - Are you using an image to display report content? How are those parameters getting into the template? Are you superimposing them on top of the image?Refer to orange colored element - What we need to make sure is the input control unit id matches the report parameter name in the template (you need to expand the parameter list and see the names). Link to comment Share on other sites More sharing options...
ccphui Posted June 8, 2021 Author Share Posted June 8, 2021 Link to comment Share on other sites More sharing options...
ccphui Posted June 8, 2021 Author Share Posted June 8, 2021 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