cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Animesh Chaturvedi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3225) Multiple NPEs when cloudstack-management service is restarted with incomplete tasks/notifications.
Date Thu, 30 Oct 2014 17:47:35 GMT

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

Animesh Chaturvedi commented on CLOUDSTACK-3225:
------------------------------------------------

[~t_manasave] is this still happening

> Multiple NPEs when cloudstack-management service is restarted with incomplete tasks/notifications.
> --------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3225
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3225
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: master-6-17-stable  build
>            Reporter: manasaveloori
>            Priority: Minor
>             Fix For: 4.4.0
>
>         Attachments: management-server.zip
>
>
> Steps:
> 1.	Have a CS setup with any zone.
> 2.	Create any task like rebooting the instance/ router VM/VPC restart etc..
> 3.	While the task is incomplete try to restart the management service.
> Observation:
> Observed multiple NPEs in the MS log.
> 2013-06-27 17:26:26,267 ERROR [cloud.api.ApiServlet] (catalina-exec-4:null) unknown exception
writing api response
> java.lang.NullPointerException
>         at com.cloud.user.AccountManagerImpl.getSystemUser(AccountManagerImpl.java:309)
>         at com.cloud.user.AccountManagerImpl.getSystemUser(AccountManagerImpl.java:150)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:238)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
>         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:2268)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-06-27 17:26:26,283 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===END===
 10.252.192.69 -- GET  command=queryAsyncJobResult&jobId=459114c9-5e2a-4cf0-8267-df2a179499c2&response=json&sessionkey=nJAZqwBB2k8KRNoM%2FpKQPK4DZkg%3D&_=1372314733853
> 2013-06-27 17:26:29,277 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) ===START===
 10.252.192.69 -- GET  command=queryAsyncJobResult&jobId=459114c9-5e2a-4cf0-8267-df2a179499c2&response=json&sessionkey=nJAZqwBB2k8KRNoM%2FpKQPK4DZkg%3D&_=1372314736852

> 2013-06-27 17:26:29,278 ERROR [cloud.api.ApiServlet] (catalina-exec-5:null) unknown exception
writing api response
> java.lang.NullPointerException
>         at com.cloud.user.AccountManagerImpl.getSystemUser(AccountManagerImpl.java:309)
>         at com.cloud.user.AccountManagerImpl.getSystemUser(AccountManagerImpl.java:150)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:238)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
>         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)
> Attaching the MS log.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message