laptop and a wrench

Bug

Instantiating BasemapLayer with Visual Beans causes a crash.

Last Published: March 27, 2015 ArcGIS Engine
Bug ID Number NIM065108
SubmittedFebruary 15, 2011
Last ModifiedJune 5, 2024
Applies toArcGIS Engine
Version found10.0
Program languageJava
Operating SystemRed Hat Enterprise Linux
Operating System Version4
Version Fixed10.3.1
StatusFixed

Workaround

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.

Steps to Reproduce

Bug ID: NIM065108

Software:

  • ArcGIS Engine

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