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 15375] - Post 1.5.1 POI causes spreadsheet to become unopenable.
Date Tue, 14 Jan 2003 16:47:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15375>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15375

Post 1.5.1 POI causes spreadsheet to become unopenable.





------- Additional Comments From chris.haddad@cobia.net  2003-01-14 16:47 -------
This is failing for me as well using the 1.8.0 distribution.  I'm surprised, 
because my test case is *very* basic (using Excell 2000) and taken right from 
the docs.

    HSSFWorkbook wb = new HSSFWorkbook(fs);
    HSSFSheet sheet = wb.getSheetAt(0);
    
    HSSFRow row = sheet.getRow(5);
    HSSFCell cell = row.getCell((short)3);
    if (cell == null)
        cell = row.createCell((short)3);
        
        // Write test
    cell.setCellType(HSSFCell.CELL_TYPE_STRING);
    cell.setCellValue("a test");

Mime
View raw message