Loading ...
Sorry, an error occurred while loading the content.
 

Re: [ydn-javascript] getting an error -- Line 0: 'null' is null not or an object

Expand Messages
  • Adam Moore
    ... This means you are trying to operate on an object, but you are passing in a null reference. Make sure you are passing a legit object to this function.
    Message 1 of 2 , Feb 4, 2009
      On Wed, Feb 04, 2009 at 05:34:51PM -0000, mrokner wrote:
      > This is my first time posting a message; so, I hope this is the right
      > area for this question. Let me say I'm using IE 8 beta (running the
      > code in IE7 compatibility mode!) and I'm using the IDE of CodeCharge,
      > which has the yahoo UI included.
      >
      > I got an error that reads:
      >
      > Line 0:
      > 'null' is null or not an object

      This means you are trying to operate on an object, but you are passing
      in a null reference. Make sure you are passing a legit object to
      this function.

      -Adam

      >
      > This is the snippet of code where the error is generated:
      >
      > ----------------------------------------------------------------------
      >
      > $._39=function(_1U,_1O)
      > {
      >
      > if(this._.bw._R&&!this._30)
      > this._30=true;
      >
      > else
      > {
      > with(this._f())
      > if(this._.bw.ns4)
      > resizeTo(_1U,_1O);
      > else
      > {
      > style.width=_1U+this._._P;
      > style.height=_1O+this._._P
      > }
      > }
      > }
      >
      > ----------------------------------------------------------------------
      >
      > I believe the error here is not related to anything in my code but to
      > the yahoo UI. Hence, this post. I think it has to do with the
      > TabbedTab or TabbedView module but I'm not sure.
      >
      > Anyway, when the error gets generated, I open up the developer toolbar
      > and it stops at the "style.width=_1U+this._._P" line. I noticed that
      > _1U and _1O are both undefined and this._f() is also undefined. My
      > question is I have no idea how to fix this or why it's even happening.
      > I'd appreciate any help or guidance with this issue.
      >
      > Thank you.
      >
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >

      --
    Your message has been successfully submitted and would be delivered to recipients shortly.