laptop and a wrench

Bogue

Instantiating BasemapLayer with Visual Beans causes a crash.

Dernière publication: March 27, 2015 ArcGIS Engine
Numéro d’ID de bogue NIM065108
EnvoiFebruary 15, 2011
Dernière modificationJune 5, 2024
S’applique àArcGIS Engine
Version trouvée10.0
Langue du programmeJava
Système d’exploitationRed Hat Enterprise Linux
Version du système d’exploitation4
Version de correction10.3.1
StatutFixed

Solution de contournement

The crash is happening in the OLE32.DLLl function RegisterInterfaceInGlobal() when adding the BasemapLayer interface pointer to the global interface table (GIT). It is deemed appropriate to disable the GIT. Users can do this themselves with this call before calling initializeVisualBeans: System.setProperty("ARCGIS_NOGIT", ""); EngineInitializer.initializeVisualBeans();When setting ARCGIS_NOGIT, an updated VisualBeans architecture is used to manage interface pointers between threads, so the GIT is an old way to do the same task.This seems to only happen with BasemapLayer. RegisterInterfaceInGlobal crashes in ole32.dll on older machines such as Windows 98 if the interface being registered does not contain a proxy/stub. MainWin uses the old WinNT 4 code base for their version of ole32 so it is very likely the same issue.

Étapes pour reproduire

ID de bogue: NIM065108

Logiciel:

  • ArcGIS Engine

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