Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0, 0.12.0
    • Component/s: Web UI
    • Labels:
      None

      Description

      If the value is an SQL NULL, the ResultSet.getObject returns a Java null

      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 
      

        Activity

        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-master-build #888 (See https://builds.apache.org/job/Tajo-master-build/888/)
        TAJO-1873: Fix NPE in QueryExecutorServlet. (jhkim: rev eef7878bd3d82dc0468e3e977e43a46d3903781a)

        • tajo-core/src/main/java/org/apache/tajo/webapp/QueryExecutorServlet.java
        • CHANGES
        • tajo-client/src/main/java/org/apache/tajo/client/ResultSetUtil.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #888 (See https://builds.apache.org/job/Tajo-master-build/888/ ) TAJO-1873 : Fix NPE in QueryExecutorServlet. (jhkim: rev eef7878bd3d82dc0468e3e977e43a46d3903781a) tajo-core/src/main/java/org/apache/tajo/webapp/QueryExecutorServlet.java CHANGES tajo-client/src/main/java/org/apache/tajo/client/ResultSetUtil.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Tajo-master-CODEGEN-build #527 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/527/)
        TAJO-1873: Fix NPE in QueryExecutorServlet. (jhkim: rev eef7878bd3d82dc0468e3e977e43a46d3903781a)

        • tajo-client/src/main/java/org/apache/tajo/client/ResultSetUtil.java
        • CHANGES
        • tajo-core/src/main/java/org/apache/tajo/webapp/QueryExecutorServlet.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #527 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/527/ ) TAJO-1873 : Fix NPE in QueryExecutorServlet. (jhkim: rev eef7878bd3d82dc0468e3e977e43a46d3903781a) tajo-client/src/main/java/org/apache/tajo/client/ResultSetUtil.java CHANGES tajo-core/src/main/java/org/apache/tajo/webapp/QueryExecutorServlet.java
        Hide
        hudson Hudson added a comment -

        ABORTED: Integrated in Tajo-0.11.0-build #62 (See https://builds.apache.org/job/Tajo-0.11.0-build/62/)
        TAJO-1873: Fix NPE in QueryExecutorServlet. (jhkim: rev d49a56febc93a268edad0d8047bf38d20e375db7)

        • CHANGES
        • tajo-client/src/main/java/org/apache/tajo/client/ResultSetUtil.java
        • tajo-core/src/main/java/org/apache/tajo/webapp/QueryExecutorServlet.java
        Show
        hudson Hudson added a comment - ABORTED: Integrated in Tajo-0.11.0-build #62 (See https://builds.apache.org/job/Tajo-0.11.0-build/62/ ) TAJO-1873 : Fix NPE in QueryExecutorServlet. (jhkim: rev d49a56febc93a268edad0d8047bf38d20e375db7) CHANGES tajo-client/src/main/java/org/apache/tajo/client/ResultSetUtil.java tajo-core/src/main/java/org/apache/tajo/webapp/QueryExecutorServlet.java
        Hide
        jhkim Jinho Kim added a comment -

        committed it
        Thanks

        Show
        jhkim Jinho Kim added a comment - committed it Thanks
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

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

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/tajo/pull/774
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on the pull request:

        https://github.com/apache/tajo/pull/774#issuecomment-142162487

        +1 LGTM

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/774#issuecomment-142162487 +1 LGTM
        Hide
        githubbot ASF GitHub Bot added a comment -

        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 <jhkim@apache.org>
        Date: 2015-09-21T06:47:12Z

        TAJO-1873: Fix NPE in QueryExecutorServlet.


        Show
        githubbot ASF GitHub Bot added a comment - 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 <jhkim@apache.org> Date: 2015-09-21T06:47:12Z TAJO-1873 : Fix NPE in QueryExecutorServlet.

          People

          • Assignee:
            jhkim Jinho Kim
            Reporter:
            jhkim Jinho Kim
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development