AssertionFailureException observed while Cancelling the Recording.
I have observed the below exception which cancelling the recording. However the exception doesn't impacting anything but it can be corrected.
20110905 02:49:02.880 ERROR RI.Stack- 2993610 [Thread-37] ERROR event.SystemEventManager - ErrorEvent[34000000,11127133,9/4/11 7:49 PM] org.cablelabs.impl.debug.Assert$AssertionFailureException: Lock org.cablelabs.impl.manager.recording.HNRecordingManagerImpl@0x5a3e1809 is not held
When I have looked RecordingImpl.cancel() method, I observed that this method is notifying state change two times - one is in sync block before cancelling recording. & other is not in sync block (which is causing the exception) but after cancelling recording.
I think the notification without in sync block is unnecessary. Please comment.
Thanks & Regards,