We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

java.lang.NumberFormatException: empty String

Hi we are getting following exception while saving the MS Excel file in to an ODS file(we are using version 2.5.4), please help in this regard.


Caused by: com.intralinks.fileprocessing.FileProcessingExceptionCause: java.lang.NumberFormatException: empty String
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:992)
at java.lang.Double.parseDouble(Double.java:510)
at java.text.DigitList.getDouble(DigitList.java:151)
at java.text.DecimalFormat.parse(DecimalFormat.java:1303)
at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1591)
at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1312)
at java.text.DateFormat.parse(DateFormat.java:335)
at com.aspose.cells.hs.g(Unknown Source)
at com.aspose.cells.hs.i(Unknown Source)
at com.aspose.cells.aW.a(Unknown Source)
at com.aspose.cells.aW.onEnd(Unknown Source)
at com.aspose.cells.fo.onEnd(Unknown Source)
at org.dom4j.io.DispatchHandler.onEnd(DispatchHandler.java:207)
at org.dom4j.io.SAXContentHandler.endElement(SAXContentHandler.java:268)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at com.aspose.cells.fX.c(Unknown Source)
at com.aspose.cells.fX.a(Unknown Source)
at com.aspose.cells.fX.a(Unknown Source)
at com.aspose.cells.iG.a(Unknown Source)
at com.aspose.cells.iG.a(Unknown Source)
at com.aspose.cells.Workbook.open(Unknown Source)

Hi,

Please use the latest MAJOR version:

Aspose.Cells for Java 7.1.0



Once, you download it, update the aspose jar with the latest MINOR version:
Aspose.Cells
for Java v7.1.0.
3


FYI:
It is our policy not to provide a fix based on older versions.

If you get exception in our latest version, then we will fix it asap.