linkedin/glu — Issue #127: cannot issue stop from cli
Author: rou1287
Created: 2012-02-27 20:23:02+00:00
State: open

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
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:

Grails Runtime Exception

Grails Runtime Exception

Error Details

Error 500: 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

Servlet: grails

URI: /console/grails/plan/rest_create_plan.dispatch

Exception Message: java.util.ArrayList cannot be cast to java.lang.String

Caused by: java.util.ArrayList cannot be cast to java.lang.String

Class: PlanController

At Line: [373]

Code Snippet:

Stack Trace

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)

```