IBM Support

Cognos Analytics theme is not uploading and throwing GLS-JSN-0001 Error parsing JSON string from spec.json

Troubleshooting


Problem

In Cognos Analytics (CA 11.1.x), when uploading the theme. It loads for long time and upload task does not finish. The upload error needs to be hidden or cancelled. 

Symptom

In cognosserver.log, the error is seen:

GLS-JSN-0001 Error parsing JSON string from spec.json
com.ibm.ba.glass.exception.JSONFormatException: GLS-JSN-0001 Error parsing JSON string from spec.json.
    at com.ibm.ba.glass.loader.FSBaseLoader.validate(FSBaseLoader.java:206) ~[ba_glass_server_core-11.1.5-19111111.jar:11.1.5-19111111]
    at com.ibm.ba.glass.loader.FSBaseLoader.getSpecFromZip(FSBaseLoader.java:157) ~[ba_glass_server_core-11.1.5-19111111.jar:11.1.5-19111111]
    at com.ibm.ba.glass.loader.FSThemeLoader.getRawSpec(FSThemeLoader.java:192) ~[ba_glass_server_core-11.1.5-19111111.jar:11.1.5-19111111]
........
.......
    at java.lang.Thread.run(Thread.java:812) [?:2.9 (04-17-2019)]
Caused by: com.ibm.ba.glass.validation.JsonSchemaValidationException: fatal: err.common.pattern.noMatch
    level: "fatal"
    schema: {"loadingURI":"#","pointer":"/properties/name"}
    instance: {"pointer":"/name"}
    domain: "validation"
    keyword: "pattern"
    regex: "[a-zA-Z0-9\\p{L}_ ]+$"
    string: "IBM-Light"

Document Location

Worldwide


[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m500000008dDpAAI","label":"x REASSIGNMENT Administration and Configuration-\u003ECustomization"}],"ARM Case Number":"TS003560070","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions","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"}}]

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 the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. 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

More support for:
IBM Cognos Analytics

Component:
x REASSIGNMENT Administration and Configuration->Customization

Software version:
All Versions

Operating system(s):
Windows

Document number:
6173613

Modified date:
06 May 2025

UID

ibm16173613