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

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

Jinho Kim created TAJO-1873:
-------------------------------

             Summary: 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)