Renaming fabric bug

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Renaming fabric bug

sodul
I just created a new fabrics and accidentally pasted the zookeeper string in the name field. I renamed the fabric from the admin UI to 'bar' and while the Farbics List view is correct the console is not picking up the name change properly:

When I go to /console/dashboard?fabric=renamed I get an error:
    Line | Method
->>  464 | handle           in /dashboard/delta.gsp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Caused by GrailsTagException: Error executing tag <g:render>: Cannot get property 'filters' on null object
->>   35 | doCall           in /WEB-INF/grails-app/views/dashboard/delta.gsp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Same for /console/agents?fabric=renamed:
    Line | Method
->>  107 | doCall           in org.linkedin.glu.console.controllers.AgentsController$_closure2
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|    669 | handle           in org.eclipse.jetty.servlet.ServletHolder
|   1448 | doFilter . . . . in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|    195 | doFilter         in grails.plugin.cache.web.filter.PageFragmentCachingFilter
|     63 | doFilter . . . . in grails.plugin.cache.web.filter.AbstractFilter
|   1419 | doFilter         in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|    455 | doHandle . . . . in org.eclipse.jetty.servlet.ServletHandler
|    137 | handle           in org.eclipse.jetty.server.handler.ScopedHandler
|    575 | handle . . . . . in org.eclipse.jetty.security.SecurityHandler
|    231 | doHandle         in org.eclipse.jetty.server.session.SessionHandler
|   1075 | doHandle . . . . in org.eclipse.jetty.server.handler.ContextHandler
|    384 | doScope          in org.eclipse.jetty.servlet.ServletHandler
|    193 | doScope . . . .  in org.eclipse.jetty.server.session.SessionHandler
|   1009 | doScope          in org.eclipse.jetty.server.handler.ContextHandler
|    135 | handle . . . . . in org.eclipse.jetty.server.handler.ScopedHandler
|    276 | forward          in org.eclipse.jetty.server.Dispatcher
|    103 | forward . . . .  in     ''
|   1419 | doFilter         in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|     55 | doFilter . . . . in org.apache.shiro.grails.SavedRequestFilter
|   1419 | doFilter         in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|    449 | executeChain . . in org.apache.shiro.web.servlet.AbstractShiroFilter
|    365 | call             in org.apache.shiro.web.servlet.AbstractShiroFilter$1
|     90 | doCall . . . . . in org.apache.shiro.subject.support.SubjectCallable
|     83 | call             in     ''
|    383 | execute . . . .  in org.apache.shiro.subject.support.DelegatingSubject
|    362 | doFilterInternal in org.apache.shiro.web.servlet.AbstractShiroFilter
|    125 | doFilter . . . . in org.apache.shiro.web.servlet.OncePerRequestFilter
|   1419 | doFilter         in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|    455 | doHandle . . . . in org.eclipse.jetty.servlet.ServletHandler
|    137 | handle           in org.eclipse.jetty.server.handler.ScopedHandler
|    533 | handle . . . . . in org.eclipse.jetty.security.SecurityHandler
|    231 | doHandle         in org.eclipse.jetty.server.session.SessionHandler
|   1075 | doHandle . . . . in org.eclipse.jetty.server.handler.ContextHandler
|    384 | doScope          in org.eclipse.jetty.servlet.ServletHandler
|    193 | doScope . . . .  in org.eclipse.jetty.server.session.SessionHandler
|   1009 | doScope          in org.eclipse.jetty.server.handler.ContextHandler
|    135 | handle . . . . . in org.eclipse.jetty.server.handler.ScopedHandler
|    255 | handle           in org.eclipse.jetty.server.handler.ContextHandlerCollection
|    154 | handle . . . . . in org.eclipse.jetty.server.handler.HandlerCollection
|    116 | handle           in org.eclipse.jetty.server.handler.HandlerWrapper
|    368 | handle . . . . . in org.eclipse.jetty.server.Server
|    489 | handleRequest    in org.eclipse.jetty.server.AbstractHttpConnection
|    942 | headerComplete . in     ''
|   1004 | headerComplete   in org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler
|    640 | parseNext . . .  in org.eclipse.jetty.http.HttpParser
|    235 | parseAvailable   in     ''
|     82 | handle . . . . . in org.eclipse.jetty.server.AsyncHttpConnection
|    628 | handle           in org.eclipse.jetty.io.nio.SelectChannelEndPoint
|     52 | run . . . . . .  in org.eclipse.jetty.io.nio.SelectChannelEndPoint$1
|    608 | runJob           in org.eclipse.jetty.util.thread.QueuedThreadPool
|    543 | run . . . . . .  in org.eclipse.jetty.util.thread.QueuedThreadPool$3
^    745 | run              in java.lang.Thread

My fix was to delete the 'renamed' fabric and recreate it with the final name.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Renaming fabric bug

frenchyan
Administrator
I created a ticket to track it and will try to reproduce/fix: https://github.com/pongasoft/glu/issues/276

Yan
Loading...