cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanna Santhanam (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-3585) StorageStats retrieval fails with NPE
Date Wed, 17 Jul 2013 08:46:50 GMT
Prasanna Santhanam created CLOUDSTACK-3585:
----------------------------------------------

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

Mime
View raw message