Results 1 to 5 of 5

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

  1. #1
    Join Date
    May 2007
    Posts
    2

    Default 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. #2
    Join Date
    May 2007
    Posts
    2

    Default 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.

  3. #3
    Join Date
    Dec 2004
    Location
    Sydney
    Posts
    4,283

    Default

    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.

  4. #4
    Join Date
    Feb 2012
    Posts
    1

    Default

    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?

  5. #5
    Join Date
    Dec 2004
    Location
    Sydney, Australia
    Posts
    3,762

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •