Bryan Bende created NIFI-11032:
----------------------------------
Summary: 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
{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)