[ https://issues.apache.org/jira/browse/HIVE-15855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fei Hui reassigned HIVE-15855: ------------------------------ Assignee: Fei Hui > throws NPE when using Hplsql UDF > -------------------------------- > > Key: HIVE-15855 > URL: https://issues.apache.org/jira/browse/HIVE-15855 > Project: Hive > Issue Type: Bug > Components: hpl/sql > Affects Versions: 2.2.0 > Environment: hive 2.2.0 > Reporter: Fei Hui > Assignee: Fei Hui > > http://www.hplsql.org/udf > here is error log i get > Caused by: java.lang.NullPointerException > at org.apache.hive.hplsql.Exec.setVariable(Exec.java:148) > ~[hive-hplsql-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] > at org.apache.hive.hplsql.Exec.setVariable(Exec.java:158) > ~[hive-hplsql-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] > at org.apache.hive.hplsql.Udf.setParameters(Udf.java:92) > ~[hive-hplsql-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] > at org.apache.hive.hplsql.Udf.evaluate(Udf.java:74) > ~[hive-hplsql-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] > at > org.apache.hadoop.hive.ql.exec.ExprNodeGenericFuncEvaluator._evaluate(ExprNodeGenericFuncEvaluator.java:187) > ~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] > at > org.apache.hadoop.hive.ql.exec.ExprNodeEvaluator.evaluate(ExprNodeEvaluator.java:80) > ~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] > at > org.apache.hadoop.hive.ql.exec.ExprNodeEvaluator.evaluate(ExprNodeEvaluator.java:68) > ~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] > at > org.apache.hadoop.hive.ql.exec.SelectOperator.process(SelectOperator.java:88) > ~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] > at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:897) > ~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] > at > org.apache.hadoop.hive.ql.exec.TableScanOperator.process(TableScanOperator.java:130) > ~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] > at > org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:438) > ~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] > at > org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:430) > ~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] > at org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:147) > ~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] > at org.apache.hadoop.hive.ql.Driver.getResults(Driver.java:2209) > ~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] > at > org.apache.hive.service.cli.operation.SQLOperation.getNextRowSet(SQLOperation.java:492) > ~[hive-service-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT] -- This message was sent by Atlassian JIRA (v6.3.15#6346)