Skip to main content
nikos101
Inspiring
Mar 9, 2011 9:26 AM UTC
Answered

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

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 is closed to new replies. Start a new post to keep the conversation going.
mlabriolaCorrect answer
Participating Frequently
Mar 9, 2011 6:09 PM UTC

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

Mike

2 replies

mlabriolaCorrect answer
Participating Frequently
Mar 9, 2011 6:09 PM UTC

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

Mike

Translate
nikos101
nikos101Author
Inspiring
Jul 8, 2011 7:45 AM UTC

thx bro

, you are such a help


Translate