You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Eduardo Guimarães (Jira)" <ji...@apache.org> on 2020/04/13 15:44:00 UTC

[jira] [Updated] (TIKA-3091) java.lang.NullPointerException when calling hashCode after instantiating PDFParserConfig

     [ https://issues.apache.org/jira/browse/TIKA-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eduardo Guimarães updated TIKA-3091:
------------------------------------
    Description: 
_averageCharTolerance_ and _spacingTolerance_ are null after instantiating PDFParserConfig
that can cause NullPointerException when calling hashCode. 
{code:java}
PDFParserConfig pdfParserConfig = new PDFParserConfig();
pdfParserConfig.hashCode();
{code}

  was:
AverageCharTolerance and spacingTolerance are null after instantiating PDFParserConfig
that can cause NullPointerException when calling hashCode. 
{code:java}
PDFParserConfig pdfParserConfig = new PDFParserConfig();
pdfParserConfig.hashCode();
{code}


> java.lang.NullPointerException when calling hashCode after instantiating PDFParserConfig
> ----------------------------------------------------------------------------------------
>
>                 Key: TIKA-3091
>                 URL: https://issues.apache.org/jira/browse/TIKA-3091
>             Project: Tika
>          Issue Type: Bug
>    Affects Versions: 1.24
>            Reporter: Eduardo Guimarães
>            Priority: Major
>
> _averageCharTolerance_ and _spacingTolerance_ are null after instantiating PDFParserConfig
> that can cause NullPointerException when calling hashCode. 
> {code:java}
> PDFParserConfig pdfParserConfig = new PDFParserConfig();
> pdfParserConfig.hashCode();
> {code}



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