Skip to main content
nikos101
Inspiring
March 9, 2011
Answered

Unit tests Cannot access a property or method of a null object reference. at mx.validators

  • March 9, 2011
  • 1 reply
  • 2987 views

When running my unit tests i'm getting this error:

Cannot access a property or method of a null object reference.
    at mx.validators::Validator$/validateAll()

any ideas friends?

This topic has been closed for replies.
Correct answer mlabriola

Yeh, somewhere in your code you called validate.validateAll( someArg ) and whatever you passed as someArg is null.

Mike

1 reply

mlabriolaCorrect answer
Participating Frequently
March 9, 2011

Yeh, somewhere in your code you called validate.validateAll( someArg ) and whatever you passed as someArg is null.

Mike

nikos101
nikos101Author
Inspiring
July 8, 2011

thx bro

, you are such a help