Seonggon Namgung created HIVE-27344: ---------------------------------------
Summary: ORC RecordReaderImpl throws NPE when close() is called from the constructor Key: HIVE-27344 URL: https://issues.apache.org/jira/browse/HIVE-27344 Project: Hive Issue Type: Bug Affects Versions: 4.0.0-alpha-2, 3.1.3 Reporter: Seonggon Namgung Assignee: Seonggon Namgung org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl throws NullPointerException when the constructor of its super class org.apache.orc.impl.RecordReaderImpl calls this.close(). close() mutates the field 'batch', which is initialized after super class constructor is done. Therefore, we need a null check of field 'batch' in close(). -- This message was sent by Atlassian Jira (v8.20.10#820010)