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)