I have this message while printing a particular PDF: https://drive.google.com/file/d/0BzXenGGVXpm3Nm9jUDNlTXRGNG8/view?usp=sharing
The error stack is:
System.ArgumentNullException was unhandled
Message: An unhandled exception of type 'System.ArgumentNullException' occurred in Telerik.Windows.Zip.dll
Additional information: Value cannot be null.
Other PDF prints fine. How do I resolve it ? Any suggestion on what to look at ?
Other information:
----------------
Teleriks RadControls version 2014.2.729.40
Telerik.Windows.Zip.dll: version 2014.2.729.40
ASP.NET 4.0
Visual Studio 2013
Windows 7 x64
The error stack is:
System.ArgumentNullException was unhandled
Message: An unhandled exception of type 'System.ArgumentNullException' occurred in Telerik.Windows.Zip.dll
Additional information: Value cannot be null.
Other PDF prints fine. How do I resolve it ? Any suggestion on what to look at ?
Other information:
----------------
Teleriks RadControls version 2014.2.729.40
Telerik.Windows.Zip.dll: version 2014.2.729.40
ASP.NET 4.0
Visual Studio 2013
Windows 7 x64
2 Answers, 1 is accepted
0
Dio Phung
Top achievements
Rank 1
answered on 27 Oct 2014, 03:45 AM
A more detail stacktrace for this exception:
=========
at Telerik.Windows.Documents.Core.Utils.Guard.ThrowPositionOutOfRangeException() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Core\Core\Utils\Guard.cs:line 10
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Readers.PdfReaderBase.ReadInternal() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Readers\PdfReaderBase.cs:line 164
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Readers.PdfReaderBase.Read() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Readers\PdfReaderBase.cs:line 75
at Telerik.Windows.Documents.Core.PostScript.PostScriptReaderHelper.ReadLiteralString(IPostScriptReader reader) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Core\Core\PostScript\PostScriptReaderHelper.cs:line 197
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Readers.PdfReaderBase.ReadLiteralString() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Readers\PdfReaderBase.cs:line 131
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Readers.ContentStreamReader.ReadToken() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Readers\ContentStreamReader.cs:line 63
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Parsers.ContentStreamParser.ReadObjectsToToken(Token endToken, Boolean replaceAbbreviations) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Parsers\ContentStreamParser.cs:line 87
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Parsers.ContentStreamParser.ParseCurrentTokenToArray(Boolean replaceAbbreviations) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Parsers\ContentStreamParser.cs:line 610
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Parsers.ContentStreamParser.ReadObjectsToToken(Token endToken, Boolean replaceAbbreviations) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Parsers\ContentStreamParser.cs:line 92
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Parsers.ContentStreamParser.ParseCurrentTokenToArray(Boolean replaceAbbreviations) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Parsers\ContentStreamParser.cs:line 610
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Parsers.ContentStreamParser.ReadObjectsToToken(Token endToken, Boolean replaceAbbreviations) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Parsers\ContentStreamParser.cs:line 92
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Parsers.ContentStreamParser.ReadObjectsToToken(Token endToken) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Parsers\ContentStreamParser.cs:line 79
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Parsers.ContentStreamParser.ParseContent() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Parsers\ContentStreamParser.cs:line 65
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.GetPageContent(Page source) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfFormatProvider.cs:line 177
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.LoadPageContent(RadFixedPage page) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfFormatProvider.cs:line 120
at Telerik.Windows.Documents.Fixed.Model.RadFixedPage.LoadContent() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\Model\RadFixedPage.cs:line 132
at Telerik.Windows.Documents.Fixed.UI.Layers.ContentElementsUILayer.InitializePage(UILayerInitializeContext context) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\Fixed\UI\Layers\ContentElementsUILayer_WPF.cs:line 72
at Telerik.Windows.Documents.Fixed.UI.Layers.ContentElementsUILayer.Initialize(UILayerInitializeContext context) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\Fixed\UI\Layers\ContentElementsUILayer_WPF.cs:line 41
at Telerik.Windows.Documents.UI.FixedPagePresenterBase.InitializeUILayers(UILayerInitializeContext context) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\FixedPagePresenterBase.cs:line 61
at Telerik.Windows.Documents.Fixed.Print.PrintManager.GetPage(Int32 pageInd, Size printableArea, Thickness pageMargins) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\Fixed\Print\PrintManager.cs:line 52
at Telerik.Windows.Documents.Fixed.Print.PrintManager.<>c__DisplayClass5.<Print>b__4(Int32 pageNumber) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\Fixed\Print\PrintManager_WPF.cs:line 45
at Telerik.Windows.Documents.Utilities.RadPaginator.GetPage(Int32 pageNumber) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\Utils\RadPaginator.cs:line 35
at System.Windows.Xps.Serialization.Toolbox.GetPage(DocumentPaginator paginator, Int32 index)
at System.Windows.Xps.Serialization.NgcDocumentPaginatorSerializer.SerializeObject(Object serializedObject)
at System.Windows.Xps.Serialization.NgcSerializationManager.SaveAsXaml(Object serializedObject)
at System.Windows.Xps.XpsDocumentWriter.SaveAsXaml(Object serializedObject, Boolean isSync)
at System.Windows.Xps.XpsDocumentWriter.Write(DocumentPaginator documentPaginator)
at System.Windows.Controls.PrintDialog.PrintDocument(DocumentPaginator documentPaginator, String description)
at Telerik.Windows.Documents.Fixed.Print.PrintManager.Print(PrintDialog printDialog, PrintSettings settings) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\Fixed\Print\PrintManager_WPF.cs:line 48
at Telerik.Windows.Controls.FixedDocumentViewerBase.Print(PrintDialog printDialog, PrintSettings settings) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\FixedDocumentViewerBase.cs:line 1034
at Mims.Online.Ent.Presentation.Desktop.Modules.PrintHelper.PrintPdfFileFromCache(String inFullPath) in c:\Work\svn\mimsonline\trunk\application\dotnet\project\Mims.Online.Ent.Presentation.Desktop\Modules\PrintHelper.cs:line 157
=========
at Telerik.Windows.Documents.Core.Utils.Guard.ThrowPositionOutOfRangeException() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Core\Core\Utils\Guard.cs:line 10
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Readers.PdfReaderBase.ReadInternal() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Readers\PdfReaderBase.cs:line 164
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Readers.PdfReaderBase.Read() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Readers\PdfReaderBase.cs:line 75
at Telerik.Windows.Documents.Core.PostScript.PostScriptReaderHelper.ReadLiteralString(IPostScriptReader reader) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Core\Core\PostScript\PostScriptReaderHelper.cs:line 197
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Readers.PdfReaderBase.ReadLiteralString() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Readers\PdfReaderBase.cs:line 131
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Readers.ContentStreamReader.ReadToken() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Readers\ContentStreamReader.cs:line 63
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Parsers.ContentStreamParser.ReadObjectsToToken(Token endToken, Boolean replaceAbbreviations) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Parsers\ContentStreamParser.cs:line 87
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Parsers.ContentStreamParser.ParseCurrentTokenToArray(Boolean replaceAbbreviations) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Parsers\ContentStreamParser.cs:line 610
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Parsers.ContentStreamParser.ReadObjectsToToken(Token endToken, Boolean replaceAbbreviations) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Parsers\ContentStreamParser.cs:line 92
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Parsers.ContentStreamParser.ParseCurrentTokenToArray(Boolean replaceAbbreviations) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Parsers\ContentStreamParser.cs:line 610
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Parsers.ContentStreamParser.ReadObjectsToToken(Token endToken, Boolean replaceAbbreviations) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Parsers\ContentStreamParser.cs:line 92
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Parsers.ContentStreamParser.ReadObjectsToToken(Token endToken) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Parsers\ContentStreamParser.cs:line 79
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfReader.Parsers.ContentStreamParser.ParseContent() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfReader\Parsers\ContentStreamParser.cs:line 65
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.GetPageContent(Page source) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfFormatProvider.cs:line 177
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.LoadPageContent(RadFixedPage page) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\PdfFormatProvider.cs:line 120
at Telerik.Windows.Documents.Fixed.Model.RadFixedPage.LoadContent() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\Model\RadFixedPage.cs:line 132
at Telerik.Windows.Documents.Fixed.UI.Layers.ContentElementsUILayer.InitializePage(UILayerInitializeContext context) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\Fixed\UI\Layers\ContentElementsUILayer_WPF.cs:line 72
at Telerik.Windows.Documents.Fixed.UI.Layers.ContentElementsUILayer.Initialize(UILayerInitializeContext context) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\Fixed\UI\Layers\ContentElementsUILayer_WPF.cs:line 41
at Telerik.Windows.Documents.UI.FixedPagePresenterBase.InitializeUILayers(UILayerInitializeContext context) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\FixedPagePresenterBase.cs:line 61
at Telerik.Windows.Documents.Fixed.Print.PrintManager.GetPage(Int32 pageInd, Size printableArea, Thickness pageMargins) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\Fixed\Print\PrintManager.cs:line 52
at Telerik.Windows.Documents.Fixed.Print.PrintManager.<>c__DisplayClass5.<Print>b__4(Int32 pageNumber) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\Fixed\Print\PrintManager_WPF.cs:line 45
at Telerik.Windows.Documents.Utilities.RadPaginator.GetPage(Int32 pageNumber) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\Utils\RadPaginator.cs:line 35
at System.Windows.Xps.Serialization.Toolbox.GetPage(DocumentPaginator paginator, Int32 index)
at System.Windows.Xps.Serialization.NgcDocumentPaginatorSerializer.SerializeObject(Object serializedObject)
at System.Windows.Xps.Serialization.NgcSerializationManager.SaveAsXaml(Object serializedObject)
at System.Windows.Xps.XpsDocumentWriter.SaveAsXaml(Object serializedObject, Boolean isSync)
at System.Windows.Xps.XpsDocumentWriter.Write(DocumentPaginator documentPaginator)
at System.Windows.Controls.PrintDialog.PrintDocument(DocumentPaginator documentPaginator, String description)
at Telerik.Windows.Documents.Fixed.Print.PrintManager.Print(PrintDialog printDialog, PrintSettings settings) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\Fixed\Print\PrintManager_WPF.cs:line 48
at Telerik.Windows.Controls.FixedDocumentViewerBase.Print(PrintDialog printDialog, PrintSettings settings) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\FixedDocumentViewerBase.cs:line 1034
at Mims.Online.Ent.Presentation.Desktop.Modules.PrintHelper.PrintPdfFileFromCache(String inFullPath) in c:\Work\svn\mimsonline\trunk\application\dotnet\project\Mims.Online.Ent.Presentation.Desktop\Modules\PrintHelper.cs:line 157
0
Hi Dio,
Thank you for contacting us.
We will investigate this issue and do our best to fix it for one of the next internal builds.
The Telerik points are updated in your account in appreciation of your involvement.
Regards,
Kammen
Telerik
Thank you for contacting us.
We will investigate this issue and do our best to fix it for one of the next internal builds.
The Telerik points are updated in your account in appreciation of your involvement.
Regards,
Kammen
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.