[
https://issues.apache.org/jira/browse/FLINK-6184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-6184.
-----------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.3.0)
1.2.1
1.2: 961134d4e988edc01705501a8530aa5a120080cd
Subsumed in 1.3 by FLINK-5090.
> 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.2.1
>
>
> 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)