You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Hung Tran (JIRA)" <ji...@apache.org> on 2018/05/24 18:04:00 UTC
[jira] [Resolved] (GOBBLIN-501) Fix NPE thrown from read after EOF
of LazyMaterializeDecryptorInputStream
[ https://issues.apache.org/jira/browse/GOBBLIN-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hung Tran resolved GOBBLIN-501.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.13.0
Issue resolved by pull request #2371
[https://github.com/apache/incubator-gobblin/pull/2371]
> Fix NPE thrown from read after EOF of LazyMaterializeDecryptorInputStream
> -------------------------------------------------------------------------
>
> Key: GOBBLIN-501
> URL: https://issues.apache.org/jira/browse/GOBBLIN-501
> Project: Apache Gobblin
> Issue Type: Bug
> Reporter: Zhixiong Chen
> Assignee: Zhixiong Chen
> Priority: Major
> Fix For: 0.13.0
>
>
> A `read` call to a LazyMaterializeDecryptorInputStream when it reaches EOF will throw a NPE. The fix is to return `-1` for any read after EOF.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)