You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Animesh Chaturvedi (JIRA)" <ji...@apache.org> on 2013/09/14 02:04:52 UTC

[jira] [Updated] (CLOUDSTACK-4671) ListZone API failed with Assertion error if assertion is turned on for MS.

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

Animesh Chaturvedi updated CLOUDSTACK-4671:
-------------------------------------------

    Reporter: Chandan Purushothama  (was: Min Chen)
    
> ListZone API failed with Assertion error if assertion is turned on for MS.
> --------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4671
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4671
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: 4.2.0
>            Reporter: Chandan Purushothama
>            Assignee: Min Chen
>            Priority: Blocker
>             Fix For: 4.2.1
>
>
> ==============
> Steps Performed:
> ==============
> 1. Login as Regular User on dogfood setup which is running MS with assertion on.
> ===========
> Observations:
> ===========
> HTTP Status 500 -
> type Exception report
> message
> description The server encountered an internal error () that prevented it from fulfilling this request.
> exception
> javax.servlet.ServletException: Servlet execution threw an exception
> root cause
> java.lang.AssertionError: Unable to find field: account
> com.cloud.utils.db.SearchCriteria.addCondition(SearchCriteria.java:285)
> com.cloud.utils.db.SearchCriteria.addAnd(SearchCriteria.java:261)
> com.cloud.api.query.QueryManagerImpl.listDataCentersInternal(QueryManagerImpl.java:2551)
> com.cloud.api.query.QueryManagerImpl.listDataCenters(QueryManagerImpl.java:2460)
> org.apache.cloudstack.api.command.user.zone.ListZonesByCmd.execute(ListZonesByCmd.java:106)
> com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
> com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
> com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
> com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
> com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira