Calling UIM APIs from Custom WS Resulting in "java.lang.IllegalArgumentException: jpa_helper_invalid_queryclass" Error
(Doc ID 2355484.1)
Last updated on APRIL 03, 2023
Applies to:
Oracle Communications Unified Inventory Management - Version 7.2.5.0.0 and laterInformation in this document applies to any platform.
Symptoms
Getting java.lang.IllegalArgumentException: jpa_helper_invalid_queryclass when calling UIM APIs from custom Web Service (WS).
Sample stack trace will look like below when ReservationManager.findReservations() API is called:
java.lang.IllegalArgumentException: jpa_helper_invalid_queryclass weblogic.persistence.QueryProxyImpl (There is no English translation for this message.)
at org.eclipse.persistence.jpa.JpaHelper.getDatabaseQuery(JpaHelper.java:99) ~[eclipselink.jar:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.jpa.JpaHelper.getReadAllQuery(JpaHelper.java:111) ~[eclipselink.jar:2.6.4.v20160829-44060b6]
at oracle.communications.inventory.api.framework.persistence.impl.InventoryFinderImpl.findTotalCounts(InventoryFinderImpl.java:339) ~[uim-api-framework.jar:?]
at oracle.communications.inventory.api.consumer.impl.ReservationManagerImpl.findReservationCountOfType(ReservationManagerImpl.java:510) ~[uim-managers.jar:?]
at oracle.communications.inventory.api.consumer.impl.ReservationManagerImpl.findTotalCount(ReservationManagerImpl.java:899) [uim-managers.jar:?]
at oracle.communications.inventory.api.consumer.impl.ReservationManagerImpl.findReservations(ReservationManagerImpl.java:396) [uim-managers.jar:?]
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 |