My Oracle Support Banner

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

Last updated on NOVEMBER 10, 2021

Applies to:

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


On : 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.


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 lie.MobileMapHelper.getFeeders(HobileMapHelper.j ava: 93)
at lie.MobleRestlmpl.getFeeders( : 863)
at sun.reflect.GeneratedMethodAccessor1264.invoke(Unknown Source )
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
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 = "" id = -1
2021-09-29 02:59:42,188 [SwmanListener] DEBUG com.splwg.oms.ejb.publish.PublisherBean: resetting time:
2021-09-29 02:59:42,188 [SwmanListener] DEBUG com.splwg.oms.ejb.publish.PublisherBean: PublisherBean.getPublishedMessag es: retval has size 0 for user ""




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.