You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Chandan Purushothama (JIRA)" <ji...@apache.org> on 2014/05/14 21:09:16 UTC
[jira] [Created] (CLOUDSTACK-6675) NPE while executing
updatePortForwardingRule
Chandan Purushothama created CLOUDSTACK-6675:
------------------------------------------------
Summary: NPE while executing updatePortForwardingRule
Key: CLOUDSTACK-6675
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6675
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.4.0
Reporter: Chandan Purushothama
Assignee: Alena Prokharchyk
Priority: Blocker
Fix For: 4.4.0
NPE hit while executing updatePortForwardingRule CS API. I am blocked on executing a Use Case which is based on this API.
=================
NullPointerException:
=================
2014-05-14 11:44:45,215 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-d408ed7f) ===START=== 127.0.0.1 -- GET apikey=dXvODaGH1UvF0WKs63T_wCXsVEs5nFTJaNhBJCGF3sCYwgbuvUaelZf6V8tWjTsyB53LSIT9Wf4UUUQKSz8UXQ&command=updatePortForwardingRule&fordisplay=false&id=b767a533-e3ed-45ad-ab2b-68ea806438f6&response=json&apikey=dXvODaGH1UvF0WKs63T_wCXsVEs5nFTJaNhBJCGF3sCYwgbuvUaelZf6V8tWjTsyB53LSIT9Wf4UUUQKSz8UXQ&signature=jF8MpXvj4u4NKyajmbuFBPAcw2M%3D
2014-05-14 11:44:45,286 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-10:ctx-d408ed7f ctx-3df22ad6 ctx-84f5b16f) submit async job-886, details: AsyncJobVO {id:886, userId: 1, accountId: 1, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.firewall.UpdatePortForwardingRuleCmd, cmdInfo: {"response":"json","id":"b767a533-e3ed-45ad-ab2b-68ea806438f6","ctxDetails":"{\"Network\":\"b767a533-e3ed-45ad-ab2b-68ea806438f6\",\"com.cloud.network.rules.FirewallRule\":23}","cmdEventType":"NET.RULEMODIFY","ctxUserId":"1","httpmethod":"GET","uuid":"b767a533-e3ed-45ad-ab2b-68ea806438f6","ctxAccountId":"1","ctxStartEventId":"1859","signature":"jF8MpXvj4u4NKyajmbuFBPAcw2M\u003d","apikey":"dXvODaGH1UvF0WKs63T_wCXsVEs5nFTJaNhBJCGF3sCYwgbuvUaelZf6V8tWjTsyB53LSIT9Wf4UUUQKSz8UXQ","fordisplay":"false"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 6638073284439, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2014-05-14 11:44:45,287 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-d408ed7f ctx-3df22ad6 ctx-84f5b16f) ===END=== 127.0.0.1 -- GET apikey=dXvODaGH1UvF0WKs63T_wCXsVEs5nFTJaNhBJCGF3sCYwgbuvUaelZf6V8tWjTsyB53LSIT9Wf4UUUQKSz8UXQ&command=updatePortForwardingRule&fordisplay=false&id=b767a533-e3ed-45ad-ab2b-68ea806438f6&response=json&apikey=dXvODaGH1UvF0WKs63T_wCXsVEs5nFTJaNhBJCGF3sCYwgbuvUaelZf6V8tWjTsyB53LSIT9Wf4UUUQKSz8UXQ&signature=jF8MpXvj4u4NKyajmbuFBPAcw2M%3D
2014-05-14 11:44:45,288 INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-110:job-886) Add job-886 into job monitoring
2014-05-14 11:44:45,292 DEBUG [c.c.a.ApiServlet] (catalina-exec-11:ctx-3d255b35) ===START=== 127.0.0.1 -- GET apikey=dXvODaGH1UvF0WKs63T_wCXsVEs5nFTJaNhBJCGF3sCYwgbuvUaelZf6V8tWjTsyB53LSIT9Wf4UUUQKSz8UXQ&command=queryAsyncJobResult&jobId=0571d334-e071-4073-b404-1e388195733b&response=json&apikey=dXvODaGH1UvF0WKs63T_wCXsVEs5nFTJaNhBJCGF3sCYwgbuvUaelZf6V8tWjTsyB53LSIT9Wf4UUUQKSz8UXQ&signature=EKX465Tc%2B3NvETQRtvhWEynB%2Faw%3D
2014-05-14 11:44:45,295 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-110:job-886) Executing AsyncJobVO {id:886, userId: 1, accountId: 1, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.firewall.UpdatePortForwardingRuleCmd, cmdInfo: {"response":"json","id":"b767a533-e3ed-45ad-ab2b-68ea806438f6","ctxDetails":"{\"Network\":\"b767a533-e3ed-45ad-ab2b-68ea806438f6\",\"com.cloud.network.rules.FirewallRule\":23}","cmdEventType":"NET.RULEMODIFY","ctxUserId":"1","httpmethod":"GET","uuid":"b767a533-e3ed-45ad-ab2b-68ea806438f6","ctxAccountId":"1","ctxStartEventId":"1859","signature":"jF8MpXvj4u4NKyajmbuFBPAcw2M\u003d","apikey":"dXvODaGH1UvF0WKs63T_wCXsVEs5nFTJaNhBJCGF3sCYwgbuvUaelZf6V8tWjTsyB53LSIT9Wf4UUUQKSz8UXQ","fordisplay":"false"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 6638073284439, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2014-05-14 11:44:45,308 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-a4771a58) Zone 1 is ready to launch console proxy
2014-05-14 11:44:45,308 WARN [c.c.a.d.ParamGenericValidationWorker] (API-Job-Executor-110:job-886 ctx-0ab7a373) Received unknown parameters for command updatePortForwardingRule. Unknown parameters : ctxdetails
2014-05-14 11:44:45,314 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-110:job-886) Unexpected exception while executing org.apache.cloudstack.api.command.user.firewall.UpdatePortForwardingRuleCmd
java.lang.NullPointerException
at org.apache.cloudstack.api.command.user.firewall.UpdatePortForwardingRuleCmd.getIp(UpdatePortForwardingRuleCmd.java:180)
at org.apache.cloudstack.api.command.user.firewall.UpdatePortForwardingRuleCmd.getSyncObjId(UpdatePortForwardingRuleCmd.java:176)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:92)
at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:496)
at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
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 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:453)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
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 11:44:45,322 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-a4771a58) Zone 2 is ready to launch console proxy
2014-05-14 11:44:45,324 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-110:job-886) Complete async job-886, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530}
--
This message was sent by Atlassian JIRA
(v6.2#6252)