[ 
https://issues.apache.org/jira/browse/HIVE-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836945#action_12836945
 ] 

Ning Zhang commented on HIVE-1188:
----------------------------------

I do not have this NPE on the latest trunk. But I did see errors for 
-Dstandalone=true. I'm looking into that. 

> NPE when running TestJdbcDriver/TestHiveServer
> ----------------------------------------------
>
>                 Key: HIVE-1188
>                 URL: https://issues.apache.org/jira/browse/HIVE-1188
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>
> {noformat}
> % ant test -Dtestcase=TestJdbcDriver
> BUILD FAILED
> /Users/carl/Projects/hive/hd11/hive/build.xml:154: The following error 
> occurred while executing this line:
> /Users/carl/Projects/hive/hd11/hive/build.xml:93: The following error 
> occurred while executing this line:
> /Users/carl/Projects/hive/hd11/hive/contrib/build.xml:77: 
> java.lang.NullPointerException
>       at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
>       at java.util.Arrays.asList(Arrays.java:3343)
>       at 
> org.apache.hadoop.hive.ant.QTestGenTask.execute(QTestGenTask.java:248)
>       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>       at org.apache.tools.ant.Task.perform(Task.java:348)
>       at org.apache.tools.ant.Target.execute(Target.java:390)
>       at org.apache.tools.ant.Target.performTasks(Target.java:411)
>       at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
>       at 
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
>       at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
>       at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
>       at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:302)
>       at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:221)
>       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>       at org.apache.tools.ant.Task.perform(Task.java:348)
>       at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
>       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>       at org.apache.tools.ant.Task.perform(Task.java:348)
>       at 
> org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
>       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>       at org.apache.tools.ant.Task.perform(Task.java:348)
>       at org.apache.tools.ant.Target.execute(Target.java:390)
>       at org.apache.tools.ant.Target.performTasks(Target.java:411)
>       at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
>       at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
>       at 
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>       at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
>       at org.apache.tools.ant.Main.runBuild(Main.java:801)
>       at org.apache.tools.ant.Main.startAnt(Main.java:218)
>       at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
>       at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
> {noformat}
> TestHiveServer throws the same error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to