Jump to content
We've recently updated our Privacy Statement, available here ×

How to fix error if no data available in jaspersoft report


vivek.suyampu

Recommended Posts

Hi all,

I have created a report in Jaspersoft Studio with Domain as Datasource and some parameters (fromDate and toDate) to make my report dynamic based on DATE criteria and published in Jasperserver which works fine - If data is there report loads based on date parameters and If data not available shows "No data found on selected criteria". 

But while loading the report in my application using visualize.js, If data is there report loads based on the selected date parameters, But If data not there, the page keep on loading with an error in console "Uncaught TypeError: Cannot read property 'length' of undefined    - in visualize.js:2028"

For More Information

I have already selected "No-data section" for "When no data" option in report properties and edited nodata field with my static message, which loads fine in Jasperserver but not in my application through visualize js.

Any Help.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...