My Oracle Support Banner

OMA API Fails to Return Data when Fetching Feeder Color Information (Doc ID 2820159.1)

Last updated on JUNE 03, 2024

Applies to:

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

Symptoms

On : 2.4.0.1.0 version, Mobile Apps


While OMA is trying to fetch feeders and associated colors while launching OMA app, the API call is failing with the below error.


ERROR
-----------------------

2021-09-29 02:59:41,688 [[ACTIVE] ExecuteThread: *18' for queue: 'weblogic.kernel.Default ( self-tuning) ’ ] DEBUG com.splwg.oms.ejb.session.Session: Executing query: select h_cls, h_idx, feeder_name, substation_name, color, group_num, abnormal_color from feeders where active = *Y' order by feeder_name
<[ServletContext@1726104958[app:nms-ws module:nms- ws path:null spec-version:3.1], request: weblogic.servlet.internal.ServletRequestImpl@73eal8bb[
GET /nms-ws/mobile/feeders HTTP/1.1 Authorization: *
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.5 (Java/12.0.1)

]] Root cause of ServletException.
java.lang.ClassCastException: java.math.BigDecimal cannot be cast to java.lang.String
at com.splwg.oms.ws.mob lie.MobileMapHelper.getFeeders(HobileMapHelper.j ava: 93)
at com.splwg.oms.ws.mob lie.MobleRestlmpl.getFeeders(MobleRestImpl.java : 863)
at sun.reflect.GeneratedMethodAccessor1264.invoke(Unknown Source )
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorlmpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
Truncated, see log file for complete stacktrace
>
2021-09-29 02:59:42,187 [SwmanListener] DEBUG com.splwg.oms.ejb.ValidateBusinessHethod: PublisherBean.waitForPublishedMessages validating
2021-09-29 02:59:42,188 [SwmanListener] DEBUG com.splwg.oms.ejb.publish.PublisherBean: PublisherBean.getPublishedMessag es: user = "com.splwg.oms.support.SwmanStaticSingleton" id = -1
2021-09-29 02:59:42,188 [SwmanListener] DEBUG com.splwg.oms.ejb.publish.PublisherBean: resetting time: com.splwg.oms.support.SwmanStaticSingleton
2021-09-29 02:59:42,188 [SwmanListener] DEBUG com.splwg.oms.ejb.publish.PublisherBean: PublisherBean.getPublishedMessag es: retval has size 0 for user "com.splwg.oms.support.SwmanStaticSingleton"



Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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