This is a migrated thread and some comments may be shown as answers.

Arithmetic operation resulted in an overflow

1 Answer 139 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 22 Aug 2011, 10:26 PM
Hello,

I just ran into this error when trying to load a document in the editor.

Arithmetic operation resulted in an overflow. silverlight rich text editor

Here's the stacktrace:

   at Telerik.Windows.Documents.Imaging.BmpDecoder.Decode(EditableImage image, Stream imageStream, Boolean skipFileHeader)
   at Telerik.Windows.Documents.Imaging.WmfDecoder.Decode(EditableImage image, Stream imageStream)
   at Telerik.Windows.Documents.Layout.ExtensionMethods.SetSourceEx(BitmapImage bitmapImage, Stream imageStream, String& extension)
   at Telerik.Windows.Documents.Model.ImageInline.InitializeRawImageData(Stream inputStream, String& extension)
   at Telerik.Windows.Documents.Model.ImageInline.Init(Stream inputStream, Size size, String extension)
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.Import.ParagraphImporter.BuildImageInlineFromDrawing()
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.Import.ParagraphImporter.BuildInline(Style style)
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.Import.ParagraphImporter.BuildRun(Style style, Paragraph paragraph)
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.Import.ParagraphImporter.Import(Style parentStyle)
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.Import.MainDocumentImporter.BuildBody()
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.Import.MainDocumentImporter.BuildDocument()
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.Import.MainDocumentImporter.Import()
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.Import.DocxImporter.ReadXmlContentFromPackage(DocxPartImporterBase importer)
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.Import.DocxImporter.Import()
   at Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.DocxFormatProvider.Import(Stream input)
   at Telerik.Windows.Documents.FormatProviders.DocumentFormatProviderBase.Import(Byte[] input)
   at DocumentEditor.MainPage.service_GetDocumentInformationForItemIDCompleted(Object sender, GetDocumentInformationForItemIDCompletedEventArgs e)

If you want me to send the document send an email to my address and I can send you the document that we're trying to upload. 

Thanks,
Aaron

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 24 Aug 2011, 06:55 PM
Hello Aaron,

It would be great if you could send us the document that caused the exception.
Please, open a support ticket of type General Feedback and attach the file there.
Looking forward to your reply.

Regards,
Iva
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
RichTextBox
Asked by
Aaron
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or