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

export to pdf error after upgrade to Q3 2010

5 Answers 77 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John S
Top achievements
Rank 1
John S asked on 12 Nov 2010, 10:00 PM
Hi.  After upgrading to Q3 2010, export to pdf is now throwing a run time error (see below).  The export functionality was working fine with Q2 2010.  Also noticed the export to PDF no longer works on the demo page:

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/pdfexport/defaultcs.aspx

System.NullReferenceException: Object reference not set to an instance of an object.
  at Telerik.Web.Apoc.Pdf.PdfFontCreator.CreateBase14Font(String pdfFontID, Base14Font base14)
  at Telerik.Web.Apoc.Pdf.PdfFontCreator.MakeFont(String pdfFontID, Font font)
  at Telerik.Web.Apoc.Pdf.FontSetup.AddToResources(PdfFontCreator fontCreator, PdfResources resources)
  at Telerik.Web.Apoc.Render.Pdf.PdfRenderer.StopRenderer()
  at Telerik.Web.Apoc.StreamRenderer.StopRenderer()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.SystemException: System.NullReferenceException: Object reference not set to an instance of an object.
  at Telerik.Web.Apoc.Pdf.PdfFontCreator.CreateBase14Font(String pdfFontID, Base14Font base14)
  at Telerik.Web.Apoc.Pdf.PdfFontCreator.MakeFont(String pdfFontID, Font font)
  at Telerik.Web.Apoc.Pdf.FontSetup.AddToResources(PdfFontCreator fontCreator, PdfResources resources)
  at Telerik.Web.Apoc.Render.Pdf.PdfRenderer.StopRenderer()
  at Telerik.Web.Apoc.StreamRenderer.StopRenderer()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)

5 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 15 Nov 2010, 10:23 AM
Hello,

This problem is already addressed and will be available as an internal build later today.
As a sign of gratitude for the bug report I updated your Telerik points.

Please excuse us for the inconenivence.

Best regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
dataconcept
Top achievements
Rank 1
answered on 25 Nov 2010, 02:31 PM
Hi,
Has this issue been resolved?
And if so, what is the workaround?

Thanks in advance.
0
Daniel
Telerik team
answered on 25 Nov 2010, 05:10 PM
Hello,

This problem is already resolved in the latest internal builds. You can download the files from the link below:
Latest Internal Builds

Kind regards,
Daniel
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Jerry T.
Top achievements
Rank 1
answered on 09 Dec 2010, 10:49 PM
I downloaded the latest internal build in order to correct the same issue with the export to PDF error.  Now I cannot run my project locally.

The Telerik controls cannot be created.  I keep getting "Telerik is undefined".  From Firebug:
Telerik is not defined
 $create(Telerik.Web.UI.RadTextBox,..."]}}, null, null, $get("UserName"));

I extracted the .NET 4.0 version of the DLLs and replaced my 2010 Q3 versions with those new ones and rebuilt my solution.

Is there anything I missed in order to get the DLLs replaced and working properly?

Jerry


EDIT: P.S. - It's important to turn off CDN for this.  :-)    Looks like it's working now.
0
Daniel
Telerik team
answered on 10 Dec 2010, 09:13 AM
Hello Jerry,

Please mind that the latest internal builds are:
  • made automatically and include all current fixes from our source repository
  • intended for development only
  • not recommended for production purposes
  • have not gone through the complete QA process
  • an integral part of our development process
  • no CDN support (applicable to ASP.NET Ajax and ASP.NET MVC RadControls)

Best regards,
Daniel
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
John S
Top achievements
Rank 1
Answers by
Daniel
Telerik team
dataconcept
Top achievements
Rank 1
Jerry T.
Top achievements
Rank 1
Share this question
or