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

Docx export Error


marcio_fe_s

Recommended Posts

When I export a landscape report to docx, I get always the same error:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
 at net.sf.jasperreports.engine.export.ooxml.JROfficeOpenXmlExporter.exportGrid(JROfficeOpenXmlExporter.java:438)
 at net.sf.jasperreports.engine.export.ooxml.JROfficeOpenXmlExporter.exportFrame(JROfficeOpenXmlExporter.java:1121)
 at net.sf.jasperreports.engine.export.ooxml.JROfficeOpenXmlExporter.exportGrid(JROfficeOpenXmlExporter.java:527)
 at net.sf.jasperreports.engine.export.ooxml.JROfficeOpenXmlExporter.exportPage(JROfficeOpenXmlExporter.java:421)

on if line. Someone can help me? What can cause this problem? It's a report layout problem? ou export problem?



Post Edited by marciof at 07/20/2011 17:02

 

the error is solved apply this parameter to the exporter.

exporter.setParameter(JRDocxExporterParameter.

FRAMES_AS_NESTED_TABLES, false);

What this parameter do in my docx document?



Post Edited by marciof at 07/20/2011 17:44
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...