laptop and a wrench

Bogue

The tryFatalErrorRecovery() method does not work as expected as it does not clear any fatal errors resulting from a lost WebGL context.

ArcGIS Maps SDK for JavaScript
Numéro d’ID de bogue BUG-000160714
EnvoiAugust 16, 2023
Dernière modificationDecember 6, 2024
S’applique àArcGIS Maps SDK for JavaScript
Version trouvée4.27
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutNon-Reproducible

Informations supplémentaires

This is an asynchronous issue. The tryFatalErrorRecovery() method works correctly when a fatal error has occurred. Use view.watch() to look for a fatal error, and then use the tryFatalErrorRecovery() method. Refer to https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#fatalError for more information. view.watch("fatalError", function(error) { if(error) { console.error("Fatal Error! View has lost its WebGL context. Attempting to recover..."); view.tryFatalErrorRecovery(); } });

Étapes pour reproduire

ID de bogue: BUG-000160714

Logiciel:

  • ArcGIS Maps SDK for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement