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 3E750C2A9 for ; Thu, 11 Jul 2013 05:55:50 +0000 (UTC) Received: (qmail 21516 invoked by uid 500); 11 Jul 2013 05:55:49 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 21434 invoked by uid 500); 11 Jul 2013 05:55:49 -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 21370 invoked by uid 500); 11 Jul 2013 05:55:49 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 21364 invoked by uid 99); 11 Jul 2013 05:55:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 05:55:49 +0000 Date: Thu, 11 Jul 2013 05:55:48 +0000 (UTC) From: "manasaveloori (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CLOUDSTACK-3113) [VMware]NPE while doing listVMSnapshot. 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-3113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] manasaveloori closed CLOUDSTACK-3113. ------------------------------------- cannot reproduce the issue on latest stable build.Hence closing the bug. > [VMware]NPE while doing listVMSnapshot. > ---------------------------------------- > > Key: CLOUDSTACK-3113 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3113 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Snapshot > Affects Versions: 4.2.0 > Reporter: manasaveloori > Assignee: Harikrishna Patnala > Fix For: 4.2.0 > > Attachments: management-server.zip > > > Steps: > 1. Have a CS with advanced zone with VMware hypervisor. > 2. Create an instance . > 3. Create a VM snapshot.(Instances->created instance->Take VM snapshot) > 4. Now try to view the created snapshot. > Observation: > Observed NPE while viewing he snapshot of VM. > 2013-06-21 21:10:00,571 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) ===START=== 10.252.192.69 -- GET command=listVMSnapshot&listAll=true&virtualmachineid=81fcf109-ff16-4837-9f47-7e78b9eece3a&response=json&sessionkey=fEUYFA7%2B5eZOpYyC0OVDvHQ%2FjlE%3D&_=1371809748473 > 2013-06-21 21:10:00,598 ERROR [cloud.api.ApiServer] (catalina-exec-10:null) unhandled exception executing api command: listVMSnapshot > java.lang.NullPointerException > at com.cloud.api.ApiResponseHelper.createVMSnapshotResponse(ApiResponseHelper.java:477) > at org.apache.cloudstack.api.command.user.vmsnapshot.ListVMSnapshotCmd.execute(ListVMSnapshotCmd.java:74) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:528) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:371) > at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304) > at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66) > 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:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2013-06-21 21:10:00,602 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) ===END=== 10.252.192.69 -- GET command=listVMSnapshot&listAll=true&virtualmachineid=81fcf109-ff16-4837-9f47-7e78b9eece3a&response=json&sessionkey=fEUYFA7%2B5eZOpYyC0OVDvHQ%2FjlE%3D&_=1371809748473 > Attached the MS log. -- 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