SetComponentColorCommand Giving Error Message in End Case Use

(Doc ID 2288618.1)

Last updated on JULY 20, 2017

Applies to:

Oracle Utilities Network Management System - Version and later
Information in this document applies to any platform.


When adding color options for real time vs study mode in Look Ahead by using setComponentColorCommand.

The solution works with an exception: an error message in the following scenario:

1. Create an emergency switch plan
2. Open/close a device in the emergency switch plan -- you can do this is as much as you want, without a problem. Note that the look ahead form has some red lines on it since you are working in real time.
3. Close the switch plan.
4. Open the control tool for the device that you opened in step 2, and select View Existing Switch plans, and select the switch plan that you created earlier.
5. Open the device again. You will get an error message: java.lang.RuntimeException: java.lang.ClassCastException: com.splwg.oms.jbot.DataManager$DuplicateAdapter cannot be cast to com.splwg.oms.jbot.adapter.JBotAdapter
and java errors in the java log.
6 You can okay the error message and proceed, but obviously I do not want the error message.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms