hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HIVE-25134) NPE in TestHiveCli.java
Date Wed, 28 Jul 2021 00:09:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-25134?focusedWorklogId=628801&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-628801
]

ASF GitHub Bot logged work on HIVE-25134:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 28/Jul/21 00:08
            Start Date: 28/Jul/21 00:08
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] closed pull request #2307:
URL: https://github.com/apache/hive/pull/2307


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 628801)
    Time Spent: 50m  (was: 40m)

> NPE in TestHiveCli.java
> -----------------------
>
>                 Key: HIVE-25134
>                 URL: https://issues.apache.org/jira/browse/HIVE-25134
>             Project: Hive
>          Issue Type: Test
>          Components: Beeline, Test
>            Reporter: gaozhan ding
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> {code:java}
> @Before
> public void setup() throws IOException, URISyntaxException {
>   System.setProperty("datanucleus.schema.autoCreateAll", "true");
>   cli = new HiveCli();
>   initFromFile();
>   redirectOutputStream();
> }
> {code}
> In *setup()*, *initFromFile()* may access *err* before initialization
>  
>  
> {code:java}
> [ERROR] org.apache.hive.beeline.cli.TestHiveCli.testSetPromptValue  Time elapsed: 1.167
s  <<< ERROR!
> java.lang.NullPointerException
>         at org.apache.hive.beeline.cli.TestHiveCli.executeCMD(TestHiveCli.java:249)
>         at org.apache.hive.beeline.cli.TestHiveCli.initFromFile(TestHiveCli.java:315)
>         at org.apache.hive.beeline.cli.TestHiveCli.setup(TestHiveCli.java:288)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
>         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
>         at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
>         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
>         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>         at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
>         at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
>         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message