https://bz.apache.org/bugzilla/show_bug.cgi?id=57755

--- Comment #4 from JP <[email protected]> ---
Thanks for your response and sorry ...

I found an error of programation.

To get a long, the developer used this method :
public static Object getCellValue(Row row, int index) {
        if (row == null || row.getCell(index) == null) {
            return null;
        }
        Object retour = null;
        Cell cell = row.getCell(index);
        cell.setCellType(Cell.CELL_TYPE_STRING);
        String val = cell.getStringCellValue().trim();
        if (val != null && !"".equals(val)) {
            retour = cell.getStringCellValue();
        }

        return retour;
    }

The gulty is : cell.setCellType(Cell.CELL_TYPE_STRING); ....

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to