My Oracle Support Banner

URL MAPPING DOESN'T WORK WHEN THERE MULTIPLE BASE-URL ENTRIES IN URL-MAPPING.XML (Doc ID 2830960.1)

Last updated on AUGUST 25, 2023

Applies to:

Oracle REST Data Services - Version 20.4.1 and later
Information in this document applies to any platform.

Symptoms

Get 500 Internal Server Error with the following error when there are
multiple base-url entries in url-mapping.xml:
An unexpected error with the following message occurred: Cannot invoke
"oracle.dbtools.http.routes.RoutePatternMatch.parameters()" because "matches"
is null


changing url_mapping.xml with only one entry works perfectly.

issue seems to be introduced on ords 20
ords-18.4.0.354.1002 WORKING
ords-19.4.6.142.1859 WORKING
ords-20.4.3.050.1904 NOT WORKING
ords-21.2.0.174.1826 NOT WORKING

Changes

 issue seems to be introduced on ords 20
ords-18.4.0.354.1002 WORKING
ords-19.4.6.142.1859 WORKING
ords-20.4.3.050.1904 NOT WORKING
ords-21.2.0.174.1826 NOT WORKING

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.