You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sailaja Mada (JIRA)" <ji...@apache.org> on 2013/04/24 13:23:16 UTC
[jira] [Created] (CLOUDSTACK-2170) NPE while updating the
updatePhysicalNetwork - Cisco VNMC provider to enable state
Sailaja Mada created CLOUDSTACK-2170:
----------------------------------------
Summary: NPE while updating the updatePhysicalNetwork - Cisco VNMC provider to enable state
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.
<queryasyncjobresultresponse cloud-stack-version="4.2.0-SNAPSHOT"><accountid>1daa4ce0-acca-11e2-8b37-c2ae49691a00</accountid><userid>1dac1908-acca-11e2-8b37-c2ae49691a00</userid><cmd>org.apache.cloudstack.api.command.admin.network.UpdatePhysicalNetworkCmd</cmd><jobstatus>2</jobstatus><jobprocstatus>0</jobprocstatus><jobresultcode>530</jobresultcode><jobresulttype>object</jobresulttype><jobresult><errorcode>530</errorcode><errortext>Command failed due to Internal Server Error</errortext></jobresult><created>2013-04-24T16:41:19+0530</created><jobid>6e7887c1-83da-4d02-98e7-2cc36949364b</jobid></queryasyncjobresultresponse>
--
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