java.lang.IllegalArgumentException: Invalid column index (256). Allowable column range for BIFF8 is (0..255) or ('A'..'IV')

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

If you want to create more than 256 columns, you should use classes within these packages: org.apache.poi.ss.usermodel and org.apache.poi.xssf.usermodel.

Solutions on the web

via JIRA by Unknown author, 1 year ago
Invalid column index (256). Allowable column range for BIFF8 is (0..255) or ('A'..'IV')
via dynamicreports.org by Unknown author, 1 year ago
Invalid column index (256).  Allowable column range for BIFF8 is (0..255) or ('A'..'IV')
via csdn.net by Unknown author, 1 year ago
Invalid column index (256). Allowable column range for BIFF8 is (0..255) or ('A'..'IV')
via net.cn by Unknown author, 1 year ago
Invalid column index (256). Allowable column range for BIFF8 is (0..255) or ('A'..'IV')
via Stack Overflow by Tommy
, 1 year ago
Invalid column index (256). Allowable column range for BIFF8 is (0..255) or ('A'..'IV')
via xuebuyuan.com by Unknown author, 1 year ago
Invalid column index (256). Allowable column range for BIFF8 is (0..255) or ('A'..'IV')
java.lang.IllegalArgumentException: Invalid column index (256). Allowable column range for BIFF8 is (0..255) or ('A'..'IV')
at org.apache.poi.hssf.usermodel.HSSFCell.checkBounds(HSSFCell.java:926)
at org.apache.poi.hssf.usermodel.HSSFCell.(HSSFCell.java:162)
at org.apache.poi.hssf.usermodel.HSSFRow.createCell(HSSFRow.java:141)
at org.obiba.magma.datasource.excel.ExcelValueTable.getVariableColumn(ExcelValueTable.java:85)
at org.obiba.magma.datasource.excel.ExcelValueTableWriter$ExcelVariableWriter.writeVariable(ExcelValueTableWriter.java:68)
at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:170)
at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:148)
at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:138)
at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:70)
at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:52)
at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToExcelFile(DefaultExportServiceImpl.java:87)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.obiba.opal.cli.client.command.ExportCommand.execute(ExportCommand.java:35)
at org.obiba.opal.cli.client.OpalConsole.prompt(OpalConsole.java:136)
at org.obiba.opal.cli.client.OpalConsole.(OpalConsole.java:103)
at org.obiba.opal.cli.client.OpalConsole.main(OpalConsole.java:185)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.