You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/02/12 13:29:13 UTC

[jira] [Commented] (CLOUDSTACK-1243) Failed to cleanup account :java.lang.NullPointerException

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

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

Commit bd034e0b9f471ca1d0c3a18e135926380dc76e1c in branch refs/heads/master from [~bhaisaab]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=bd034e0 ]

CLOUDSTACK-1243: Add @Inject to fix NPE in AccountManagerImpl

Signed-off-by: Rohit Yadav <bh...@apache.org>

                
> Failed to cleanup account :java.lang.NullPointerException
> ---------------------------------------------------------
>
>                 Key: CLOUDSTACK-1243
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1243
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.1.0
>         Environment: MS: RHEL6.3
> Hypervisor: Xenserver
> advanced zone
>            Reporter: Srikanteswararao Talluri
>            Priority: Blocker
>             Fix For: 4.1.0
>
>
> Steps to reproduce:
> ==============
> 1. Create  an account "Acc".
> 2. deploy VM for that account in the isolated network
> 3. delete account "Acc".
>  Failed to cleanup account Acct[5-test-FXM384] due to
> java.lang.NullPointerException
>         at com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:630)
>         at com.cloud.user.AccountManagerImpl.deleteAccount(AccountManagerImpl.java:505)
>         at com.cloud.user.AccountManagerImpl.deleteUserAccount(AccountManagerImpl.java:1198)
>         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
>         at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>         at com.cloud.event.ActionEventInterceptor.AroundAnyMethod(ActionEventInterceptor.java:41)
>         at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
>         at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>         at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:43)
>         at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAd

--
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