0 Replies Latest reply on May 31, 2007 9:00 AM by gumnam

    Validator has a bug in validateAll method

      We need to pass an array of validators to validator.validateAll method . But if you pass it an array which contains a disabled validator(ie. v.enabed =false), then this method throws runtime error

      " #1009: Cannot access a property or method of a null object reference.
      at mx.validators::Validator$/validateAll()[C:\dev\flex_201_gmc\sdk\frameworks\mx\validators\ Validator.as:172]"

      Seems like, Flex should internally only check for the following code if the resultEvent is not null.

      if (resultEvent.type != ValidationResultEvent.VALID)