Exceptions opening .doc documents using Aspose.Words v.10.0.0

Hello, Everybody,

opening customer generated word files I encounter the following exceptions in rare cases:

ClassCastException: com.aspose.words.bf(10 out of 2000 files)
ServiceConfigurationError: java.nio.charset.spi.CharsetProvider: Provider com.aspose.ms.java.utf7charset.provider.CharsetProvider not found (3 out of 2000 files)

Find attached one file for each case.

Best regards,

Martin

Hi
Thanks for your request.

  1. no_provider.doc file is not actually DOC file. It is PDF document. Aspose.Words does not support opening PDF documents. That is why UnsupportedFileFormatException is thrown when you try to open it.
  2. class_cast.doc. I managed to reproduce the problem. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.

Best regards.

ad 1. this seems to be an embarassing fault on my side. Sorry.

The issues you have found earlier (filed as WORDSNET-4736) have been fixed in this .NET update and in this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.