Munagala V. Ramanath created APEXMALHAR-2268:
------------------------------------------------

             Summary: AbstractFileInputOperator: During replay, readEntity may 
be called without calling openFile.
                 Key: APEXMALHAR-2268
                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2268
             Project: Apache Apex Malhar
          Issue Type: Bug
            Reporter: Munagala V. Ramanath


AbstractFileInputOperator: During replay, if the file named in the recovery 
entry is not found, a NPE may be thrown.

Details:
1. In replay(), retryFailedFile() is called.
2. It finds file does not exist and returns null without calling  openFile()
3. replay() then continues with the line-reading loop and calls  readEntity()
4. readEntity() can throw NPE since the BufferedReader it uses is  not 
initialized.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to