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
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