Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BF60810EEF for ; Sat, 14 Sep 2013 01:02:45 +0000 (UTC) Received: (qmail 93841 invoked by uid 500); 14 Sep 2013 01:02:45 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 93828 invoked by uid 500); 14 Sep 2013 01:02:45 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 93821 invoked by uid 500); 14 Sep 2013 01:02:45 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 93817 invoked by uid 99); 14 Sep 2013 01:02:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Sep 2013 01:02:45 +0000 Date: Sat, 14 Sep 2013 01:02:45 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-4671) ListZone API failed with Assertion error if assertion is turned on for MS. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-4671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13767267#comment-13767267 ] ASF subversion and git services commented on CLOUDSTACK-4671: ------------------------------------------------------------- Commit 22c5ea0ebe3e2e037451832f688fd7e6404a36dc in branch refs/heads/master from [~minchen07] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=22c5ea0 ] CLOUDSTACK-4671:ListZone API failed with Assertion error if assertion is turned on for MS. > 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