Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

indextree.js script error

New Here ,
Jul 29, 2013 Jul 29, 2013

At times we get the following error when trying to access Multiscreen HTML topics. Does anyone know how to get rid of this error?

RoboHelpScriptError.jpg

543
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 30, 2013 Jul 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 05, 2013 Aug 05, 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);

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 06, 2013 Aug 06, 2013
LATEST

Thank you for posting this solution!

Greet,

Willam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp