-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Error "Cannot read property 'is' of null" thrown in Real-time Collaboration demo #5678
Comments
It's caused by the emoji sdk:
The most important part is that the error event has the |
Looks like you have already a good understanding of that, why does it throw randomly? 🤔 |
It looks like something like the // _boundErrorHandler
if ( evt.reason ) {
// Note that evt.reason might be everything that is in the promise rejection.
if ( evt.reason instanceof Error ) {
this._handleError( evt.reason, evt );
}
} else {
// <- The condition is missing here and everything can be treated as the error.
this._handleError( evt.error, evt );
} |
Fix: Only instances of the `Error` class will be handled by`Watchdog`. Closes ckeditor/ckeditor5#5678.
📝 Provide a description of requested docs changes
✔️ Expected result
No exceptions are logged.
❌ Actual result
is thrown
📃 Other details
Error occurs randomly. Since it does, I'll put some details below:
Exception details available here
The text was updated successfully, but these errors were encountered: