"MalformedURLException: Unknown protocol" Error When Accessing The User Segments From An Experience Manager Cartridge

(Doc ID 2228131.1)

Last updated on JANUARY 30, 2017

Applies to:

Oracle Commerce Platform - Version 11.2 to 11.2 [Release 11]
Oracle Commerce Guided Search / Oracle Commerce Experience Manager - Version 11.2 to 11.2 [Release 11.x]
Information in this document applies to any platform.


When accessing the User Segments from an Experience Manager cartridge, the bellow errors appear.

Experience Manager UI error:

User segments cannot be retrieved from the Oracle Commerce Platform. Contact your system administrator.

ifcr.log error:

29.01.2017 10:22:52.747 *ERROR* [ [1485685372673] GET /ifcr/sites/CSAen.allUserSegments.1.json HTTP/1.1] com.endeca.ifcr.xmgr.usersegments.AtgProfileGroupService Unknown protocol: localhost
29.01.2017 10:22:52.747 *ERROR* [ [1485685372673] GET /ifcr/sites/CSAen.allUserSegments.1.json HTTP/1.1] com.endeca.ifcr.xmgr.usersegments.AtgProfileGroupService Unable to open URL connection to malformed URL: java.net.MalformedURLException: Unknown protocol: localhost
Caused by: java.lang.IllegalStateException: Unknown protocol: localhost
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:370)
at java.net.URL.<init>(URL.java:615)
... 84 more

The issue can be reproduced at will with the following steps:
1. Open Experience Manager
2. Open a Content Item with User Segments.
3. Open User Segments.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms