GitHub user dorx opened a pull request:

    https://github.com/apache/spark/pull/1028

    [SPARK-2088] fix NPE in toString

    After deserialization, the transient field creationSiteInfo does not get 
backfilled with the default value, but the toString method, which is invoked by 
the serializer, expects the field to always be non-null. An NPE is thrown when 
toString is called by the serializer when creationSiteInfo is null.

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

    $ git pull https://github.com/dorx/spark toStringNPE

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

    https://github.com/apache/spark/pull/1028.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 #1028
    
----
commit 76199c632e73e515512ad4755e8a2ab041c97ca4
Author: Doris Xin <[email protected]>
Date:   2014-06-10T02:07:29Z

    [SPARK-2088] fix NPE in toString

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to