[ 
https://issues.apache.org/jira/browse/HIVE-9936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Pivovarov updated HIVE-9936:
--------------------------------------
    Description: 
In some cases DefaultUDAFEvaluatorResolver calls new 
AmbiguousMethodException(udafClass, null, null)  (line 94)
This will throw NPE because AmbiguousMethodException calls 
argTypeInfos.toString()
argTypeInfos is the second parameter and it can not be null.

  was:
In some cases DefaultUDAFEvaluatorResolver calls new 
AmbiguousMethodException(udafClass, null, null)
This will throw NPE because AmbiguousMethodException calls 
argTypeInfos.toString()
argTypeInfos is the second parameter and it can not be null.


> fix potential NPE in DefaultUDAFEvaluatorResolver
> -------------------------------------------------
>
>                 Key: HIVE-9936
>                 URL: https://issues.apache.org/jira/browse/HIVE-9936
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>
> In some cases DefaultUDAFEvaluatorResolver calls new 
> AmbiguousMethodException(udafClass, null, null)  (line 94)
> This will throw NPE because AmbiguousMethodException calls 
> argTypeInfos.toString()
> argTypeInfos is the second parameter and it can not be null.



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

Reply via email to