I am not sure if you got the file into streams fine. Anyways, I tested your scenario/case using the simplest lines of code with your ODS file using our latest version/fix (Aspose.Cells for Java v22.11) and it works absolutely fine. I can get the string value of the cell fine:
e.g. Sample code:
byte [] data = Files.readAllBytes(Paths.get("f:\\files\\goodFile.ods"));
InputStream f = new ByteArrayInputStream(data);
OdsLoadOptions options = new OdsLoadOptions(LoadFormat.ODS);
Workbook book = new Workbook(f, options);
System.out.println(book.getWorksheets().get(0).getCells().get(0,0).getDisplayStringValue());
output:
nombre
Please try the above code (please correct the file path accordingly) and let us know if you still find the issue.
and then loading the woorkbook. I dont know why but doing this before loading messes up the loading. if i do it directly without checking FormatInfo it works fine.
Please update/fix your code as following:
e.g. Sample code:
byte [] data = Files.readAllBytes(Paths.get("f:\\files\\goodFile.ods"));
InputStream f = new ByteArrayInputStream(data);
FileFormatInfo formatInfo = FileFormatUtil.detectFileFormat(f);
String formatExtension = FileFormatUtil.loadFormatToExtension(formatInfo.getLoadFormat());
System.out.println(formatExtension);
f.close();
f = new ByteArrayInputStream(data);
OdsLoadOptions options = new OdsLoadOptions(LoadFormat.ODS);
Workbook book = new Workbook(f, options);
System.out.println(book.getWorksheets().get(0).getCells().get(0,0).getDisplayStringValue());