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

NotImplementedException processing PDF

2 Answers 27 Views
PdfProcessing
This is a migrated thread and some comments may be shown as answers.
Scott Waye
Top achievements
Rank 1
Veteran
Iron
Scott Waye asked on 23 May 2017, 03:03 PM

Hi,

We are getting the following exception when importing a PDF:with version 2016.2.815

 

Type: System.NotImplementedException
Message: The method or operation is not implemented.
Source: Telerik.Windows.Documents.Fixed
TargetSite: Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.ColorSpaces.ColorBase GetColor(Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfArray)
StackTrace:    at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.ColorSpaces.IccBased.GetColor(PdfArray components)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Operators.Color.SetColorNBase.LoadPatternColor(ContentStreamInterpreter interpreter, IPdfContentImportContext context, Pattern patternColorSpace)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Operators.Color.SetColorNBase.Execute(ContentStreamInterpreter interpreter, IPdfContentImportContext context)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.ContentStreamInterpreter.Execute()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.ContentStream.CopyPropertiesTo(PostScriptReader reader, IPdfImportContext context, IResourceHolder resourceHolder, IContentRootElement contentRoot)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.Page.CopyPropertiesTo(PostScriptReader reader, IPdfImportContext context, RadFixedPage fixedPage)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.DocumentCatalog.CopyPropertiesTo(PostScriptReader reader, IPdfImportContext context)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.RadFixedDocumentImportContext.BeginImport(PostScriptReader reader)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.ImportOverride(Stream input)

 

I assume there is something about the PDF and its colours that is not supported in the PdfProcessing classes.  Any idea what that might be and how we can work around it?

2 Answers, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 26 May 2017, 09:08 AM
Hi Scott,

We are unaware of such an exception when importing PDF. Could you verify whether this issue still appears using our latest 2017.2.503 controls version? We made a lot of fixed since the version you have mentioned. If the issue is still observed, could you share the sample pdf file so we could debug it locally and see what is wrong? Since this is a forum thread you could submit a support ticket or use a third party web site for files sharing.

Regards,
Peshito
Progress Telerik

0
Scott Waye
Top achievements
Rank 1
Veteran
Iron
answered on 29 May 2017, 02:38 PM
Same error with 2017.2.428.40  I'll create a ticket and upload the PDF.
Tags
PdfProcessing
Asked by
Scott Waye
Top achievements
Rank 1
Veteran
Iron
Answers by
Peshito
Telerik team
Scott Waye
Top achievements
Rank 1
Veteran
Iron
Share this question
or