marcio_fe_s Posted July 20, 2011 Share Posted July 20, 2011 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 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