New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot issue stop from cli #127

Closed
rou1287 opened this Issue Feb 27, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@rou1287
Contributor

rou1287 commented Feb 27, 2012

Tried with 4.2.0 but problem has been around since 3.4.0. All other commands work fine, but stop fails with this:

[rou@rou bin]$ ./console-cli.py stop -f myfabric -c http://console-2.lab.myhost.net:8080/console -u admin -t myhost
Enter admin's password: 
Traceback (most recent call last):
  File "./console-cli.py", line 248, in <module>
    main()
  File "./console-cli.py", line 229, in main
    result = client.executePlan(action, filter, options.parallel, options.dryrun)
  File "/home/rou/console_cli/lib/python/gluconsole/rest.py", line 222, in executePlan
    plan = self._doRequest("plans", "POST", filter, headers)
  File "/home/rou/console_cli/lib/python/gluconsole/rest.py", line 81, in _doRequest
    raise restkit.errors.RequestFailed(response.body_string(), response.status_int, response)
restkit.errors.RequestFailed: <html>
  <head>
          <title>Grails Runtime Exception</title>
          <style type="text/css">
                        .message {
                                border: 1px solid black;
                                padding: 5px;
                                background-color:#E9E9E9;
                        }
                        .stack {
                                border: 1px solid black;
                                padding: 5px;
                                overflow:auto;
                                height: 300px;
                        }
                        .snippet {
                                padding: 5px;
                                background-color:white;
                                border:1px solid black;
                                margin:3px;
                                font-family:courier;
                        }
          </style>
  </head>

  <body>
    <h1>Grails Runtime Exception</h1>
    <h2>Error Details</h2>

        <div class="message">
                <strong>Error 500:</strong> Executing action [rest_create_plan] of controller [org.linkedin.glu.console.controllers.PlanController]  caused exception: java.util.ArrayList cannot be cast to java.lang.String<br/>
                <strong>Servlet:</strong> grails<br/>
                <strong>URI:</strong> /console/grails/plan/rest_create_plan.dispatch<br/>

                        <strong>Exception Message:</strong> java.util.ArrayList cannot be cast to java.lang.String <br />
                        <strong>Caused by:</strong> java.util.ArrayList cannot be cast to java.lang.String <br />
                        <strong>Class:</strong> PlanController <br />
                        <strong>At Line:</strong> [373] <br />
                        <strong>Code Snippet:</strong><br />
                        <div class="snippet">

                        </div>

        </div>

            <h2>Stack Trace</h2>
            <div class="stack">
<br/></pre>java.lang.Thread.run(Thread.java:619)hreadPool$2.run(QueuedThreadPool.java:451):40)a:34)n.java:247)rce)pl.groovy:213))rce)e)
            </div>

  </body>
</html>
@ypujante

This comment has been minimized.

Member

ypujante commented Mar 31, 2012

fixed with 4.3.0

@ypujante ypujante closed this Mar 31, 2012

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