Skip to main content
This topic has been closed for replies.

1 reply

Willam van Weelden
Inspiring
July 30, 2013

When does this happen? At random? On specific topics? Only after specific generation runs?

This error suggests that there is a JavaScript error in one of the files that blocks the loading of all required files, thus resulting in this error because the resource holding the required function is not loaded.

Do any of your topics contain custom scripting?

Greet,

Willam

jw1726354Author
Participating Frequently
August 5, 2013

Hi William,

Thank you for your response.

The error seemed to occur immediately after clearing the cache and only when we clicked on an item in our table of contents. It seems to have happened fairly randomly although we can seem to reproduce it consistently on topics that contain a lot of content. I do not believe that we have any custom scripting in any of our topics.

After our developer took a look at this, they made a fix to one of the robohelp files that seems to have resolved the issue. I am posting it here to help others that encounter this error and also hopefully someone at RoboHelp sees this and takes a look at the issue.

File: C:\Program Files (x86)\Adobe\Adobe RoboHelp 10\RoboHTML\MultiscreenExt\widgets\common\scripts\XmlJsReader.js

The onScriptLoaded callback method is called even in case of error (see method loadScript).

We added “&& xmlDoc” so the xmlInfo callback is not called when the xmlDoc object is null.

this.onScriptLoaded = function () {

        if (xmlInfo.callback && xmlDoc)

           xmlInfo.callback(xmlDoc, xmlInfo.cbargs);

Willam van Weelden
Inspiring
August 6, 2013

Thank you for posting this solution!

Greet,

Willam