I solved the problem by checking for nulls in the extended treeitemrenderer class. I am confused why the check for nulls wasn't needed in Flex builder but was necessary when the code was compiled and moved to the server.
--- In [email protected], "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 [email protected], "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() > > >

