Jump to content
Changes to the Jaspersoft community edition download ×

IllegalArgumentException Sheet name cannot...

Recommended Posts

By: amodg - amodg

IllegalArgumentException Sheet name cannot...

2006-02-14 05:50



I am trying to export my report in MSExcelSheet using net.sf.jasperreports.engine.export.JRXlsExporter class.While doing that, I am getting an Exception as...


java.lang.IllegalArgumentException: Sheet name cannot be blank, greater than 31

chars, or contain any of /*?[]

at org.apache.poi.hssf.record.BoundSheetRecord.setSheetname(BoundSheetRe


at org.apache.poi.hssf.model.Workbook.setSheetName(Workbook.java:458)

at org.apache.poi.hssf.model.Workbook.setSheetName(Workbook.java:452)

at org.apache.poi.hssf.usermodel.HSSFWorkbook.createSheet(HSSFWorkbook.j


at net.sf.jasperreports.engine.export.JRXlsExporter.createSheet(JRXlsExp


at net.sf.jasperreports.engine.export.JRXlsAbstractExporter.exportReport


at net.sf.jasperreports.engine.export.JRXlsAbstractExporter.exportReport



Could you plzzzzz.... help me out...?

I am eagerly waitng for any reply....


Thanks in advance !!!!


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