Fichier Excel à Partir de Apache POI Cant Ouvert par Ms Excel (fichier corrompu)

Je ne sais pas pourquoi le fichier que j'ai écris à l'aide de PI ne peut pas être ouvert par Ms Excel 2013, mais le fichier est toujours lisible par POI. (valeur de la cellule peut être changé)

cette est l'erreur de fichier

voici le code

FileInputStream fis = null;
    try {
        fis = new FileInputStream(fileUri); //not error at fileUri
    } catch (FileNotFoundException e) {
        //TODO Auto-generated catch block
        e.printStackTrace();
    }
    String urii = fileUri.replace(".xls", "0.xls"); //not error
    File fisx = new File(urii);

    Workbook workbook = null;
        workbook = new HSSFWorkbook(fis);

    Sheet sheet = workbook.getSheetAt(0);

    Row row = sheet.getRow(0);

    Cell cell = row.getCell(0);

    String p = cell.getStringCellValue();

    TextView a = (TextView) findViewById(R.id.txtUri);

    cell.setCellValue(new String("popo"));
    String x = cell.getStringCellValue();

    TextView b = (TextView) findViewById(R.id.txtFile);

    a.setText(p);
    b.setText(x);

    OutputStream fos = null;

    fos = new FileOutputStream(fisx);
    workbook.write(fos); //main problem
    fos.flush();
    fos.close();

Merci pour votre aide!!

OriginalL'auteur ketelagoreng | 2015-05-22