You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/01/23 20:52:00 UTC
[jira] [Commented] (NIFI-11032) NPE during Import from Registry
[ https://issues.apache.org/jira/browse/NIFI-11032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17680022#comment-17680022 ]
ASF subversion and git services commented on NIFI-11032:
--------------------------------------------------------
Commit bf871e0b8decf6895c0522a4e25da5e623808656 in nifi's branch refs/heads/main from Joe Gresock
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=bf871e0b8d ]
NIFI-11032: Addressing NPE when retrieving registry client info with unauthorized user (#6879)
> NPE during Import from Registry
> -------------------------------
>
> Key: NIFI-11032
> URL: https://issues.apache.org/jira/browse/NIFI-11032
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.19.1
> Reporter: Bryan Bende
> Assignee: Joe Gresock
> Priority: Minor
> Fix For: 1.20.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {color:#1d1c1d}upgraded NiFi and NiFi Registry from 1.16.0 to 1.19.1{color}
> {code:java}
> 2023-01-06 23:43:55,879 ERROR [NiFi Web Server-153] o.a.nifi.web.api.config.ThrowableMapper An unexpected error has occurred: java.lang.NullPointerException. Returning Internal Server Error response.java.lang.NullPointerException: null at org.apache.nifi.web.api.FlowResource.populateRemainingRegistryClientEntityContent(FlowResource.java:1649) at org.apache.nifi.web.api.FlowResource.populateRemainingRegistryClientEntityContent(FlowResource.java:1661) at org.apache.nifi.web.api.FlowResource.getRegistryClients(FlowResource.java:1637) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at {code}
> {color:#1d1c1d}I do not get this error when I use the "Administrator" account.{color} {color:#1d1c1d}I think I solved it by adding the user account to the Access Policy "access the controller" with View permissions. The Administrator was already there. {color}{color:#1d1c1d}The error no longer occurs.{color}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)