You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/05/19 07:01:40 UTC

[jira] [Commented] (CLOUDSTACK-6672) [Automation] NPE observed while listing system vms

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

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

Commit 8bcd2546ac159bbfa778c7a023065a1efc7edd5e in cloudstack's branch refs/heads/4.4-forward from [~murali.reddy]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8bcd254 ]

CLOUDSTACK-6672: [Automation] NPE observed while listing system vms

fixing NPE


> [Automation] NPE observed while listing system vms
> --------------------------------------------------
>
>                 Key: CLOUDSTACK-6672
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6672
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: SystemVM
>    Affects Versions: 4.4.0
>         Environment: EIP/ELB
>            Reporter: Rayees Namathponnan
>            Assignee: Murali Reddy
>             Fix For: 4.4.0
>
>         Attachments: management-server.rar
>
>
> This issue is observed in EIP/ELB setup 
> Steps to reproduce 
> 1) Create EIP/ELB setup
> 2) delete ssvm 
> 3) while creating new SSVM, call list system vm API.
> listsystem vm api returns NPE
> 2014-05-14 07:45:53,227 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-3a43fc0b) ===START===  10.216.51.142 -- GET  command=listSystems&response=json&sessionkey=xiNXdhTMhQghYSan%2Bsj60Au015s%3D&listAll=true&page=1&pagesize=1&_=1400079830040
> 2014-05-14 07:45:53,236 WARN  [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) Received unknown pameters for command listSystemVms. Unknown parameters : listall
> 2014-05-14 07:45:53,237 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) IAM access check fo2-null-null-DomainResourceCapability from cache: false
> 2014-05-14 07:45:53,265 ERROR [c.c.a.ApiServer] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) unhandled exception executing api comman [Ljava.lang.String;@2329f184
> java.lang.NullPointerException
>         at com.cloud.api.ApiResponseHelper.createSystemVmResponse(ApiResponseHelper.java:1210)
>         at org.apache.cloudstack.api.command.admin.systemvm.ListSystemVMsCmd.execute(ListSystemVMsCmd.java:136)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:119)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:683)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:506)
>         at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
>         at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
>         at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
>         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.ApiServlet.processRequest(ApiServlet.java:115)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>         at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>         at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
>         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 07:45:53,267 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) IAM access check fo2-null-null-SystemCapability from cache: true
> 2014-05-14 07:45:53,267 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) Root Access granted to Acct[e49832-db1b-11e3-b407-4290361b938f-admin] by RoleBasedEntityAccessChecker
> 2014-05-14 07:45:53,267 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) ===END===  10.216.51.142 -- GET  commanlistSystemVms&response=json&sessionkey=xiNXdhTMhQghYSan%2Bsj60Au015s%3D&listAll=true&page=1&pagesize=1&_=1400079830040
> 2014-05-14 07:45:54,187 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-c9f9cce6) Storage pool garbage collector fou 0 templates to clean up in storage pool: PS0



--
This message was sent by Atlassian JIRA
(v6.2#6252)