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

Apache Spark commented on SPARK-8903:
-------------------------------------

User 'JoshRosen' has created a pull request for this issue:
https://github.com/apache/spark/pull/7295

> 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
>            Priority: Blocker
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to