- Home
- Forum
- ASP.NET MVC (Classic)
- Index was outside the bounds of the array
Index was outside the bounds of the array
Taking an HTML document and using Syncfucion.Pdf to create a PDF (unsuccessfully). Are there any desktop limitations, or settings, that would cause this error? Document I am trying to create is 18 MB.
Error: System.IndexOutOfRangeException: Index was
outside the bounds of the array.
at Syncfusion.Pdf.IO.PdfLexer.YyText()
at Syncfusion.Pdf.IO.PdfParser.ReadUnicodeString()
at Syncfusion.Pdf.IO.PdfParser.Simple()
at Syncfusion.Pdf.IO.PdfParser.ReadPair()
at Syncfusion.Pdf.IO.PdfParser.Dictionary()
at Syncfusion.Pdf.IO.PdfParser.Simple()
at Syncfusion.Pdf.IO.PdfParser.Parse()
at Syncfusion.Pdf.IO.CrossTable.GetObject(IPdfPrimitive pointer)
at Syncfusion.Pdf.IO.PdfCrossTable.GetObject(IPdfPrimitive pointer)
at Syncfusion.Pdf.Primitives.PdfReferenceHolder.get_Index()
at Syncfusion.Pdf.Primitives.PdfReferenceHolder.GetObject()
at Syncfusion.Pdf.Primitives.PdfReferenceHolder.get_Object()
at Syncfusion.Pdf.IO.PdfCrossTable.GetObject(IPdfPrimitive pointer)
at Syncfusion.Pdf.PdfLoadedPage.CreateAnnotations()
at Syncfusion.Pdf.PdfLoadedPage..ctor(PdfDocumentBase document, PdfCrossTable cTable, PdfDictionary dictionary)
at Syncfusion.Pdf.Parsing.PdfLoadedPageCollection.GetPage(PdfDictionary dic)
at Syncfusion.Pdf.IO.PdfCrossTable.PageProceed(IPdfPrimitive obj)
at Syncfusion.Pdf.IO.PdfCrossTable.GetObject(IPdfPrimitive pointer)
at Syncfusion.Pdf.Primitives.PdfReferenceHolder.get_Index()
at Syncfusion.Pdf.Primitives.PdfReferenceHolder.GetObject()
at Syncfusion.Pdf.Primitives.PdfReferenceHolder.get_Object()
at Syncfusion.Pdf.IO.PdfCrossTable.GetObject(IPdfPrimitive pointer)
at Syncfusion.Pdf.Parsing.PdfLoadedPageCollection.GetParent(Int32 index, Int32& localIndex, Boolean zeroValid)
at Syncfusion.Pdf.Parsing.PdfLoadedPageCollection.GetPage(Int32 index)
at Syncfusion.Pdf.Parsing.PdfLoadedPageEnumerator.get_Current()
at Muhimbi.DocumentConverter.WebService.Watermarks.ApplyWatermarks()
at Muhimbi.DocumentConverter.WebService.PostProcessor.Process(Stream sourceStream, String password, Boolean checkLicenseStatus, Boolean converterSupportsNativePDFA1b, Boolean canUseOpenPassword)
at Muhimbi.DocumentConverter.WebService.DocumentConverterService.ProcessPDFStream(Stream sourceFileStream, OpenOptions openOptions, ConversionSettings conversionSettings, Boolean checkLicenseStatus, Boolean canUseOpenPassword)
at Syncfusion.Pdf.IO.PdfLexer.YyText()
at Syncfusion.Pdf.IO.PdfParser.ReadUnicodeString()
at Syncfusion.Pdf.IO.PdfParser.Simple()
at Syncfusion.Pdf.IO.PdfParser.ReadPair()
at Syncfusion.Pdf.IO.PdfParser.Dictionary()
at Syncfusion.Pdf.IO.PdfParser.Simple()
at Syncfusion.Pdf.IO.PdfParser.Parse()
at Syncfusion.Pdf.IO.CrossTable.GetObject(IPdfPrimitive pointer)
at Syncfusion.Pdf.IO.PdfCrossTable.GetObject(IPdfPrimitive pointer)
at Syncfusion.Pdf.Primitives.PdfReferenceHolder.get_Index()
at Syncfusion.Pdf.Primitives.PdfReferenceHolder.GetObject()
at Syncfusion.Pdf.Primitives.PdfReferenceHolder.get_Object()
at Syncfusion.Pdf.IO.PdfCrossTable.GetObject(IPdfPrimitive pointer)
at Syncfusion.Pdf.PdfLoadedPage.CreateAnnotations()
at Syncfusion.Pdf.PdfLoadedPage..ctor(PdfDocumentBase document, PdfCrossTable cTable, PdfDictionary dictionary)
at Syncfusion.Pdf.Parsing.PdfLoadedPageCollection.GetPage(PdfDictionary dic)
at Syncfusion.Pdf.IO.PdfCrossTable.PageProceed(IPdfPrimitive obj)
at Syncfusion.Pdf.IO.PdfCrossTable.GetObject(IPdfPrimitive pointer)
at Syncfusion.Pdf.Primitives.PdfReferenceHolder.get_Index()
at Syncfusion.Pdf.Primitives.PdfReferenceHolder.GetObject()
at Syncfusion.Pdf.Primitives.PdfReferenceHolder.get_Object()
at Syncfusion.Pdf.IO.PdfCrossTable.GetObject(IPdfPrimitive pointer)
at Syncfusion.Pdf.Parsing.PdfLoadedPageCollection.GetParent(Int32 index, Int32& localIndex, Boolean zeroValid)
at Syncfusion.Pdf.Parsing.PdfLoadedPageCollection.GetPage(Int32 index)
at Syncfusion.Pdf.Parsing.PdfLoadedPageEnumerator.get_Current()
at Muhimbi.DocumentConverter.WebService.Watermarks.ApplyWatermarks()
at Muhimbi.DocumentConverter.WebService.PostProcessor.Process(Stream sourceStream, String password, Boolean checkLicenseStatus, Boolean converterSupportsNativePDFA1b, Boolean canUseOpenPassword)
at Muhimbi.DocumentConverter.WebService.DocumentConverterService.ProcessPDFStream(Stream sourceFileStream, OpenOptions openOptions, ConversionSettings conversionSettings, Boolean checkLicenseStatus, Boolean canUseOpenPassword)
SIGN IN To post a reply.
1 Reply
SL
Sowmiya Loganathan
Syncfusion Team
January 25, 2018 09:34 AM UTC
Hi Jim,
We have analyzed the mentioned issue and suspect that this to be a document specific issue. Kindly share the input document and code snippet it will helpful for further analysis and provide the better solution on this.
Please let us know if you need further assistance on this.
Regards,
Sowmiya L
SIGN IN To post a reply.
- 1 Reply
- 2 Participants
-
JL Jim Lapitsky
- Jan 24, 2018 02:32 PM UTC
- Jan 25, 2018 09:34 AM UTC