Skip to content
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

Exception while assigning agent fabric #46

Closed
ypujante opened this issue Apr 20, 2011 · 1 comment
Closed

Exception while assigning agent fabric #46

ypujante opened this issue Apr 20, 2011 · 1 comment
Labels

Comments

@ypujante
Copy link
Member

Steps to reproduce:

Start agent-1 with no fabric defined
Go to Admin/View Agents Fabric in the console
Set a fabric for agent-1 and click "Assign Fabric"

The call works, but you get this exception back

2011/04/20 09:23:02.645 ERROR [GrailsExceptionResolver] org.codehaus.groovy.runtime.GStringImpl cannot be cast to java.lang.String
java.lang.ClassCastException: org.codehaus.groovy.runtime.GStringImpl cannot be cast to java.lang.String
    at java.lang.String.compareTo(String.java:92)
    at java.util.TreeMap.put(TreeMap.java:545)
    at org.linkedin.glu.agent.rest.client.ConfigurableRestClient.configure(ConfigurableRestClient.groovy:43)
    at org.linkedin.util.lifecycle.Configurable$configure.call(Unknown Source)
    at org.linkedin.glu.provisioner.services.fabric.FabricServiceImpl$_setAgentFabric_closure7.doCall(FabricServiceImpl.groovy:183)
    at org.linkedin.glu.provisioner.services.fabric.FabricServiceImpl$_setAgentFabric_closure7.call(FabricServiceImpl.groovy)
    at org.linkedin.glu.agent.rest.client.ConfigurableFactoryImpl.withRemoteConfigurable(ConfigurableFactoryImpl.groovy:50)
    at org.linkedin.glu.agent.rest.client.ConfigurableFactory$withRemoteConfigurable$0.callCurrent(Unknown Source)
    at org.linkedin.glu.agent.rest.client.ConfigurableFactoryImpl.withRemoteConfigurable(ConfigurableFactoryImpl.groovy:37)
    at org.linkedin.glu.agent.rest.client.ConfigurableFactory$withRemoteConfigurable.call(Unknown Source)
    at org.linkedin.glu.provisioner.services.fabric.FabricServiceImpl.setAgentFabric(FabricServiceImpl.groovy:182)
    at org.linkedin.glu.provisioner.services.fabric.FabricService$setAgentFabric.call(Unknown Source)
    at org.linkedin.glu.provisioner.services.fabric.AuditedFabricService.setAgentFabric(AuditedFabricService.groovy:38)
    at org.linkedin.glu.console.controllers.FabricController$_closure4_closure16.doCall(FabricController.groovy:121)
    at org.linkedin.glu.console.controllers.FabricController$_closure4.doCall(FabricController.groovy:116)
    at org.linkedin.glu.console.controllers.FabricController$_closure4.doCall(FabricController.groovy)
@ypujante
Copy link
Member Author

Fixed with 2.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant