[ 
https://issues.apache.org/jira/browse/BEAM-7091?focusedWorklogId=228996&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-228996
 ]

ASF GitHub Bot logged work on BEAM-7091:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Apr/19 10:43
            Start Date: 17/Apr/19 10:43
    Worklog Time Spent: 10m 
      Work Description: mxm commented on issue #8327: [BEAM-7091] fix NPE in 
DoFnOperator#dispose
URL: https://github.com/apache/beam/pull/8327#issuecomment-484032546
 
 
   There an issue with the Jenkins hosts for the portable Python tests, but 
it's safe to merge this fix because it just adds additional null checks.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 228996)
    Time Spent: 40m  (was: 0.5h)

> FlinkRunner: NPE in DoFnOperator
> --------------------------------
>
>                 Key: BEAM-7091
>                 URL: https://issues.apache.org/jira/browse/BEAM-7091
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-flink
>    Affects Versions: 2.11.0
>            Reporter: Jan Lukavský
>            Priority: Minor
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Under some unknown conditions - probably caused by some other error - I see 
> following trace in flink's taskmanager:
> {code:java}
> 2019-04-17 07:41:17,863 ERROR 
> org.apache.flink.streaming.runtime.tasks.StreamTask           - Error during 
> disposal of stream operator.
> java.lang.NullPointerException
>         at 
> org.apache.beam.runners.flink.translation.wrappers.streaming.DoFnOperator.dispose(DoFnOperator.java:435)
>         at 
> org.apache.flink.streaming.runtime.tasks.StreamTask.disposeAllOperators(StreamTask.java:477)
>         at 
> org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:378)
>         at org.apache.flink.runtime.taskmanager.Task.run(Task.java:704)
>         at java.lang.Thread.run(Thread.java:748)
> {code}
> It looks like there are missing null checks in {{DoFnOperator}}, which will 
> cause this if {{dispose}} is called before {{open}} (for whatever reason).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to