Quantcast
Channel: Adobe Community : Unanswered Discussions - AIR Development
Viewing all articles
Browse latest Browse all 2010

Error #1009: Cannot access a property or method of a null object reference

$
0
0

I've had this error plenty of times, but for the life of me I can't figure out this one. I have a very long Air file. I have a function that keeps giving me this 1009 error. Well sort of. I call other functions within this one that give me the problem. Lets say I have function1, and within it I have calls to function 2 and function 3 and function 4. I'll first comment everything out and function 1 doesn't return the 1009 error. Then I'll uncomment function 2, but then I get the 1009 error from function 2. So then I comment out function 2 out and uncomment function 3. Then the 1009 error goes to function 3. Same thing with function 4. Clearly I'm missing something because the code works in another shorter file that I used for testing. Does anyone have any idea why the 1009 error would propagate from one function to another?


Viewing all articles
Browse latest Browse all 2010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>