It was a working FDS project and had only one messageBroker Servlet
configured. I just applied 
1. SDK HotFix-2 and HotFix-3
2. Copied over following from within flex.war
   a. /WEB-INF/flex/jars
   b. /WEB-INF/lib/
   c. /WEB-INF/flex/libs

to their corresponding folders in the existing project. Is there
anything I am missing.


-Shailesh

--- In [email protected], "Jeff Vroom" <[EMAIL PROTECTED]> wrote:
>
> Do you perhaps have more than one MessageBrokerServlet configured in the
> same web application?   The hibernate assembler is trying to do:
> 
>  
> 
>         dataDestination =
> DataDestination.getDataDestination(destinationId);
> 
>  
> 
> which is using the default MessageBroker.getMessageBroker() method to
> try and look up the destination for this data type.  For some reason, it
> is probably finding the wrong MessageBroker.  The hibernate assembler
> probably should be getting the message broker id of the message broker
> that initializes it and use that to look up the destination. 
> 
>  
> 
> Jeff
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Shailesh Mangal
> Sent: Wednesday, September 26, 2007 1:03 PM
> To: [email protected]
> Subject: [flexcoders] NPE after upgrading to LCDS
> 
>  
> 
> I just upgraded to LCDS and Hotfix-3 and start getting following
> exception
> 
> exception: java.lang.NullPointerException
> at
> flex.data.assemblers.HibernateAssembler.start(HibernateAssembler.java:17
> 0)
> at
> flex.data.adapters.JavaAdapter.getAssemblerObject(JavaAdapter.java:1334)
> at flex.data.adapters.JavaAdapter.invoke(JavaAdapter.java:491)
> at
> flex.messaging.services.MessageService.serviceMessage(MessageService.jav
> a:252)
> at
> flex.messaging.services.MessageService.serviceMessage(MessageService.jav
> a:200)
> at flex.data.DataService.serviceMessage(DataService.java:525)
> at
> flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:11
> 65)
> at
> flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoin
> t.java:757)
> at
> flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(Abstrac
> tRTMPServer.java:888)
> at
> flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTMPCo
> nnection.java:424)
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
> .runTask(ThreadPoolExecutor.java:665)
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
> .run(ThreadPoolExecutor.java:690)
> at java.lang.Thread.run(Thread.java:613)
> 
> Rollback seems to be the only option at this point.
>


Reply via email to