-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read properties of null (reading 'removeObserver') #2265
Comments
Hi @ildar-shamilov-clearscale , thanks for reporting this issue. It seems this issue happens because the Could you please provide us more details for your use cases, and how you encountered this issue? If you can find a stable way to reproduce this issue, that would help us a lot. |
Probably when i am calling .stop() before .start() |
@ildar-shamilov-clearscale could you please provide browser console logs for this issue? I tried calling The Created a PR to fix the error. But I think we need console logs to root cause. |
Closing this issue as we have merged the PR with a fix. Please let me know if you have more issues. |
What happened and what did you expect to happen?
After migrating to v3 from v2.
Calling AudioVideoFacade.stop() sometimes throws exception:
LoggerService.ts:89 TypeError: Cannot read properties of null (reading 'removeObserver')
at DefaultAudioVideoController.uninstallPreStartObserver (DefaultAudioVideoController.js:210:1)
at DefaultAudioVideoController. (DefaultAudioVideoController.js:221:1)
at Generator.next ()
at DefaultAudioVideoController.js:10:1
at new Promise ()
at push.../node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js.__awaiter (DefaultAudioVideoController.js:6:1)
at handleClosed (DefaultAudioVideoController.js:218:1)
at Object.handleSignalingClientEvent (DefaultAudioVideoController.js:226:1)
at DefaultSignalingClient.sendEvent (DefaultSignalingClient.js:291:1)
at DefaultSignalingClient.closeEventHandler (DefaultSignalingClient.js:23:1)
Have you reviewed our existing documentation?
Reproduction steps
Calling AudioVideoFacade.stop()
Amazon Chime SDK for JavaScript version
3.2.0
What browsers are you seeing the problem on?
Chrome latest
Browser version
Chrome latest
Meeting and Attendee ID Information.
No response
Browser console logs
LoggerService.ts:89 TypeError: Cannot read properties of null (reading 'removeObserver')
at DefaultAudioVideoController.uninstallPreStartObserver (DefaultAudioVideoController.js:210:1)
at DefaultAudioVideoController. (DefaultAudioVideoController.js:221:1)
at Generator.next ()
at DefaultAudioVideoController.js:10:1
at new Promise ()
at push.../node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js.__awaiter (DefaultAudioVideoController.js:6:1)
at handleClosed (DefaultAudioVideoController.js:218:1)
at Object.handleSignalingClientEvent (DefaultAudioVideoController.js:226:1)
at DefaultSignalingClient.sendEvent (DefaultSignalingClient.js:291:1)
at DefaultSignalingClient.closeEventHandler (DefaultSignalingClient.js:23:1)
The text was updated successfully, but these errors were encountered: