We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DocIO with Chart Issue in UWP Release Mode

Thread ID:

Created:

Updated:

Platform:

Replies:

130004 Apr 13,2017 11:40 PM UTC Apr 18,2017 05:00 AM UTC Xamarin.Forms 3
loading
Tags: Presentation
Pawan Jindal
Asked On April 13, 2017 11:40 PM UTC

Hello, 
I have a Xamarin Forms Application. I am using the DocIO control to export a word document with Charts from the UWP application. It is working great in debug mode. However, when I try to run it in release mode, I get the following error. Is there any additional setting that I have to complete for the release mode?

thanks for your help.
Pawan


System.TypeInitializationException: TypeInitialization_Type_NoTypeAvailable ---> System.PlatformNotSupportedException: Arg_PlatformNotSupported
   at Syncfusion.OfficeChart.Implementation.FormulaUtil.GetSortedList(String[] arrStrings)
   at Syncfusion.OfficeChart.Implementation.FormulaUtil..cctor()
   at SharedLibrary!<BaseAddress>+0x359d96
   Exception_EndOfInnerExceptionStack
   at SharedLibrary!<BaseAddress>+0x359e1f
   at SharedLibrary!<BaseAddress>+0x359cac
   at Syncfusion.OfficeChart.Implementation.FormulaUtil.CreatePtg(OfficeChart.Parser.Biff_Records.Formula.FormulaToken token, Object[] arrParams)
   at Syncfusion.OfficeChart.Implementation.RangeImpl.GetNativePtg()
   at Syncfusion.OfficeChart.Implementation.Charts.ChartSerieImpl.SetAIRange(OfficeChart.Parser.Biff_Records.Charts.ChartAIRecord record, OfficeChart.IRange range, OfficeChart.Parser.Biff_Records.Charts.ChartAIRecord.ReferenceType onNull)
   at Syncfusion.OfficeChart.Implementation.Charts.ChartSerieImpl.OnValueRangeChanged(OfficeChart.Implementation.ValueChangedEventArgs e)
   at Syncfusion.OfficeChart.Implementation.Charts.ChartSerieImpl.set_ValuesIRange(OfficeChart.IRange value)
   at Syncfusion.OfficeChart.Implementation.Charts.ChartSerieImpl.set_Values(OfficeChart.IOfficeDataRange value)
   at SharedLibrary!<BaseAddress>+0x359d7c
   at SharedLibrary!<BaseAddress>+0x359cac
   at Syncfusion.OfficeChart.Implementation.FormulaUtil..ctor(OfficeChart.IApplication application, Object parent, Globalization.NumberFormatInfo numberFormat, Char chArgumentsSeparator, Char chRowSeparator)
   at Syncfusion.OfficeChart.Implementation.XmlSerialization.Excel2007Serializator..ctor(OfficeChart.Implementation.WorkbookImpl book)
   at Syncfusion.OfficeChart.Implementation.XmlSerialization.FileDataHolder.get_Serializator()
   at Syncfusion.OfficeChart.Implementation.XmlSerialization.FileDataHolder.SaveStyles(Compression.Zip.ZipArchive archive, IO.MemoryStream stream)
   at Syncfusion.DocIO.DLS.DocxSerializator.SerializeChartElements(DocIO.DLS.WChart chart, String id)
   at Syncfusion.DocIO.DLS.DocxSerializator.SerializeChartGraphicData(DocIO.DLS.WChart chart)
   at Syncfusion.DocIO.DLS.DocxSerializator.SerializeInlinePicture(DocIO.DLS.ParagraphItem item)
   at Syncfusion.DocIO.DLS.DocxSerializator.SerializeChart(DocIO.DLS.WChart chart)
   at Syncfusion.DocIO.DLS.DocxSerializator.SerializeParagraphItem(DocIO.DLS.ParagraphItem item)
   at Syncfusion.DocIO.DLS.DocxSerializator.SerializeParagraphItems(DocIO.DLS.ParagraphItemCollection paraItems)
   at Syncfusion.DocIO.DLS.DocxSerializator.SerializeParagraph(DocIO.DLS.WParagraph paragraph, Boolean isLastSection)
   at Syncfusion.DocIO.DLS.DocxSerializator.SerializeBodyItem(DocIO.DLS.TextBodyItem item, Boolean isLastSection)
   at Syncfusion.DocIO.DLS.DocxSerializator.SerializeBodyItems(DocIO.DLS.BodyItemCollection bodyItemCollection, Boolean isLastSection)
   at Syncfusion.DocIO.DLS.DocxSerializator.SerializeSection(DocIO.DLS.WSection section)
   at Syncfusion.DocIO.DLS.DocxSerializator.SerializeDocumentBody()
   at Syncfusion.DocIO.DLS.DocxSerializator.SerializeDocument()
   at Syncfusion.DocIO.DLS.DocxSerializator.Serialize(IO.Stream stream, DocIO.DLS.WordDocument document)
   at Syncfusion.DocIO.DLS.WordDocument.SaveDocx(IO.Stream stream)
   at Syncfusion.DocIO.DLS.WordDocument.SaveInternal(IO.Stream stream, DocIO.FormatType formatType)
   at Syncfusion.DocIO.DLS.WordDocument.Save(IO.Stream stream, DocIO.FormatType formatType)
   at Macra.UWP!<BaseAddress>+0x26b34ba

Arun Prasad Matheshwaran [Syncfusion]
Replied On April 14, 2017 08:56 AM UTC

Hi Pawan, 

Could you please provide the Word Document or Sample with code snippet in which the issue is reproduced? So, that we can reproduce the scenario at our end and provide the solution at the earliest. 

Regards, 
Arun 


Pawan Jindal
Replied On April 14, 2017 10:29 AM UTC

Hi Arun,

I posted the sample code and details on the Direct-Trac support at https://www.syncfusion.com/support/directtrac/incidents/177380. I will really appreciate if we could follow this up there.

thanks,
Pawan

Arun Prasad Matheshwaran [Syncfusion]
Replied On April 18, 2017 05:00 AM UTC

Hi Pawan,  
 
 
We have posted the details in the same incident. Please follow up with that incident for further updates.  
 
Please let us know if you need any further clarifications regarding this,  
 
Regards,  
Arunprasad M.  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;