The problem relates to the class samples.MyTreeItemRenderer.as. If I remove the reference to this class the flex app deploys correctly to the web server. Should I be compiling the app with a particular option so that the .as class gets included?
--- In flexcoders@yahoogroups.com, "arieljake" <[EMAIL PROTECTED]> wrote: > > I think this is happening because you are trying to access a property > or method of a null object reference. > > :) I couldn't help myself. > > But really, if this is happening after a deploy, maybe one of your web > service calls or server data calls are failing and in your code you are > not checking for valid data before operating on it. Make sure the paths > you are using work on the server too, and if your data calls are to web > pages that can be viewed in a browser directly, use a browser to view > them to make sure there are no errors preventing valid data from being > returned in the production environment. > > --- In flexcoders@yahoogroups.com, "sarah_e_boys" <sarah_e_boys@> > wrote: > > > > I get the following error when I deploy and access my Flex app on a > web > > server. Can anyone help? > > > > TypeError: Error #1009: Cannot access a property or method of a null > > object reference. > > at samples::MyTreeItemRenderer/set data() > > >