[
https://issues.apache.org/jira/browse/CLOUDSTACK-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prachi Damle resolved CLOUDSTACK-3047.
--------------------------------------
Resolution: Fixed
> java.lang.NullPointerException encountered when executing capacityChecker
> thread.
> ----------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3047
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3047
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Reporter: Prachi Damle
> Assignee: Prachi Damle
> Fix For: 4.2.0
>
>
> Following exception in the logs thrown by capacityChecker thread:
> 2013-06-13 14:34:17,285 ERROR [cloud.alert.AlertManagerImpl]
> (CapacityChecker:null) Caught exception in recalculating capacity
> java.lang.NullPointerException
> at
> com.cloud.capacity.CapacityManagerImpl.updateCapacityForHost(CapacityManagerImpl.java:546)
> at
> com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30)
> at
> com.cloud.alert.AlertManagerImpl.recalculateCapacity(AlertManagerImpl.java:286)
> at
> com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30)
> at
> com.cloud.alert.AlertManagerImpl.checkForAlerts(AlertManagerImpl.java:443)
> at
> com.cloud.alert.AlertManagerImpl$CapacityChecker.run(AlertManagerImpl.java:432)
> at java.util.TimerThread.mainLoop(Timer.java:534)
> at java.util.TimerThread.run(Timer.java:484)
--
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