The error "Invalid byte 1 of 1-byte UTF-8 sequence." in Admin UI while viewing Directory Mapping list.
search cancel

The error "Invalid byte 1 of 1-byte UTF-8 sequence." in Admin UI while viewing Directory Mapping list.

book

Article ID: 51202

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction

Description:

I am running Admin UI and when I try to get the Directory Mapping list, I get that error in the browser:

Cross Check: Same Directory Mapping is editable/viewable with FSSGUI and with the SiteMinder 6 GUI;

and if I look at the logs, I can see this:

2010-05-20 12:52:38,102 ERROR [ims.llsdk6.BaseRelationship]com.netegrity.llsdk6.imsapi.exception.SmApiWrappedExceptioncom.ca.siteminder.xps.XPSException: Error parsing fileCaused by: org.xml.sax.SAXParseException: Invalid byte 1 of1-byte UTF-8 sequence.

The result is that I cannot see any Directory Mapping. But all other functionalities of the Admin UI are still working fine.

How can I access my Directory Mapping list and how can I avoid those errors?

Solution:

This error:

Invalid byte 1 of 1-byte UTF-8 sequence

come from the fact that by reading objects, the Admin UI found a un-readable or malformed character, and then cannot process it.

In fact, the Admin UI reads all User Store descriptions and related values from a stream and then decodes them to get values. If an unreadable or malformed character is set in the password field for User Store connection for example, you will get these error messages.

You can troubleshoot and correct the malformed character by exporting your Policy Store in clear text, and open it in a text editor.

Localize the configuration and the object where the malformed character appears, and bring correction. That will solve the problem.

Environment

Release:
Component: SMPLC