Sorry for the inconvenience. Is there a stack trace listed in the user log?
A quick glance at the code and the error handler looks like it logs the
exception (which should include the stack trace) unconditionally.

Also, you should be able to look backward from that line to look for other
log messages for the same thread 'NiFi Web Server-299' to see which
endpoint was being invoked. Sounds like the endpoint is going to be the one
that returns that nest Process Group but just to be sure. Additionally, you
can verify that by checking the develop tools in your browser to see which
requestion failed.

If there is a stack trace following the NPE message, that would be helpful.
Thanks.

Matt

On Thu, Jan 5, 2017 at 7:47 PM, Kevin Verhoeven <[email protected]>
wrote:

> After updating from NiFi 1.0 to 1.1.1, I am unable to browse into one or
> more of my Processor Groups. The UI seems to work until I double click on a
> specific Processor Group, then the UI throws an error “An unexpected error
> has occurred” and I find the following in the nifi-user.log log file:
>
>
>
> 2017-01-05 22:29:15,886 INFO [NiFi Web Server-19]
> org.apache.nifi.web.filter.RequestLogger Attempting request for
> (anonymous) GET http://servername:10000/nifi-api/flow/process-groups/
> e8a4ad16-1b4e-3afc-a8e0-0a2cdda95632 (source ip: ipaddress)
>
> 2017-01-05 22:29:16,397 INFO [NiFi Web Server-305]
> org.apache.nifi.web.filter.RequestLogger Attempting request for
> (anonymous) GET http:// servername:10000/nifi-api/flow/current-user
> (source ip: ipaddress)
>
> …
>
> 2017-01-05 22:29:16,402 ERROR [NiFi Web Server-299]
> o.a.nifi.web.api.config.ThrowableMapper An unexpected error has occurred:
> java.lang.NullPointerException. Returning Internal Server Error response.
>
> java.lang.NullPointerException: null
>
> …
>
> 2017-01-05 22:29:16,408 INFO [NiFi Web Server-305]
> org.apache.nifi.web.filter.RequestLogger Attempting request for
> (anonymous) GET http:// servername:10000/nifi-api/flow/controller/bulletins
> (source ip: 10 ipaddress)
>
> 2017-01-05 22:29:16,821 INFO [NiFi Web Server-19]
> org.apache.nifi.web.filter.RequestLogger Attempting request for
> (anonymous) GET http:// servername:10000/nifi-api/site-to-site (source
> ip: ipaddress)
>
>
>
> Any advice on how to proceed?
>
>
> Thanks,
>
>
>
> Kevin
>

Reply via email to