You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/02/23 17:19:00 UTC
[jira] [Comment Edited] (PDFBOX-4122) Resolve potential NPEs
flagged by Sonar
[ https://issues.apache.org/jira/browse/PDFBOX-4122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16374629#comment-16374629 ]
Tilman Hausherr edited comment on PDFBOX-4122 at 2/23/18 5:18 PM:
------------------------------------------------------------------
Re ValidationResult: IMHO Sonar is mistaken, errorcode is never null, because of the constructor. I'll make a few changes to see what happens. The other one (outlines) is easier.
was (Author: tilman):
Re ValidationResult: IMHO Sonar is mistaken, errorcode is never null, because of the constructor. I'll make a few changes to see what happens.
> Resolve potential NPEs flagged by Sonar
> ---------------------------------------
>
> Key: PDFBOX-4122
> URL: https://issues.apache.org/jira/browse/PDFBOX-4122
> Project: PDFBox
> Issue Type: Sub-task
> Affects Versions: 3.0.0 PDFBox
> Reporter: Maruan Sahyoun
> Assignee: Maruan Sahyoun
> Priority: Major
> Fix For: 3.0.0 PDFBox
>
>
> We have many potential NPEs resolved by now but there are still some flagged by Sonar
> https://builds.apache.org/analysis/component_issues?id=org.apache.pdfbox%3Apdfbox-reactor#resolved=false|types=BUG|severities=BLOCKER.
> Although it's very unlikely that we hit them in practice e.g. as this would mean a very corrupt font file I'll try to resolve these debug logging the condition and returning in that case.
> [~tilman] [~lehmi] please comment/revert if you are not happy with the approach.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org