laptop and a wrench

Bug

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

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM000435
SubmittedNovember 24, 2005
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.1
Program languageJava
StatusNon-Reproducible

Additional Information

No Public Explanation

Workaround

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(); } }

Steps to Reproduce

Bug ID: NIM000435

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options