[
https://issues.apache.org/jira/browse/NIFI-6436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Kawamura updated NIFI-6436:
--------------------------------
Description:
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!
was:
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.
> 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.10.0
> Reporter: Koji Kawamura
> Assignee: Koji Kawamura
> Priority: Major
> Attachments: image-2019-07-12-18-45-11-524.png
>
>
> 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
(v7.6.14#76016)