laptop and a wrench

Bogue

Running new Point() and mapControl.getActiveView().refresh() in a FOR loop causes an Engine application to freeze.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM000435
EnvoiNovember 24, 2005
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.1
Langue du programmeJava
StatutNon-Reproducible

Informations supplémentaires

No Public Explanation

Solution de contournement

Putting a wait(int) in the for loop to delay the refresh can resolve the problem. for (int i = 0; i < 50; i++) { try { System.out.println("Client: Creating point " + i); p = new Point(); m_mapControl.getActiveView().refresh(); wait(5000); } catch (Exception ex) { ex.printStackTrace(); } }

Étapes pour reproduire

ID de bogue: NIM000435

Logiciel:

  • No Product Found

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