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 E0BFDF547 for ; Wed, 24 Apr 2013 11:29:16 +0000 (UTC) Received: (qmail 17136 invoked by uid 500); 24 Apr 2013 11:29:16 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 17059 invoked by uid 500); 24 Apr 2013 11:29: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 17030 invoked by uid 500); 24 Apr 2013 11:29:16 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 17008 invoked by uid 99); 24 Apr 2013 11:29:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 11:29:15 +0000 Date: Wed, 24 Apr 2013 11:29:15 +0000 (UTC) From: "Sailaja Mada (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-2170) NPE while updating the updatePhysicalNetwork to enable state with invalid ID 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-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sailaja Mada updated CLOUDSTACK-2170: ------------------------------------- Summary: NPE while updating the updatePhysicalNetwork to enable state with invalid ID (was: NPE while updating the updatePhysicalNetwork to enable state) > NPE while updating the updatePhysicalNetwork to enable state with invalid ID > ----------------------------------------------------------------------------- > > Key: CLOUDSTACK-2170 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2170 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Network Controller > Affects Versions: 4.2.0 > Reporter: Sailaja Mada > > Setup: Advanced Networking Zone with Nexus, MS : RHEL 6.3 > Steps: > 1. Add VNMC provider to cloudstack: > http://localhost/client/api?command=addNetworkServiceProvider&physicalnetworkid=200&name=CiscoVnmc > 2) Tried to update the above provider state as enabled: (http://10.102.192.194:8096/client/api?command=updatePhysicalNetwork&id=4&state=Enabled) > Observation: > NPE while updating the updatePhysicalNetwork - Cisco VNMC provider to enable state > 2013-04-24 16:41:19,108 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-12:job-12) Executing org.apache.cloudstack.api.command.admin.network.UpdatePhysicalNetworkCmd for job-12 > 2013-04-24 16:41:19,147 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-12:job-12) Unexpected exception while executing org.apache.cloudstack.api.command.admin.network.UpdatePhysicalNetworkCmd > java.lang.NullPointerException > at com.cloud.utils.AnnotationHelper.getTableName(AnnotationHelper.java:34) > at com.cloud.utils.exception.CloudRuntimeException.addProxyObject(CloudRuntimeException.java:59) > at com.cloud.network.NetworkServiceImpl.updatePhysicalNetwork(NetworkServiceImpl.java:2301) > at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > at org.apache.cloudstack.api.command.admin.network.UpdatePhysicalNetworkCmd.execute(UpdatePhysicalNetworkCmd.java:104) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155) > at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > 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-04-24 16:41:19,148 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-12:job-12) Complete async job-12, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: null > 2013-04-24 16:41:23,502 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) VmStatsCollector is running... > This XML file does not appear to have any style information associated with it. The document tree is shown below. > 1daa4ce0-acca-11e2-8b37-c2ae49691a001dac1908-acca-11e2-8b37-c2ae49691a00org.apache.cloudstack.api.command.admin.network.UpdatePhysicalNetworkCmd20530object530Command failed due to Internal Server Error2013-04-24T16:41:19+05306e7887c1-83da-4d02-98e7-2cc36949364b -- 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