You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/04/14 16:59:00 UTC

[jira] [Commented] (PDFBOX-4813) Remove catching NullPointerException

    [ https://issues.apache.org/jira/browse/PDFBOX-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17083435#comment-17083435 ] 

ASF subversion and git services commented on PDFBOX-4813:
---------------------------------------------------------

Commit 1876521 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1876521 ]

PDFBOX-4813: don't catch NPE

> Remove catching NullPointerException
> ------------------------------------
>
>                 Key: PDFBOX-4813
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4813
>             Project: PDFBox
>          Issue Type: Task
>    Affects Versions: 2.0.19
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>              Labels: NPE, NullPointerException
>             Fix For: 2.0.20, 3.0.0 PDFBox
>
>
> I'm removing segments like this:
> {code}
> catch (NullPointerException e) // TTF parser is buggy
> {code}
> I can't reproduce getting an NPE. Our code has evolved a lot since then (refactoring, fuzzing, Sonar). If there are any NPEs left, we'll get them in Tim's regression tests.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org