IBM Support

Cognos Portlet gives "illegal character ((CTRL- CHAR, code 17))" error

Troubleshooting


Problem

When viewing a report in a Cognos Viewer Portlet, an error message is displayed. The report runs without issues when ran outside of the Portlet.

Symptom

The following error is produced:

"Illegal character ((CTRL-CHAR, code 17)) at [row,col {unknown-


source}]: [147,37494]

com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-
CHAR, code 17)) at [row,col {unknown-source}]: [147,37494] at com.ctc.wstx.sr.StreamScanner.throwInvalidSpace(StreamScanner.java:
650) at com.ctc.wstx.sr.StreamScanner.throwInvalidSpace(StreamScanner.java:
635) at com.ctc.wstx.sr.BasicStreamReader.readCDataPrimary
(BasicStreamReader.java:4238) at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.
java:2682) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019) at com.ctc.wstx.sr.BasicStreamReader.getElementText(BasicStreamReader.
java:669) at com.cognos.portal.fragment.server.document.FragmentDocument.
writeFragment(FragmentDocument.java:432)"

The complete error message can be found in the 'Error Message.txt' file attached to this document.
Error Message.txtError Message.txt

Note: The value found in '((CTRL-CHAR, code 17))' varies depending on the character.

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Cognos Viewer","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"10.2.2;10.2.1;10.2;10.1.1;10.1","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
13 January 2026

UID

swg21695212