You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/09/21 08:49:04 UTC

[jira] [Commented] (TAJO-1873) Fix NPE in QueryExecutorServlet

    [ https://issues.apache.org/jira/browse/TAJO-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14900271#comment-14900271 ] 

ASF GitHub Bot commented on TAJO-1873:
--------------------------------------

GitHub user jinossy opened a pull request:

    https://github.com/apache/tajo/pull/774

    TAJO-1873: Fix NPE in QueryExecutorServlet.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jinossy/tajo TAJO-1873

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/774.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #774
    
----
commit fc0031bb1661d4af909b90dded4f8b6c5de83a99
Author: Jinho Kim <jh...@apache.org>
Date:   2015-09-21T06:47:12Z

    TAJO-1873: Fix NPE in QueryExecutorServlet.

----


> Fix NPE in QueryExecutorServlet
> -------------------------------
>
>                 Key: TAJO-1873
>                 URL: https://issues.apache.org/jira/browse/TAJO-1873
>             Project: Tajo
>          Issue Type: Bug
>          Components: Web UI
>            Reporter: Jinho Kim
>            Assignee: Jinho Kim
>            Priority: Minor
>             Fix For: 0.11.0, 0.12.0
>
>
> If the value is an SQL NULL, the ResultSet.getObject returns a Java null
> {noformat}
> java.lang.NullPointerException at org.apache.tajo.webapp.QueryExecutorServlet$QueryRunner.MakeResultText(QueryExecutorServlet.java:517) at org.apache.tajo.webapp.QueryExecutorServlet$QueryRunner.getSimpleQueryResult(QueryExecutorServlet.java:384) at org.apache.tajo.webapp.QueryExecutorServlet$QueryRunner.run(QueryExecutorServlet.java:343) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at 
> {noformat}



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