My Oracle Support Banner

OMA Crashes on Initial Map Load - Cannot read property 'removeAllFeatureLayers' (Doc ID 2494525.1)

Last updated on FEBRUARY 19, 2019

Applies to:

Oracle Utilities Network Management System - Version to [Release 2.3]
Oracle Network Management for Utilities - DMS - Version to [Release 2.3]
Information in this document applies to any platform.


On : version, Mobile Apps

The OMA client occasionally crashes when it attempts to download maps for the first time.

The log contains this error:
Uncaught TypeError: Cannot read property 'removeAllFeatureLayers' of undefined
    at nmsCrewMapModel.self.appResetViewer (mapo.js:1371)
    at self.updateNextMap (mapo.js:3136)


After restarting the client, the map download completes as expected.

The issue can be reproduced at will with the following steps:
1. Deploy cesejb.ear to one managed server in a given domain
2. Following the OMA Install/Deploy Guide, deploy the nms-ws.ear to a separate managed server in the same domain
3. Start the NMS MS, then start the nms-ws managed server.
4. The second managed server will never displays the "OMA established connection with NMS Managed Server" message.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.