You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2013/11/13 01:15:18 UTC

[jira] [Created] (HADOOP-10094) NPE in GenericOptionsParser#preProcessForWindows()

Enis Soztutar created HADOOP-10094:
--------------------------------------

             Summary: NPE in GenericOptionsParser#preProcessForWindows()
                 Key: HADOOP-10094
                 URL: https://issues.apache.org/jira/browse/HADOOP-10094
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Enis Soztutar
            Assignee: Enis Soztutar
             Fix For: 3.0.0, 1-win, 2.3.0, 2.2.1
         Attachments: hbase-10094_v1.patch

main() in java guarantees that args is not null, but on some uses of Tool interface from java, people seem to pass around null as args, causing a NPE in GenericOptionsParser. 

Although, passing null is not recommended, we can do a trivial fix. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)