[ 
https://issues.apache.org/jira/browse/FLINK-6184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chesnay Schepler reassigned FLINK-6184:
---------------------------------------

    Assignee: Chesnay Schepler

> Buffer metrics can cause NPE
> ----------------------------
>
>                 Key: FLINK-6184
>                 URL: https://issues.apache.org/jira/browse/FLINK-6184
>             Project: Flink
>          Issue Type: Bug
>          Components: Metrics
>    Affects Versions: 1.2.0, 1.3.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Blocker
>             Fix For: 1.3.0
>
>
> The Buffer metrics defined in the TaskIOMetricGroup are created when a Task 
> is created. At this time, the bufferPool in the Input gates that the metrics 
> make use of is still null, leading to possible NPEs.
> These metrics should either be created after the required objects are fully 
> initialized or guard this case with null checks.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to