Rundeck 2.0.2 - Project Configuration error when cancelling #708

Closed
mumblez opened this Issue Mar 17, 2014 · 1 comment

Comments

Projects
None yet
3 participants
@mumblez

mumblez commented Mar 17, 2014

minor bug, when you go to edit a project's configuration and click cancel you get the following:

An Error Occurred
Resource definition cannot contain null value. Corresponding key: name
Error Details
Request: /menu/admin
Message: Resource definition cannot contain null value. Corresponding key: name 
Caused by: Resource definition cannot contain null value. Corresponding key: name 
Class: MenuController 
At Line: [467] 
Code Snippet:
Stack Trace
java.lang.IllegalArgumentException: Resource definition cannot contain null value.  Corresponding key: name
    at com.dtolabs.rundeck.core.authorization.providers.SAREAuthorization.internalEvaluate(SAREAuthorization.java:97)
    at com.dtolabs.rundeck.core.authorization.providers.SAREAuthorization.evaluate(SAREAuthorization.java:159)
    at com.dtolabs.rundeck.core.authorization.providers.SAREAuthorization.evaluate(SAREAuthorization.java:175)
    at com.dtolabs.rundeck.core.authorization.SubjectAuthContext.evaluate(SubjectAuthContext.java:42)
    at rundeck.services.FrameworkService$_authorizeApplicationResourceAll_closure14.doCall(FrameworkService.groovy:338)
    at com.codahale.metrics.Timer.time(Timer.java:99)
    at MetricswebGrailsPlugin$_addDynamicMetricMethods_closure26.doCall(MetricswebGrailsPlugin.groovy:174)
    at rundeck.services.FrameworkService.authorizeApplicationResourceAll(FrameworkService.groovy:334)
    at rundeck.controllers.MenuController$_closure13.doCall(MenuController.groovy:467)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1360)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:539)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
    at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:288)
    at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:115)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:97)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:486)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
    at org.eclipse.jetty.server.Server.handle(Server.java:349)
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:449)
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:910)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
    at java.lang.Thread.run(Thread.java:744)

(if you save there's no error)

@gschueler gschueler added this to the 2.x milestone Mar 17, 2014

@gschueler gschueler added the bug label Mar 17, 2014

@gschueler

This comment has been minimized.

Show comment
Hide comment
@gschueler

gschueler Mar 17, 2014

Member

thanks for the report

Member

gschueler commented Mar 17, 2014

thanks for the report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment