[ https://issues.apache.org/jira/browse/CLOUDSTACK-3585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasanna Santhanam reassigned CLOUDSTACK-3585: ---------------------------------------------- Assignee: edison su (was: Prasanna Santhanam) Looks like some changes made to accommodate swift coming from bf32776f9f89b6b40c0a3093f8f3ddb5c1a1830e. > StorageStats retrieval fails with NPE > ------------------------------------- > > Key: CLOUDSTACK-3585 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3585 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Reporter: Prasanna Santhanam > Assignee: edison su > Priority: Critical > > Following NPE is noted when ssvms are starting up on a simulator based > deployment. This will probably happen on a physical setup also (haven't > confirmed yet) because the configDao injection is failing the LocalEndPoint > selector. > 2013-07-17 14:04:33,171 ERROR [cloud.server.StatsCollector] > (StatsCollector-1:null) Error trying to retrieve storage stats > java.lang.NullPointerException > at > org.apache.cloudstack.storage.LocalHostEndpoint.<init>(LocalHostEndpoint.java:49) > at > org.apache.cloudstack.storage.endpoint.DefaultEndPointSelector.findEndpointForImageStorage(DefaultEndPointSelector.java:194) > at > org.apache.cloudstack.storage.endpoint.DefaultEndPointSelector.select(DefaultEndPointSelector.java:228) > at > com.cloud.server.StatsCollector$StorageCollector.run(StatsCollector.java:538) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) > at > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) > at java.lang.Thread.run(Thread.java:680) > Running on latest master: > 5fbec76c8a7a57c01d456ab0af23dcb44e29ca14 -- 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