[
https://issues.apache.org/jira/browse/NIFI-14186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-14186.
-----------------------------------
Fix Version/s: 2.2.0
Resolution: Fixed
> Verify feature in StandardOauth2AccessTokenProvider returns an error
> --------------------------------------------------------------------
>
> Key: NIFI-14186
> URL: https://issues.apache.org/jira/browse/NIFI-14186
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Marcin Gemra
> Assignee: Marcin Gemra
> Priority: Major
> Fix For: 2.2.0
>
> Attachments: image-2025-01-22-17-26-32-900.png,
> image-2025-01-22-17-36-00-239.png, image-2025-01-22-17-38-22-614.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> After configuring the controller service for oAuth before enabling it for the
> first time, the Verify feature returns an error:
> {code:java}
> Cannot invoke "String.equals(Object)" because "this.grantType" is null. {code}
> !image-2025-01-22-17-36-00-239.png!
> Despite an error during verification, the access token can be acquired
> without an error after enabling the controller service.
> After enabling and using the controller service, the error still occurs
> during verification, but it's different:
> !image-2025-01-22-17-38-22-614.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)