# Can somone help me debug a -1009 error please

**URL:** <https://forum.kirupa.com/t/can-somone-help-me-debug-a-1009-error-please/286447>\
**Category:** Uncategorized\
**Created:** [April 15, 2009, 3:40pm UTC](https://forum.kirupa.com/t/can-somone-help-me-debug-a-1009-error-please/286447 "2009-04-15T15:40:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoreyC](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@CoreyC](https://forum.kirupa.com/u/CoreyC)\
**Post date:** [April 15, 2009, 3:40pm UTC](https://forum.kirupa.com/t/can-somone-help-me-debug-a-1009-error-please/286447/1 "2009-04-15T15:40:02Z")

</div>

My error looks like this :

TypeError: Error #1009: Cannot access a property or method of a null object reference.  
at QuizApp/createButtons()  
at QuizApp()

My QuizApp is an Actionscript file that runs with another for my quiz.  
The createButtons() is accessed like this:

package{  
public class QuizApp extends Sprite {  
public function QuizApp() {  
createQuestions();

It runs by itself fine but when i attatch it to play off a button i get this error, i would really appreciate some advice on how to go about figuring this out.  
Thanks
