3 Replies Latest reply on Nov 24, 2009 6:09 PM by learningflex

    Error while refreshing data onto datagrids

    learningflex Level 1

      Hi,

       

      I am using BlazeDS for database communications. Database cleans all tables and repopulates the tables in 15 min intervals at x.0, x.15, x.30, x.45 etc. BlazeDS adapter checks to see if new data is available every 1 min and if new data is available the data is refreshed on the screen. I get the following error. Can someone help me with the reason of this error. My main mxml file is called Default.mxml

       

       

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

       

      at HitDataItem/get flagSource()

       

      at Default/createItem()

       

      at Default/updateGraphics()

       

      at Default/messageHandler()

       

      at Default/__consumer_message()

       

      at flash.events::EventDispatcher/dispatchEventFunction()

       

      at flash.events::EventDispatcher/dispatchEvent()

       

      at mx.messaging::AbstractConsumer/http://www.adobe.com/2006/flex/mx/internal::messageHandler()

       

      at mx.messaging::ConsumerMessageDispatcher/messageHandler()

       

      at flash.events::EventDispatcher/dispatchEventFunction()

       

      at flash.events::EventDispatcher/dispatchEvent()

       

      at mx.messaging::ChannelSet/messageHandler()

       

      at flash.events::EventDispatcher/dispatchEventFunction()

       

      at flash.events::EventDispatcher/dispatchEvent()

       

      at mx.messaging.channels::StreamingConnectionHandler/streamProgressHandler()