[ https://issues.apache.org/jira/browse/HIVE-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-1188: --------------------------------- Status: Patch Available (was: Open) bq. Can you add some dummy lines in .gitignore to make it work? Fixed. > 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 > Affects Versions: 0.5.0, 0.6.0 > Reporter: Carl Steinbach > Assignee: Carl Steinbach > Attachments: HIVE-1188.2.patch, HIVE-1188.patch > > > {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.