You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Frank Cornelis (Created) (JIRA)" <ji...@apache.org> on 2011/12/19 14:51:31 UTC

[jira] [Created] (PDFBOX-1193) BaseParser print useful offset instead of java object

BaseParser print useful offset instead of java object
-----------------------------------------------------

                 Key: PDFBOX-1193
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1193
             Project: PDFBox
          Issue Type: Improvement
            Reporter: Frank Cornelis
         Attachments: BaseParser-print-offset-instead-of-java-object.patch

When dictionary parsing explodes, the exception thrown contains a java object reference. Much more interesting is to print out the PDF offset where it goes wrong.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PDFBOX-1193) BaseParser print useful offset instead of java object

Posted by "Frank Cornelis (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Cornelis updated PDFBOX-1193:
-----------------------------------

    Attachment: BaseParser-print-offset-instead-of-java-object.patch

Patch that fixes this.
                
> BaseParser print useful offset instead of java object
> -----------------------------------------------------
>
>                 Key: PDFBOX-1193
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1193
>             Project: PDFBox
>          Issue Type: Improvement
>            Reporter: Frank Cornelis
>         Attachments: BaseParser-print-offset-instead-of-java-object.patch
>
>
> When dictionary parsing explodes, the exception thrown contains a java object reference. Much more interesting is to print out the PDF offset where it goes wrong.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (PDFBOX-1193) BaseParser print useful offset instead of java object

Posted by "Andreas Lehmkühler (Resolved JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler resolved PDFBOX-1193.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
         Assignee: Andreas Lehmkühler

I added the patch as proposed in revision 1220892

Thanks for the contribution!
                
> BaseParser print useful offset instead of java object
> -----------------------------------------------------
>
>                 Key: PDFBOX-1193
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1193
>             Project: PDFBox
>          Issue Type: Improvement
>            Reporter: Frank Cornelis
>            Assignee: Andreas Lehmkühler
>             Fix For: 1.7.0
>
>         Attachments: BaseParser-print-offset-instead-of-java-object.patch
>
>
> When dictionary parsing explodes, the exception thrown contains a java object reference. Much more interesting is to print out the PDF offset where it goes wrong.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira