poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46667] New: HSSF.createCell(int) - java.lang.NoSuchMethodError
Date Fri, 06 Feb 2009 07:19:48 GMT

           Summary: HSSF.createCell(int) - java.lang.NoSuchMethodError
           Product: POI
           Version: 3.2-FINAL
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: cnoonan@delexian.com

While trying to export data from db to an Excel file using HSSF, I get the
following error:


Method that is being used: HSSFRow.createCell(int)
I have changed from using the deprecated method HSSFRow.createCell(short),
because of an issue with rows greater than 32768 (methods bombs out, reason
relating to Bug 44539).

private HSSFWorkbook createWorkbook() throws IOException {

        HSSFWorkbook wb = new HSSFWorkbook();
        HSSFSheet sheet = wb.createSheet("WorkSheet1");
        HSSFRow row = sheet.createRow();

        for(int i=0; i < 10; i++){
           row.createCell(i).setCellValue(new HSSFRichTextString("somesort of
        return wb;


I've tried with precompiled libraries versions 3.2 Final and 3.5 Beta with no

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message