My Oracle Support Banner

IllegalStateException on Update PropertyLocation API (Doc ID 2702147.1)

Last updated on APRIL 27, 2021

Applies to:

Oracle Communications Unified Inventory Management - Version 7.4.0.0.0 and later
Information in this document applies to any platform.

Symptoms

On UIM while working JPQL Characteristics using API, you may get below exceptions. The Same operations works fine from UIM UI.

Error1:

java.lang.IllegalStateException: No match found
        at java.util.regex.Matcher.group(Matcher.java:536) ~[?:1.8.0_152]
        at
oracle.communications.inventory.api.characteristic.impl.CharacteristicHelper.v
alidateQueryCharSpecDropDownValue(CharacteristicHelper.java:1086)
~[uim-managers.jar:?]

 

Error2:

Characteristic *** is a dropdown list. The value that was selected (*****) is not in the drop down list.

 

Write a JPQL query for the drop down characteristic which has other char as parameter.
1. Query consists of "distinct" key word for the top most select (case insensitive), a where clause inside which a sub  query is present, a group by and order by clause.
2. JPQL query must be same as above query except that it should not contain a
group by clause.
3. JPQL query is same as A but should not contain where clause for outer query
4. JPQL query is same as A but should be written in multiple lines, irrespective of whitespaces.

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.