I get this error when I am trying to read from an Excel file:
Exception in
thread "main" java.lang.IllegalStateException: Cannot get a numeric value from a text cell
at org.apache.poi.xssf.usermodel.XSSFCell.typeMismatch(XSSFCell.java:845)
at org.apache.poi.xssf.usermodel.XSSFCell.getNumericCellValue(XSSFCell.java:208)
at ReadTMSData.main(ReadTMSdata.java:121)
But the value is numeric and not a text cell in Excel and the strange thing is when I use another Excel file with the same lay-out but with other values, he doesn't give an error.
Any ideas?