1 Reply Latest reply on May 18, 2007 1:29 PM by jamie_ho

    fill() returning empty ArrayCollection


      I am new to FDS and don't know why the fill() method returns nothing, even though the assembler is returning a list of 3 objects. I know the list is returning nothing because when I display the length of the ArrayConnection, it's 0.

      I turned on debug logs and see the 3 items returned. Do you have any tips on how I can resolve this?

      Is there somewhere in the config where I have to specify that Java class A maps to ActionScript class B? I just deleted my corresponding ActionScript class and still got the same logs. I suspect that FDS does not know how to map the Java class to the ActionScript class so it gives me an empty list and throws away the results. Does that sound right? If there is some kind of automatic mapping, I would have expected to see an error in the logs after I deleted the ActionScript class.


      [Flex] 05/18/2007 12:19:31.443 [DEBUG] [DataService.Transaction] Committed trans
      [Flex] 05/18/2007 12:19:31.443 [DEBUG] [Message.Data.fill] After invoke service:
      reply: Flex Message (flex.data.messages.SequencedMessage)
      sequenceId = 0
      sequenceSize = 3
      (no sequence proxies)
      clientId = null
      correlationId = null
      destination = company
      messageId = 7A2A0D8F-C32B-80BC-D593-4551B71320F1
      timestamp = 1179515971443
      timeToLive = 0
      body =
      Company(companyId=100, name=null, address=null, state=null, zip=null indus
      Company(companyId=101, name=null, address=null, state=null, zip=null indus
      Company(companyId=102, name=null, address=null, state=null, zip=null indus