Jump to content
Changes to the Jaspersoft community edition download ×

When generate the jasper report export to excel getting warning messages


surima.tvs3

Recommended Posts

When generate the xlsx report from Jasper using Spring boot. Report generated successfully but getting some warning messages.
In the report design we have not used any group by functions and any other functions. Report is created by drag and drop the field as a simple report.

Please find the below warning content

converted-file.png.56c0c19da1e75dffbb3a0ea75d9dbe3b.png

We found a problem with some content in "test.xlsx". Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes.

After click yes, getting the below

converted-file.png.65baa9d29efbf4e5853e02ca9c139cdb.png

Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.

Please suggest the steps to resolve the warning issue.

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Found same error on : https://community.jaspersoft.com/wiki/get-problem-some-content-error-when-opening-report-exported-xlsx

Below is the suggestion :

This problem can be related to complex date format patterns. For example pattern like this:

EEE, d MMM yyyy h:mm a z

This is a Java pattern and it doesn't have a match in Excel. It gets transformed into something like this: 42433.5511111109 and will be the source of this error.

 

Hope this finds you useful.

Link to comment
Share on other sites

  • 1 month later...

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...