cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5244) [Automation] ReplaceNetworkACLListCmd failed with NPE
Date Wed, 11 Dec 2013 05:34:11 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13845092#comment-13845092
] 

ASF subversion and git services commented on CLOUDSTACK-5244:
-------------------------------------------------------------

Commit 27ee78fe0a2dd9097060cdac7f6eb63b6f5e8ce8 in branch refs/heads/master from [~jayapal]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=27ee78f ]

CLOUDSTACK-5244 Fixed issue with applying acl items of acl to private gateway


> [Automation] ReplaceNetworkACLListCmd failed with NPE
> -----------------------------------------------------
>
>                 Key: CLOUDSTACK-5244
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5244
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.3.0
>         Environment: VMware 
> Build : 4.3
>            Reporter: Rayees Namathponnan
>            Assignee: Jayapal Reddy
>            Priority: Blocker
>             Fix For: 4.3.0
>
>         Attachments: CLOUDSTACK-5244.rar
>
>
> Automation test case integration.smoke.test_privategw_acl.TestPrivateGwACL.test_privategw_acl
 
> failing with latest 4.3 build
> Steps to reproduce 
> # 1) Create VPC
> # 2) Create ACl
> # 3) Create ACl Item
> # 4) Create network with ACL
> # 5) create private gw
> # 6) update acl id
> Observed below error, while executing ReplaceNetworkACLListCmd command 
> 2013-11-21 13:12:39,697 DEBUG [c.c.a.ApiServlet] (catalina-exec-11:ctx-39a007fa ctx-29036932
ctx-98299aed) ===END===  10.223.240.195 -- GET  apiKey=EjTJTm-N9K4tQ0gBrUkBlorRjz6Pkty01h4nS55U-VaKfsoZwyg1elLug8UxAddQvb
> gXWWPQGdAXT7GoSCSjlw&aclid=78765684-0f68-4efd-9780-803a5b60a19a&command=replaceNetworkACLList&signature=uapZaRxWZ99prvbjTzsIvm669%2BU%3D&gatewayid=8c10aa1d-4d17-4b28-8aa6-db10e0822124&response=json
> 2013-11-21 13:12:39,700 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-5:ctx-df78e5d8)
Add job-3038 into job monitoring
> 2013-11-21 13:12:39,700 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-5:ctx-df78e5d8)
Executing AsyncJobVO {id:3038, userId: 2, accountId: 2, instanceType: None, instanceId: null,
cmd: org.apache.cloudstack
> .api.command.user.network.ReplaceNetworkACLListCmd, cmdInfo: {"response":"json","aclid":"78765684-0f68-4efd-9780-803a5b60a19a","cmdEventType":"NETWORK.ACL.REPLACE","ctxUserId":"2","gatewayid":"8c10aa1d-4d17-4b28-8a
> a6-db10e0822124","httpmethod":"GET","ctxAccountId":"2","ctxStartEventId":"16548","apiKey":"EjTJTm-N9K4tQ0gBrUkBlorRjz6Pkty01h4nS55U-VaKfsoZwyg1elLug8UxAddQvbgXWWPQGdAXT7GoSCSjlw","signature":"uapZaRxWZ99prvbjTzsIvm
> 669+U\u003d"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result:
null, initMsid: 90928106758026, completeMsid: null, lastUpdated: null, lastPolled: null, created:
null}
> 2013-11-21 13:12:39,702 DEBUG [c.c.a.ApiServlet] (catalina-exec-13:ctx-3e3132c8) ===START===
 10.223.240.195 -- GET  signature=rwMpO9R0bnguoAxjQFAImJaK7XY%3D&apiKey=EjTJTm-N9K4tQ0gBrUkBlorRjz6Pkty01h4nS55U-VaKfsoZw
> yg1elLug8UxAddQvbgXWWPQGdAXT7GoSCSjlw&command=queryAsyncJobResult&response=json&jobid=eb4d5566-9e73-4374-a262-ce703573d7e4
> 2013-11-21 13:12:39,722 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-5:ctx-df78e5d8)
Unexpected exception while executing org.apache.cloudstack.api.command.user.network.ReplaceNetworkACLListCmd
> java.lang.NullPointerException
>         at com.cloud.dao.EntityManagerImpl.findById(EntityManagerImpl.java:45)
>         at sun.reflect.GeneratedMethodAccessor133.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:33)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>         at com.sun.proxy.$Proxy15.findById(Unknown Source)
>         at com.cloud.network.vpc.NetworkACLServiceImpl.replaceNetworkACLonPrivateGw(NetworkACLServiceImpl.java:198)
>         at org.apache.cloudstack.api.command.user.network.ReplaceNetworkACLListCmd.execute(ReplaceNetworkACLListCmd.java:109)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109)
>         at com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66)
>         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.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:520)
>         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 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)
> 2013-11-21 13:12:39,726 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-5:ctx-df78e5d8)
Complete async job-3038, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionRespons
> e/null/{"uuidList":[],"errorcode":530}
> 2013-11-21 13:12:39,729 DEBUG [c.c.a.ApiServlet] (catalina-exec-13:ctx-3e3132c8 ctx-1c244fd8
ctx-c145c336) ===END===  10.223.240.195 -- GET  signature=rwMpO9R0bnguoAxjQFAImJaK7XY%3D&apiKey=EjTJTm-N9K4tQ0gBrUkBlorRj
> z6Pkty01h4nS55U-VaKfsoZwyg1elLug8UxAddQvbgXWWPQGdAXT7GoSCSjlw&command=queryAsyncJobResult&response=json&jobid=eb4d5566-9e73-4374-a262-ce703573d7e4
> 2013-11-21 13:12:39,737 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-5:ctx-df78e5d8)
Done executing org.apache.cloudstack.api.command.user.network.ReplaceNetworkACLListCmd for
job-3038
> 2013-11-21 13:12:39,741 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-5:ctx-df78e5d8)
Remove job-3038 from job monitoring



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message