PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Script Error: 'null' is null or not an object

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Script Error: 'null' is null or not an object

    My environment:
    Help&Manual4 using Zoom Search Engine 4.3
    (I'm also seeking help on H&M forum... no response, yet.)

    When using the index or links on a Browser, based Help system, I get this script error:

    ---------------------------------------------------------------------------
    An error has occurred in the script on this page.

    Line: 119
    Char: 5
    Error: 'null' is null or not an object
    Code: 0
    URL: file:\\c:\Client\help\index.html

    Do you want to continue running scripts on this page?
    Yes No
    ---------------------------------------------------------------------------------

    If you click "Yes" it continues normally.

    Additional information:

    From highlight.js:

    114function SearchHiLite(text)
    115{
    116 var SearchAsSubstring = 0;
    117 var hl;
    118
    119 hl = QueryString("zoom_highlight");
    120 if (hl == "" || hl == null)
    121 {
    122 hl = QueryString("zoom_highlightsub");
    123 if (hl == "" || hl == null)
    124 return false;
    125 else
    126 SearchAsSubstring = 1;
    127 }



    This error pops up on Internet Explorer 6 & 7.

    The error does not occur on Firefox.

    Can someone suggest a fix?

    Thanks

  • #2
    Script Error: 'null' is null or not an object (Never mind...)

    Never mind...

    The problem seems associated with a Help&Manual option to automatically collapse table of contents topics.

    Comment


    • #3
      Glad you sorted it out.

      For others that come across this page.

      This badly worded error message, "'null' is null or not an object error" comes from the browser when trying to run Javascript. The message would normally mean that there is a coding bug in the Javascript code or the script was not used correctly. An object in the code which should be initialized at this point hasn't been.

      I suspect the line 119 that you posted is not where the real error was. Javascript errors often have wrong line numbers as well as being close to incomprehensible.

      Comment


      • #4
        Hello.
        I am not an expert on computers, but I just hastily trained. I have a problem with similar error. In fact, I recently installed the Cyber Power UPS and everything was fine. After a few hours on computer, I wanted to check the condition of the UPS and suddenly there appeared the following message (in the Internet Explorer Window):
        >>An error has occurred in the script on this page.
        Line: 8
        Char: 1
        Error: 'parent.face.location' is null or not an object
        Code: 0
        URL: res//C:\Program%20Files\CyberPower%20PowerPanel%20Perso nal%20Edition\pppe.exe/data_pool.html

        Do You want to continue running script on this page?
        Yes No<<

        Whether I click "Yes", or "No", sometimes a window opens normally and enter the program of the UPS, and sometimes nothing happens.
        What, or where is the problem? How to fix it?
        I need some help, please?

        Comment


        • #5
          That error has nothing to do with our software (Zoom Search Engine). This forum is dedicated to support for our software, and not other company's products.

          You are seeing a generic JavaScript error message indicating something is wrong with the script that is used as part of the Cyber Power UPS product. The error is not related to us in any way.

          We do not provide support for Cyber Power UPS. You should contact the manufacturer of that product for help.
          --Ray
          Wrensoft Web Software
          Sydney, Australia
          Zoom Search Engine

          Comment

          Working...
          X