Rayees Namathponnan created CLOUDSTACK-7272:
-----------------------------------------------
Summary: [Automation] Router stop fails with NPE
Key: CLOUDSTACK-7272
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7272
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Virtual Router
Affects Versions: 4.5.0
Environment: KVM - RHEL 6.3
Reporter: Rayees Namathponnan
Priority: Blocker
Fix For: 4.5.0
Test case integration.smoke.test_routers.TestRouterServices.test_07_stop_router
fails while stopping
VR stops with with NPE
2014-08-06 08:37:48,703 ERROR [c.c.a.ApiAsyncJobDispatcher]
(API-Job-Executor-77:ctx-9e4e9ccb job-379) Unexpected exception while executing
org.apache.cloudstack.api.command.admin.router.StopRouterCmd
java.lang.NullPointerException
at
com.cloud.api.query.dao.DomainRouterJoinDaoImpl.newDomainRouterResponse(DomainRouterJoinDaoImpl.java:97)
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: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:34)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
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.$Proxy267.newDomainRouterResponse(Unknown Source)
at
com.cloud.api.ApiDBUtils.newDomainRouterResponse(ApiDBUtils.java:1574)
at
com.cloud.api.query.ViewResponseHelper.createDomainRouterResponse(ViewResponseHelper.java:155)
at
com.cloud.api.ApiResponseHelper.createDomainRouterResponse(ApiResponseHelper.java:1137)
at
org.apache.cloudstack.api.command.admin.router.StopRouterCmd.execute(StopRouterCmd.java:119)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
at
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
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:460)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
--
This message was sent by Atlassian JIRA
(v6.2#6252)