Alpha Video Training
Results 1 to 4 of 4

Thread: error - "a5.js" and "'this._keys.length' is null or not an object"

  1. #1
    Member
    Real Name
    Edvins
    Join Date
    May 2010
    Location
    London
    Posts
    66

    Default error - "a5.js" and "'this._keys.length' is null or not an object"

    How to deal with A5 error - "'this._keys.length' is null or not an object" and "a5.js"?

    I have in all grids with checkbox selecting column cases (single & multiple pages) this error. Error appears in previously created or newly created grids with checkbox selecting column. All error cases give message 'this._keys.length' is null or not an object and points to the a5.js file.

    Webpage error details:
    Message: 'this._keys.length' is null or not an object
    Line: 4925
    Char: 19
    Code: 0
    URI: http://localhost/LivePreview/javascript/a5.js
    The Bulk operation - update compiled files for AJAX grids do not help, still have error.
    I reinstalled my Alpha five and updated last updates and still have this error on the grids with checkbox column.

    The Application server and the A5 have the equal updates. Previously published project pages with checkbox selecting column grids on application server are working good, but newly created comes with error. I searched and do not find the a5.js on my development machine and in published files on the A5 app server either.
    I do not know what to do...

    Thanks for help,
    EDViNs

  2. #2
    "Certified" Alphaholic kingcarol's Avatar
    Real Name
    Carol King
    Join Date
    Jun 2010
    Posts
    1,524

    Default Re: error - "a5.js" and "'this._keys.length' is null or not an object"

    I'm getting the same error, after selecting a different query (with same fields) on a grid that's been working fine for weeks. It has the checkbox column property turned on. When I turn it off (thanks to your thread here), the script error goes away. I've sent a bug report, but did you get this problem resolved? (I'm using V11 beta)
    Carol King
    Developer of Custom Homebuilders' Solutions (CHS)
    http://www.CHSBuilderSoftware.com

  3. #3
    "Certified" Alphaholic
    Real Name
    Frank Bicknell
    Join Date
    Feb 2010
    Location
    39.1915° N, 84.4348° W
    Posts
    2,467

    Default Re: error - "a5.js" and "'this._keys.length' is null or not an object"

    It has been a while but I think I remember that I was getting an error similar to that when I was using a view as a datasource in a grids query and did not manually set a primary key.
    Win 10 64 Development, Win 7 64 WAS 11-1, 2, Win 10 64 AA-1,2, MySql, dbForge Studio The Best MySQL GUI Tool IMHO. http://www.devart.com/dbforge/mysql/studio/

  4. #4
    "Certified" Alphaholic kingcarol's Avatar
    Real Name
    Carol King
    Join Date
    Jun 2010
    Posts
    1,524

    Default Re: error - "a5.js" and "'this._keys.length' is null or not an object"

    THANK YOU! That was the problem. After selecting a different query for the grid, the primary key was lost even though the fields were the same. Hopefully this will now help someone else that is getting the same error.
    Carol King
    Developer of Custom Homebuilders' Solutions (CHS)
    http://www.CHSBuilderSoftware.com

Similar Threads

  1. "Field Display Formatting" is Lost when "Pre-fetch data for Detailed View = Active"
    By PhillipS in forum Application Server Version 9 - Web/Browser Applications
    Replies: 0
    Last Post: 07-23-2009, 11:02 PM
  2. form.view("fName","","","center","center")
    By reynolditpi in forum Alpha Five Version 9 - Desktop Applications
    Replies: 5
    Last Post: 07-15-2008, 12:37 AM
  3. To "zoom to record" or to "open form" using action scripting, that is the question.
    By georgefurnel in forum Alpha Five Version 9 - Desktop Applications
    Replies: 4
    Last Post: 06-18-2008, 07:32 PM
  4. "Add" and "Save" buttons don't stay on "Self" page
    By Scholin in forum Application Server Version 8
    Replies: 2
    Last Post: 02-05-2008, 08:50 AM
  5. error message"invalid key length"
    By aaron nash in forum Alpha Five Version 5
    Replies: 2
    Last Post: 05-31-2003, 04:32 PM

Bookmarks

Posting Permissions

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