Skip to content

Navigation Menu

Sign in
Sign up

IndexOutOfRangeException may occur when getting PDF metadata #34

Open
Labels
bugBug or unexpected behavior cubepdf utilityCubePDF Utility topics help wantedHelp wanted

Description

When Metadata or Save button is pressed, IndexOutOfRangeException may occur.
From Stacktrace, there seems to be a problem in getting Title and other information from PDF metadata.
Any information on this matter would be appreciated.

Stacktrace is as follows:

PresentableBase (366) System.IndexOutOfRangeException
 iText.IO.Source.PdfTokenizer.DecodeStringContent(Byte[] content, Int32 from, Int32 to, Boolean hexWriting)
 iText.Kernel.Pdf.PdfString.DecodeContent()
 iText.Kernel.Pdf.PdfString.ToUnicodeString()
 iText.Kernel.Pdf.PdfDocumentInfo.GetTitle()
 Cube.Pdf.Itext.ReaderExtension.GetMetadata(PdfDocument src)
 Cube.Pdf.Itext.DocumentReader..ctor(String src, Password password, OpenOption options)
 Cube.Pdf.Editor.File.GetItext(Entity src, IQuery`1 query, Boolean partial)
 Cube.Pdf.Editor.SaveExtension.Save(MainFacade src, String dest, Action`1 prev, Action`1 next)
 Cube.Pdf.Editor.SaveExtension.<>c__DisplayClass3_0.<Overwrite>b__0()
 Cube.Syntax.Extensions.Methods.Then(Boolean value, Action action)
 Cube.PresentableBase.<>c__DisplayClass21_0.<Run>g__invoke|0()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug or unexpected behavior cubepdf utilityCubePDF Utility topics help wantedHelp wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /