You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Koji Kawamura (Jira)" <ji...@apache.org> on 2020/05/21 07:51:00 UTC

[jira] [Updated] (NIFI-6436) StandardPublicPort throws NullPointerException when it reports a bulletin event

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

Koji Kawamura updated NIFI-6436:
--------------------------------
    Fix Version/s: 1.10.0

> StandardPublicPort throws NullPointerException when it reports a bulletin event
> -------------------------------------------------------------------------------
>
>                 Key: NIFI-6436
>                 URL: https://issues.apache.org/jira/browse/NIFI-6436
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.9.2
>            Reporter: Koji Kawamura
>            Assignee: Koji Kawamura
>            Priority: Major
>             Fix For: 1.10.0
>
>         Attachments: image-2019-07-12-18-45-11-524.png
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> NIFI-2933 changed StandardPublicPort to use the 'processGroup' variable passed as its constructor argument at the EventReporter.reportEvent() method, but that variable is null when a public port is instantiated.
> EventReporter.reportEvent() should get the current ProcessGroup by calling getProcessGroup() method each time.
> If an error occurred while a public port is processing request, it fails to report a bulletin event due to this NullPointerException. Due to this issue, public ports can not report error detail to users with bulletin messages like following screenshot.
> !image-2019-07-12-18-45-11-524.png|width=680!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)