cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prachi Damle (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-6324) [Automation] Delete account operation failing with "ClassCastException:"
Date Wed, 02 Apr 2014 20:47:16 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Prachi Damle resolved CLOUDSTACK-6324.
--------------------------------------

    Resolution: Fixed

Fixed using commits:

43ce83202d9370f49c389fd06e7d258df057dc9d

3ee55cd17b941b1fdb1e0bb150bebfb8ece8155d


> [Automation] Delete account operation failing with "ClassCastException:"
> ------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6324
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6324
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>    Affects Versions: 4.4.0
>         Environment: KVM (RHEL 6.3)
>            Reporter: Rayees Namathponnan
>            Assignee: Prachi Damle
>            Priority: Blocker
>             Fix For: 4.4.0
>
>         Attachments: management.rar
>
>
> this issue observed with latest 4.4 build;   
> Step 1) Create user account
> Step 2) DeployVM 
> Step 3) Delete account
> Result
> --------
> Account delete operation failed with ClassCastException
> 2014-04-01 19:52:45,371 DEBUG [c.c.a.ApiServlet] (catalina-exec-9:ctx-a4e8fc2d) ===START===
 10.223.240.194
> -- GET  signature=vPulJChKPpmoMqsqVEQnZVh2Vyw%3D&apiKey=1ASfB5njz_pjz16USRzcGIZXhPBPzoOM12Yr6amWiIZ1mH8XqlZ3
> yPqAeR8MEDxW6zsBQ_aEoJM2pZOuHzC3UA&command=deleteAccount&id=6f3c144b-697d-4e3b-b040-0660a4c0ae05&response=js
> on
> 2014-04-01 19:52:45,389 DEBUG [c.c.a.d.ParamProcessWorker] (catalina-exec-9:ctx-a4e8fc2d
ctx-bcb4c2c4 ctx-e1
> 3135a7) ControlledEntity name is:com.cloud.user.Account
> 2014-04-01 19:52:45,389 DEBUG [c.c.a.d.ParamProcessWorker] (catalina-exec-9:ctx-a4e8fc2d
ctx-bcb4c2c4 ctx-e13135a7) ControlledEntity
>  name is:com.cloud.user.Account
> 2014-04-01 19:52:45,389 ERROR [c.c.a.ApiServer] (catalina-exec-9:ctx-a4e8fc2d ctx-bcb4c2c4
ctx-e13135a7) unhandled exception executi
> ng api command: [Ljava.lang.String;@6e8eab9e
> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Lorg.apache.cloudstack.acl.ControlledEntity;
>         at com.cloud.api.dispatch.ParamProcessWorker.doAccessChecks(ParamProcessWorker.java:262)
>         at com.cloud.api.dispatch.ParamProcessWorker.processParameters(ParamProcessWorker.java:228)
>         at com.cloud.api.dispatch.ParamProcessWorker.handle(ParamProcessWorker.java:92)
>         at com.cloud.api.dispatch.DispatchChain.dispatch(DispatchChain.java:37)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:532)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:416)
>         at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
>         at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
>         at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>         at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>         at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> :



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message