My Oracle Support Banner

java.lang.IllegalArgumentException and WebCenter 'Page Not Found' Error When Displaying Pages Containing Spaces (Blank/Whitespace) (Doc ID 1610196.1)

Last updated on MARCH 09, 2018

Applies to:

Oracle WebCenter Portal - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

On WebCenter Portal 11.1.1.7.0, if a navigation model based on SubSpace query is created and this is used on the Space, the following error is reported in the diagnostic.log when attempting to navigate to a subspace page with whitespace in its name:


URL is invalid. Assuming redirect is to same application.[[java.lang.IllegalArgumentException
        at java.net.URI.create(URI.java:841)
        at java.net.URI.resolve(URI.java:1027)
        at oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator._isRedirectToSameApp(RegistrationConfigurator.java:312)
        at oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator.sendWindowUnloadedForRedirect(RegistrationConfigurator.java:259)
        at oracle.adfinternal.view.faces.config.rich.DetectRedirect.redirect(DetectRedirect.java:44)
.
.
        ...
Caused by: java.net.URISyntaxException: Illegal character in path at index 40: /webcenter/spaces/testsub1/page/testsub1 page1
        at java.net.URI$Parser.fail(URI.java:2810)
        at java.net.URI$Parser.checkChars(URI.java:2983)
        at java.net.URI$Parser.parseHierarchical(URI.java:3067)
        at java.net.URI$Parser.parse(URI.java:3025)
        at java.net.URI.<init>(URI.java:577)
        at java.net.URI.create(URI.java:839)
        at java.net.URI.resolve(URI.java:1027)

 

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


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.