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 50D9A10FE0 for ; Tue, 7 Jan 2014 21:20:54 +0000 (UTC) Received: (qmail 45598 invoked by uid 500); 7 Jan 2014 21:20:54 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 45576 invoked by uid 500); 7 Jan 2014 21:20:54 -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 45569 invoked by uid 500); 7 Jan 2014 21:20:54 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 45566 invoked by uid 99); 7 Jan 2014 21:20:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 21:20:54 +0000 Date: Tue, 7 Jan 2014 21:20:54 +0000 (UTC) From: "Animesh Chaturvedi (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-5728) [Automation] ReplaceNetworkACLListCmd command failing with NPE 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-5728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864703#comment-13864703 ] Animesh Chaturvedi commented on CLOUDSTACK-5728: ------------------------------------------------ 5715 is already fixed can you check on this issue again > [Automation] ReplaceNetworkACLListCmd command failing with NPE > -------------------------------------------------------------- > > Key: CLOUDSTACK-5728 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5728 > 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: KVM and vmware > branch 4.3 > Reporter: Rayees Namathponnan > Assignee: Jayapal Reddy > Priority: Blocker > Fix For: 4.3.0 > > Attachments: management-server.rar > > > BVT test case test_privategw_acl.TestPrivateGwACL.test_privategw_acl failing with NPE, this failure observed from Dec 27th on words > Test case performing below steps > # 1) Create VPC > # 2) Create ACl > # 3) Create ACl Item > # 4) Create network with ACL > # 6) update acl id > Observed below error > 7577-47b5-bb33-db9f8c542de0","httpmethod":"GET","ctxAccountId":"2","ctxStartEventId":"1063","apiKey":"EHF5nlA7E3UW18UHPpnUOrB1KScPXUdMPFtCl8t7tNc2k_1n0ZkD0Tv-X8Lp9OXMy4uPGReYq3R9q2ddkIb-2g","signature":"vIdDK7TNp5mRqcgsEs+m3lGSdjc\u > 003d"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 29066118877352, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} > 2014-01-02 14:14:51,316 DEBUG [c.c.a.ApiServlet] (catalina-exec-18:ctx-607621af ctx-a91ea8f3 ctx-6baa9395) ===END=== 10.223.240.194 -- GET apiKey=EHF5nlA7E3UW18UHPpnUOrB1KScPXUdMPFtCl8t7tNc2k_1n0ZkD0Tv-X8Lp9OXMy4uPGReYq3R9q2ddkIb- > 2g&aclid=5db946bd-d5a2-47bd-8dda-1653c21b2af5&command=replaceNetworkACLList&signature=vIdDK7TNp5mRqcgsEs%2Bm3lGSdjc%3D&gatewayid=a51a8831-7577-47b5-bb33-db9f8c542de0&response=json > 2014-01-02 14:14:51,320 DEBUG [c.c.a.ApiServlet] (catalina-exec-17:ctx-a8650844) ===START=== 10.223.240.194 -- GET signature=Im99pBFJIOBuch6mHvf4WilMbwU%3D&apiKey=EHF5nlA7E3UW18UHPpnUOrB1KScPXUdMPFtCl8t7tNc2k_1n0ZkD0Tv-X8Lp9OXMy4u > PGReYq3R9q2ddkIb-2g&command=queryAsyncJobResult&response=json&jobid=e9391f75-b3ee-4255-8bc7-5439dd7ba68f > 2014-01-02 14:14:51,341 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-1:ctx-f84f626a ctx-6baa9395) Applying network acls in network Ntwk[239|Guest|5] > 2014-01-02 14:14:51,346 DEBUG [c.c.a.ApiServlet] (catalina-exec-17:ctx-a8650844 ctx-36cff002 ctx-0b21bcc7) ===END=== 10.223.240.194 -- GET signature=Im99pBFJIOBuch6mHvf4WilMbwU%3D&apiKey=EHF5nlA7E3UW18UHPpnUOrB1KScPXUdMPFtCl8t7tNc > 2k_1n0ZkD0Tv-X8Lp9OXMy4uPGReYq3R9q2ddkIb-2g&command=queryAsyncJobResult&response=json&jobid=e9391f75-b3ee-4255-8bc7-5439dd7ba68f > 2014-01-02 14:14:51,364 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-1:ctx-f84f626a) Unexpected exception while executing org.apache.cloudstack.api.command.user.network.ReplaceNetworkACLListCmd > java.lang.NullPointerException > at com.cloud.hypervisor.HypervisorGuruBase.toNicTO(HypervisorGuruBase.java:60) > at com.cloud.vm.VirtualMachineManagerImpl.toNicTO(VirtualMachineManagerImpl.java:3212) > at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.getNicTO(VpcVirtualNetworkApplianceManagerImpl.java:489) > at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.createNetworkACLsCommands(VpcVirtualNetworkApplianceManagerImpl.java:699) > at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.sendNetworkACLs(VpcVirtualNetworkApplianceManagerImpl.java:673) > at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl$2.execute(VpcVirtualNetworkApplianceManagerImpl.java:665) > at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:3738) > at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.applyNetworkACLs(VpcVirtualNetworkApplianceManagerImpl.java:662) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > 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 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 $Proxy240.applyNetworkACLs(Unknown Source) > at com.cloud.network.element.VpcVirtualRouterElement.applyACLItemsToPrivateGw(VpcVirtualRouterElement.java:473) > at com.cloud.network.vpc.NetworkACLManagerImpl.applyACLToPrivateGw(NetworkACLManagerImpl.java:385) > at com.cloud.network.vpc.NetworkACLManagerImpl.applyACLToPrivateGw(NetworkACLManagerImpl.java:372) > at com.cloud.network.vpc.NetworkACLManagerImpl.replaceNetworkACLForPrivateGw(NetworkACLManagerImpl.java:175) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > 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 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 $Proxy224.replaceNetworkACLForPrivateGw(Unknown Source) > at com.cloud.network.vpc.NetworkACLServiceImpl.replaceNetworkACLonPrivateGw(NetworkACLServiceImpl.java:257) > 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:522) > 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) > : -- This message was sent by Atlassian JIRA (v6.1.5#6160)