[ https://issues.apache.org/jira/browse/CLOUDSTACK-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13698400#comment-13698400 ]
ASF subversion and git services commented on CLOUDSTACK-3047: ------------------------------------------------------------- Commit 8780fef05a9d3e3ca23b14ae5cb7d3a00b2eec14 in branch refs/heads/master from [~prachidamle] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8780fef ] CLOUDSTACK-3047 java.lang.NullPointerException encountered when executing capacityChecker thread. Changes: - Added null check around clusterId, since its possible to have null clusterId for storagepool and host records > 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