You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2019/06/28 19:33:00 UTC
[jira] [Commented] (PHOENIX-5379) Avoid possible NPE while closing
CSVParser
[ https://issues.apache.org/jira/browse/PHOENIX-5379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875179#comment-16875179 ]
Lars Hofhansl commented on PHOENIX-5379:
----------------------------------------
What happens when we fail to create the parser? Would the file still be closed?
> Avoid possible NPE while closing CSVParser
> ------------------------------------------
>
> Key: PHOENIX-5379
> URL: https://issues.apache.org/jira/browse/PHOENIX-5379
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.15.0, 4.15.1, 4.14.3
> Reporter: Viraj Jasani
> Assignee: Viraj Jasani
> Priority: Major
> Fix For: 4.15.0, 4.15.1, 4.14.3
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> CSVFileResultHandler closes the parser which could cause NPE if CSVParser parse cause IOException.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)