[jira] [Updated] (OOZIE-3078) PasswordMasker throws NPE with null arguments
[ https://issues.apache.org/jira/browse/OOZIE-3078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter Bacsko updated OOZIE-3078: Summary: PasswordMasker throws NPE with null arguments (was: PasswordMatcher throws NPE with null arguments) > PasswordMasker throws NPE with null arguments > - > > Key: OOZIE-3078 > URL: https://issues.apache.org/jira/browse/OOZIE-3078 > Project: Oozie > Issue Type: Bug >Affects Versions: 5.0.0 >Reporter: Attila Sasvari >Assignee: Attila Sasvari > Attachments: OOZIE-3078-01.patch > > > If > [maskPasswordsIfNecessary|https://github.com/apache/oozie/blob/71d3ddc31cfb983dc83c51882f99c4429253230a/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/PasswordMasker.java#L137] > is called with a {{null}} argument, a NPE will be thrown. It should return > false. > Note: [SparkMain | > https://github.com/apache/oozie/blob/71d3ddc31cfb983dc83c51882f99c4429253230a/sharelib/spark/src/main/java/org/apache/oozie/action/hadoop/SparkMain.java#L88] > uses this method. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (OOZIE-3078) PasswordMasker throws NPE with null arguments
[ https://issues.apache.org/jira/browse/OOZIE-3078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Attila Sasvari updated OOZIE-3078: -- Attachment: OOZIE-3078-02.patch > PasswordMasker throws NPE with null arguments > - > > Key: OOZIE-3078 > URL: https://issues.apache.org/jira/browse/OOZIE-3078 > Project: Oozie > Issue Type: Bug >Affects Versions: 5.0.0 >Reporter: Attila Sasvari >Assignee: Attila Sasvari > Attachments: OOZIE-3078-01.patch, OOZIE-3078-02.patch > > > If > [maskPasswordsIfNecessary|https://github.com/apache/oozie/blob/71d3ddc31cfb983dc83c51882f99c4429253230a/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/PasswordMasker.java#L137] > is called with a {{null}} argument, a NPE will be thrown. It should return > false. > Note: [SparkMain | > https://github.com/apache/oozie/blob/71d3ddc31cfb983dc83c51882f99c4429253230a/sharelib/spark/src/main/java/org/apache/oozie/action/hadoop/SparkMain.java#L88] > uses this method. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (OOZIE-3078) PasswordMasker throws NPE with null arguments
[ https://issues.apache.org/jira/browse/OOZIE-3078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Satish Subhashrao Saley updated OOZIE-3078: --- Cherry-picked from master to branch-4.3. > PasswordMasker throws NPE with null arguments > - > > Key: OOZIE-3078 > URL: https://issues.apache.org/jira/browse/OOZIE-3078 > Project: Oozie > Issue Type: Bug >Affects Versions: 5.0.0 >Reporter: Attila Sasvari >Assignee: Attila Sasvari > Fix For: 4.3.1 > > Attachments: OOZIE-3078-01.patch, OOZIE-3078-02.patch > > > If > [maskPasswordsIfNecessary|https://github.com/apache/oozie/blob/71d3ddc31cfb983dc83c51882f99c4429253230a/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/PasswordMasker.java#L137] > is called with a {{null}} argument, a NPE will be thrown. It should return > false. > Note: [SparkMain | > https://github.com/apache/oozie/blob/71d3ddc31cfb983dc83c51882f99c4429253230a/sharelib/spark/src/main/java/org/apache/oozie/action/hadoop/SparkMain.java#L88] > uses this method. -- This message was sent by Atlassian JIRA (v6.4.14#64029)