[ https://issues.apache.org/jira/browse/CLOUDSTACK-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13685470#comment-13685470 ]
Ryan Lei - Taiwan commented on CLOUDSTACK-2905: ----------------------------------------------- Can someone confirm if this fix applies to the 4.1 branch, too? The details say Fix Version/s: 4.1.1, 4.2.0. I encounter the same NullPointerException in the 4.1.0 source code release, but currently I don't have a git 4.1 environment to verify it. > Recurring Snapshots are failing becuase of NullPointerException. > ---------------------------------------------------------------- > > Key: CLOUDSTACK-2905 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2905 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.1.0, 4.2.0 > Environment: cloudstack-management-4.1.0-0.el6.x86_64 > Reporter: satoru nakaya > Assignee: Rajesh Battala > Priority: Blocker > Fix For: 4.1.1, 4.2.0 > > > Create an Hourly Recurring snapshot policy on the ROOT disk. > Snapshot policy gets created successfully. > But when it is time to create a snapshot, snapshot scheduler thread > encounters a NullPointer Exception: > Management server logs: > # tail -f management-server.log | grep SnapshotSchedulerImpl > 2013-06-08 08:06:11,393 DEBUG [storage.snapshot.SnapshotSchedulerImpl] > (SnapshotPollTask:null) Snapshot scheduler.poll is being called at 2013-06-07 > 23:06:11 GMT > 2013-06-08 08:06:11,395 DEBUG [storage.snapshot.SnapshotSchedulerImpl] > (SnapshotPollTask:null) Got 0 snapshots to be executed at 2013-06-07 23:06:11 > GMT > 2013-06-08 08:08:39,459 DEBUG [storage.snapshot.SnapshotSchedulerImpl] > (catalina-exec-4:null) Current time is 2013-06-07 23:06:11 GMT. > NextScheduledTime of policyId 1 is 2013-06-07 23:10:00 GMT > 2013-06-08 08:11:11,393 DEBUG [storage.snapshot.SnapshotSchedulerImpl] > (SnapshotPollTask:null) Snapshot scheduler.poll is being called at 2013-06-07 > 23:11:11 GMT > 2013-06-08 08:11:11,397 DEBUG [storage.snapshot.SnapshotSchedulerImpl] > (SnapshotPollTask:null) Got 1 snapshots to be executed at 2013-06-07 23:11:11 > GMT > 2013-06-08 08:11:11,400 DEBUG [storage.snapshot.SnapshotSchedulerImpl] > (SnapshotPollTask:null) Scheduling 1 snapshot for volume 3 for schedule id: 1 > at 2013-06-07 23:10:00 GMT > 2013-06-08 08:11:11,453 WARN [storage.snapshot.SnapshotSchedulerImpl] > (SnapshotPollTask:null) Scheduling snapshot failed due to > java.lang.NullPointerException -- 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