You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2015/07/08 20:53:04 UTC

[jira] [Created] (SPARK-8903) Fix NPE when cross tab elements contain nulls (branch 1.4)

Josh Rosen created SPARK-8903:
---------------------------------

             Summary: Fix NPE when cross tab elements contain nulls (branch 1.4)
                 Key: SPARK-8903
                 URL: https://issues.apache.org/jira/browse/SPARK-8903
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.4.1
            Reporter: Josh Rosen
            Assignee: Josh Rosen


The backport of SPARK-8803 to branch-1.4 contains an error:

It calls 

{code}
countsRow.setString(0, cleanElement(col1Item.toString))
{code}

instead of 

{code}
countsRow.setString(0, cleanElement(col1Item))
{code}

which leads to a NullPointerException when col1Item == null.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org