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 D658E11B29 for ; Thu, 15 May 2014 04:17:32 +0000 (UTC) Received: (qmail 38612 invoked by uid 500); 14 May 2014 15:09:16 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 38415 invoked by uid 500); 14 May 2014 15:09:16 -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 38341 invoked by uid 500); 14 May 2014 15:09:16 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 38057 invoked by uid 99); 14 May 2014 15:09:16 -0000 Received: from Unknown (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 May 2014 15:09:16 +0000 Date: Wed, 14 May 2014 15:09:16 +0000 (UTC) From: "Rayees Namathponnan (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-6672) [Automation] NPE observed while listing system vms MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Rayees Namathponnan created CLOUDSTACK-6672: ----------------------------------------------- Summary: [Automation] NPE observed while listing system vms Key: CLOUDSTACK-6672 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6672 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: SystemVM Affects Versions: 4.4.0 Environment: EIP/ELB Reporter: Rayees Namathponnan Fix For: 4.4.0 This issue is observed in EIP/ELB setup Steps to reproduce 1) Create EIP/ELB setup 2) delete ssvm 3) while creating new SSVM, call list system vm API. listsystem vm api returns NPE 2014-05-14 07:45:53,227 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-3a43fc0b) ===START=== 10.216.51.142 -- GET command=listSystems&response=json&sessionkey=xiNXdhTMhQghYSan%2Bsj60Au015s%3D&listAll=true&page=1&pagesize=1&_=1400079830040 2014-05-14 07:45:53,236 WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) Received unknown pameters for command listSystemVms. Unknown parameters : listall 2014-05-14 07:45:53,237 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) IAM access check fo2-null-null-DomainResourceCapability from cache: false 2014-05-14 07:45:53,265 ERROR [c.c.a.ApiServer] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) unhandled exception executing api comman [Ljava.lang.String;@2329f184 java.lang.NullPointerException at com.cloud.api.ApiResponseHelper.createSystemVmResponse(ApiResponseHelper.java:1210) at org.apache.cloudstack.api.command.admin.systemvm.ListSystemVMsCmd.execute(ListSystemVMsCmd.java:136) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:119) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:683) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:506) 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:2274) 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) 2014-05-14 07:45:53,267 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) IAM access check fo2-null-null-SystemCapability from cache: true 2014-05-14 07:45:53,267 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) Root Access granted to Acct[e49832-db1b-11e3-b407-4290361b938f-admin] by RoleBasedEntityAccessChecker 2014-05-14 07:45:53,267 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) ===END=== 10.216.51.142 -- GET commanlistSystemVms&response=json&sessionkey=xiNXdhTMhQghYSan%2Bsj60Au015s%3D&listAll=true&page=1&pagesize=1&_=1400079830040 2014-05-14 07:45:54,187 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-c9f9cce6) Storage pool garbage collector fou 0 templates to clean up in storage pool: PS0 -- This message was sent by Atlassian JIRA (v6.2#6252)