Results 1 to 6 of 6

Thread: SCRIPT5007: Unable to get value of the property 'id': object is null or undefined

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Location
    Korea
    Posts
    8
    Answers
    1
    Vote Rating
    0
      0  

    Default Answered: SCRIPT5007: Unable to get value of the property 'id': object is null or undefined

    ext-all-debug.js line 40456 char 17

    createAccessor: (function() {
    var re = /[\[\.]/;


    return function(expr) {
    if (Ext.isEmpty(expr)) {
    return Ext.emptyFn;
    }
    if (Ext.isFunction(expr)) {
    return expr;
    }
    if (this.useSimpleAccessors !== true) {
    var i = String(expr).search(re);
    if (i >= 0) {
    return Ext.functionFactory('obj', 'return obj' + (i > 0 ? '.' : '') + expr);
    }
    }
    return function(obj) {
    --> return obj[expr];
    };
    };
    }()),

    SCRIPT5007: Unable to get value of the property 'id': object is null or undefined error

    Why this happens is that





  2. What is called in your code that triggers this error?

    This basically means that you are trying to access a undefined object in your code.

    Scott.

  3. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716
    Vote Rating
    504
      0  

    Default

    What is called in your code that triggers this error?

    This basically means that you are trying to access a undefined object in your code.

    Scott.

  4. #3
    Sencha User
    Join Date
    Feb 2009
    Posts
    7
    Vote Rating
    1
      0  

    Default

    Hi,

    I Have the same error.

    It happen on IE8 (no tested on other IE, but probably IE6 and 7), but not on firefox/chrome.

    I have reproduce this issue when a have a very basic memory store in a combobox :

    PHP Code:
    storeExt.create('Ext.data.Store',{
            
    fields: ['value''label'],
            
    data : [
                          {
    "value":1"label":"data1"},
                          {
    "value":2"label":"data2"},
                          {
    "value":3"label":"data3"},
                      ] 
    Yeah ... notice the last comma.....

    Remove it, and it rocks

    I hope you'r in this case...

    Goodbye

  5. #4
    Sencha User
    Join Date
    Jul 2012
    Location
    Hyderbad
    Posts
    42
    Vote Rating
    -1
      0  

    Default

    Thanks for this great thing, as i wasted two hours to resolve this error in IE8 & 7,finally i got here.


    Thanks
    Manoj Parida

  6. #5
    Sencha User
    Join Date
    Sep 2013
    Posts
    3
    Vote Rating
    0
      0  

    Default @Manoj Parida Thanks

    It worked !!!

    Thanks a ton Man . . !!

    Regards,

    Anurag Mittal

  7. #6
    Sencha User
    Join Date
    Jul 2012
    Location
    Hyderbad
    Posts
    42
    Vote Rating
    -1
      0  

    Default

    Cheers!!!

Posting Permissions

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