Weird behavior: Throws an error while debugging/Run mode, but doesn't when project is built


hi there,

 

i trying see if on strange situation:

 

i developing desktop application few window components (like music window, rss feeds, photos window, etc). trying have checkbox in "preferences" component disable or enable appropriate window component.

 

when trying test checkbox in application (in either debug mode or 'run' mode) error being thrown not able figure out why error occurs (though know complaining null object reference). when building application "export release build" option , installing application on desktop test same checkbox - works!! not sure why happening. help?

 

can tell me why it's not complaining null object when build project or how overcome problem?

 

this error:

 

typeerror: error #1009: cannot access property or method of null object reference.
at components::componentcontainer/getcomponentdata()[/users/desktop/projects/desktoplauncher /src/mycomponents/componentcontainer.as:48]
at setintervaltimer/ontimer()
at flash.utils::timer/_timerdispatch()
at flash.utils::timer/tick()
thanks in advance.

any idea why happening?



More discussions in Using Flash Builder


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support