• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

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

Enthusiast ,
Mar 09, 2011 Mar 09, 2011

Copy link to clipboard

Copied

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?

TOPICS
FlexUnit

Views

2.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Mar 09, 2011 Mar 09, 2011

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

Mike

Votes

Translate

Translate
Advocate ,
Mar 09, 2011 Mar 09, 2011

Copy link to clipboard

Copied

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

Mike

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jul 08, 2011 Jul 08, 2011

Copy link to clipboard

Copied

LATEST

thx bro

, you are such a help


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines