You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Zhixiong Chen (JIRA)" <ji...@apache.org> on 2018/05/24 17:42:00 UTC

[jira] [Created] (GOBBLIN-501) Fix NPE thrown from read after EOF of LazyMaterializeDecryptorInputStream

Zhixiong Chen created GOBBLIN-501:
-------------------------------------

             Summary: 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


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)