Product: TIBCO Spotfire®
Error "Read callback 'GetHtml' failed" upon opening analysis in TIBCO Spotfire Web Player
When opening certain analysis files with TextArea visualizations in the TIBCO Spotfire Web Player, the below error may be seen:
Spotfire.Dxp.Web.Resources.App_Data.Scripts.WebView.js:41 Read callback 'GetHtml' failed
Type: TypeError
Message: Cannot read property 'replace' of undefined
Stacktrace: TypeError: Cannot read property 'replace' of undefined
at y (https://<spotfire-server>/spotfire/wp/render/d7-j-Mht9a_NlkYQKF/Spotfire.Dxp.Web.Resources.App_Data.Scripts.WebView.js:22:1503)
at Function.css (https://<spotfire-server>/spotfire/wp/render/d7-j-Mht9a_NlkYQKF/Spotfire.Dxp.Web.Resources.App_Data.Scripts.WebView.js:22:59822)
at i.fn.init.<anonymous> (https://<spotfire-server>/spotfire/wp/render/d7-j-Mht9a_NlkYQKF/Spotfire.Dxp.Web.Resources.App_Data.Scripts.WebView.js:22:61253)
at p (https://<spotfire-server>/spotfire/wp/render/d7-j-Mht9a_NlkYQKF/Spotfire.Dxp.Web.Resources.App_Data.Scripts.WebView.js:22:43749)
at i.fn.init.css (https://<spotfire-server>/spotfire/wp/render/d7-j-
...
These errors may be seen if there are any Filters, Property Controls or Dynamic items in the TextArea visualization but have been commented out. For example when you right click on a text area and choose "Edit HTML" you will see below commented out HTML:
<!--<SpotfireControl id="83a089880cda49478e5ebd0d111d81fd" />-->Though these controls in the TextArea visualization are commented, Spotfire still tries to render these controls but fails as the respective DOM elements are not present and thus causing the error.
To resolve the issue, remove the commented out controls from the TextArea visualization and save the analysis file or upgrade to Spotfire versions 10.4 and higher.
Comments
0 comments
Article is closed for comments.