[jira] [Commented] (PDFBOX-3534) NPE if an AcroForm field's child cosdict is null

2016-10-21 Thread Tim Allison (JIRA)

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

Tim Allison commented on PDFBOX-3534:
-

Great.  Thank you for confirming.  I didn't make this commit because 1) I 
didn't like the test code and 2) I wasn't sure if ignoring the nulls was 
"standard" behavior :).  Both questions answered.  Thank you!

> NPE if an AcroForm field's child cosdict is null
> 
>
> Key: PDFBOX-3534
> URL: https://issues.apache.org/jira/browse/PDFBOX-3534
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
> Attachments: PDFBOX-3534.patch
>
>
> [~sevaa] raised this issue on TIKA-2117.  I confirmed that it is still 
> happening on trunk



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (PDFBOX-3534) NPE if an AcroForm field's child cosdict is null

2016-10-21 Thread Maruan Sahyoun (JIRA)

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

Maruan Sahyoun commented on PDFBOX-3534:


I've verified with Acrobat and it's not treating the AcroForms entries as 
fields at all. Wanted to make sure that it doesn't do any repair behind the 
scenes. 

> NPE if an AcroForm field's child cosdict is null
> 
>
> Key: PDFBOX-3534
> URL: https://issues.apache.org/jira/browse/PDFBOX-3534
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
> Attachments: PDFBOX-3534.patch
>
>
> [~sevaa] raised this issue on TIKA-2117.  I confirmed that it is still 
> happening on trunk



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (PDFBOX-3534) NPE if an AcroForm field's child cosdict is null

2016-10-20 Thread Tim Allison (JIRA)

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

Tim Allison commented on PDFBOX-3534:
-

Y, the cost in code and bytes for the test file didn't seem worth it.  Thank 
you!

> NPE if an AcroForm field's child cosdict is null
> 
>
> Key: PDFBOX-3534
> URL: https://issues.apache.org/jira/browse/PDFBOX-3534
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
> Attachments: PDFBOX-3534.patch
>
>
> [~sevaa] raised this issue on TIKA-2117.  I confirmed that it is still 
> happening on trunk



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (PDFBOX-3534) NPE if an AcroForm field's child cosdict is null

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr commented on PDFBOX-3534:
-

That would be a multiple of the work compared to the fix... the real problem is 
that there is a lot of existing code that is too "optimistic".

> NPE if an AcroForm field's child cosdict is null
> 
>
> Key: PDFBOX-3534
> URL: https://issues.apache.org/jira/browse/PDFBOX-3534
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
> Attachments: PDFBOX-3534.patch
>
>
> [~sevaa] raised this issue on TIKA-2117.  I confirmed that it is still 
> happening on trunk



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (PDFBOX-3534) NPE if an AcroForm field's child cosdict is null

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 1765853 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1765853 ]

PDFBOX-3534: avoid NPE if AcroForm field's child cosdict is null, as suggested 
by Tim Allison

> NPE if an AcroForm field's child cosdict is null
> 
>
> Key: PDFBOX-3534
> URL: https://issues.apache.org/jira/browse/PDFBOX-3534
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Attachments: PDFBOX-3534.patch
>
>
> [~sevaa] raised this issue on TIKA-2117.  I confirmed that it is still 
> happening on trunk



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (PDFBOX-3534) NPE if an AcroForm field's child cosdict is null

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 1765854 from [~tilman] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1765854 ]

PDFBOX-3534: avoid NPE if AcroForm field's child cosdict is null, as suggested 
by Tim Allison

> NPE if an AcroForm field's child cosdict is null
> 
>
> Key: PDFBOX-3534
> URL: https://issues.apache.org/jira/browse/PDFBOX-3534
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Attachments: PDFBOX-3534.patch
>
>
> [~sevaa] raised this issue on TIKA-2117.  I confirmed that it is still 
> happening on trunk



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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