Skip navigation
Currently Being Moderated

lcds 3.1 hibernateannotations problem

Nov 30, 2011 6:46 AM

I'm trying to use hibernateannotations with lcds 3.1 and flexbuilder 4.5.1 and I'm having problem getting the fill operation to work, I'm not sure what I'm doing wrong

I'm getting this error back from lcds:

[LCDS]Exception executing assembler operation.  incomingMessage: Flex Message (

    operation = fill

    id = null

    clientId = C1DFF41D-2A96-1A63-E293-F4CB0FEEE405

    correlationId =

    destination = WrUesdDataManagerService

    messageId = 9861843C-94CA-9656-D044-F4CB1029A6AC

    timestamp = 1322661908887

    timeToLive = 0

    body =


      [[], getAllSorted, [Ljava.lang.Object;@7d6b4be5]


    hdr(DSId) = D8A3C599-C32F-EA78-D64B-978BE213BFC3

    hdr(DSEndpoint) = my-rtmp

    exception: java.lang.ClassCastException: cannot be cast to java.lang.String

    at 1034)

    at 957)

    at 96)




my actionscript looks like this:

var param:ArrayCollection = new ArrayCollection();




                getAllResult.token = WrUesdDataService.fill(param);

and I've went through commenting out the various params like jobs and [] but I still get the same error

the using lcds 3.1 doc says fills should like this

myService.fill(myCollection, "flex:hql", "from Person p where p.firstName = ? ", ["Paul"]);

but the compiler doesn't that syntax.


I created the service by importing it into the data model and generating the code.

here is my data-managementconfig.xml

<?xml version="1.0" encoding="UTF-8"?>

<service id="data-service"




        <adapter-definition id="actionscript" class="" default="true"/>

        <adapter-definition id="java-dao" class=""/>




        <channel ref="my-rtmp"/>


<destination id="WrUesdDataManagerService">

       <adapter ref="java-dao" />






      <identity property="uesdId"/>













any suggestions?


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points