export to pdf error after upgrade to Q3 2010

6 posts, 0 answers
  1. John S
    John S avatar
    1 posts
    Member since:
    Sep 2005

    Posted 12 Nov 2010 Link to this post

    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)
  2. Daniel
    Admin
    Daniel avatar
    4945 posts

    Posted 15 Nov 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. dataconcept
    dataconcept avatar
    1 posts
    Member since:
    Jun 2007

    Posted 25 Nov 2010 Link to this post

    Hi,
    Has this issue been resolved?
    And if so, what is the workaround?

    Thanks in advance.
  5. Daniel
    Admin
    Daniel avatar
    4945 posts

    Posted 25 Nov 2010 Link to this post

    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.
  6. Jerry T.
    Jerry T. avatar
    118 posts
    Member since:
    Jul 2012

    Posted 09 Dec 2010 Link to this post

    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.
  7. Daniel
    Admin
    Daniel avatar
    4945 posts

    Posted 10 Dec 2010 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017