GitHub user mxm opened a pull request:

    https://github.com/apache/incubator-beam/pull/450

    [flink] fix potential NPE in ParDoWrapper

    Just discovered this while checking for correct execution of the bundle 
life cycle. This fixes potential NPEs in the ParDo translation wrapper. 
`startBundle(context)` receives `null` as `context` before the first element 
has been read. Similarly, `finishBundle(context)` receives `null` as `context` 
if no elements have been read.
    
    CC @aljoscha 

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

    $ git pull https://github.com/mxm/incubator-beam pr

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

    https://github.com/apache/incubator-beam/pull/450.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 #450
    
----
commit ef9f4c0bb4aecde5a99cd80e96223de306a05455
Author: Maximilian Michels <m...@apache.org>
Date:   2016-06-13T12:26:45Z

    [flink] fix potential NPE in ParDoWrapper

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to