nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Gilman <matt.c.gil...@gmail.com>
Subject Re: Starting Nifi encounters "unexpected error"
Date Wed, 04 May 2016 20:22:14 GMT
Keith,

Were there any errors in any of the log's (nifi-app.log or nifi-user.log)
before shutdown or during start up. I'm not 100% sure what version your
running but it appears it's having trouble loading the Anonymous user. This
user is created during startup, stored in the users database, and should
always be available. Any additional errors or details would be helpful.
Thanks.

Matt

On Wed, May 4, 2016 at 4:05 PM, Keith Lim <Keith.Lim@ds-iq.com> wrote:

> My windows machine blue-d screen and after reboot I restarted nifi only to
> get the following error when I browse to nifi (http://localhost:8080/nifi/)
>
>
> I can do the long route or cleaning up the nifi folder and rebuilding it,
> but want to know if there is a surgical way to remove this issue.
>
>
>
> Thanks,
> Keith
>
>
>
> An unexpected error has occurred
>
> <html> <head> <meta http-equiv="Content-Type" content="text/html;
> charset=UTF-8"/> <title>Error 500 Server Error</title> </head>
> <body><h2>HTTP ERROR 500</h2> <p>Problem accessing
> /nifi-api/controller/authorities. Reason: <pre> Server
> Error</pre></p><h3>Caused by:</h3><pre>java.lang.NullPointerException
at
> org.apache.nifi.web.security.anonymous.NiFiAnonymousUserFilter.createAuthentication(NiFiAnonymousUserFilter.java:58)
> at
> org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:97)
> at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
> at
> org.apache.nifi.web.security.node.NodeAuthorizedUserFilter.doFilter(NodeAuthorizedUserFilter.java:112)
> at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
> at
> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)
> at
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)
> at
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
> at
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
> at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
> at
> org.apache.nifi.web.filter.ThreadLocalFilter.doFilter(ThreadLocalFilter.java:38)
> at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
> at org.apache.nifi.web.filter.TimerFilter.doFilter(TimerFilter.java:52) at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
> at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
> at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
> at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
> at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> at
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
> at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
> at org.eclipse.jetty.server.Server.handle(Server.java:499) at
> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) at
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
> at
> org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
> at java.lang.Thread.run(Thread.java:745) </pre> <hr><i><small>Powered
by
> Jetty://</small></i><hr/> </body> </html>
>
>
>
>
>

Mime
View raw message