That is very strange.  Can you reproduce that with the server debug
logging enabled on the server for the "Message.*" and "Endpoint.*"
patterns enabled (in WEB-INF/flex/services-config.xml, set level="Debug"
and make sure those patterns are in the tags below).  

 

Unfortunately the error does not include the message which is causing
the error.  It should be either a "batched" or "transacted" type of
message.  The "body" of those types of messages is supposed to be an
array of DataMessages but somehow we are getting an untyped "ASObject"
in there. 

 

Jeff

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Csiki
Sent: Friday, November 09, 2007 10:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Unhandled failure on the server (LC Data Services)

 

Got this error when the DataService updates a collection with LCDS. Any
ideas? I'm using LCDS 2.5.1 and FlexBuilder 2.0.1 with hotfix 2 Thanks.

  errorReply: Flex Message (flex.messaging.messages.ErrorMessage) 
    clientId = 11D8F786-5719-0DA9-EF74-78B603160B85
    correlationId = 1AF666B8-F92C-FC3D-8117-25A0268AF09C
    destination = repositoryObjectAssembler
    messageId = 11DC0268-DF1C-5543-9C64-76A36441D3C5
    timestamp = 1194632161359
    timeToLive = 0
    body = null
    code =  Server.Processing
    message =  There was an unhandled failure on the server.
flex.messaging.io.amf.ASObject
    details =  null
    rootCause =  null
    body =  null
    extendedData =  null
  stackTrace for: java.lang.ClassCastException:
flex.messaging.io.amf.ASObject
    flex!
.data.DataService.serviceTransactedMessage(DataService.java:744)
    flex.data.DataService.serviceMessage(DataService.java:429)
 
flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:11
65)
 
flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoin
t.java:757)
 
flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(Abstrac
tRTMPServer.java:888)
 
flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTMPCo
nnection.java:424)
 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.runTask(ThreadPoolExecutor.java:665)
    edu.emory.mathcs.backport.java.util.concurrent.Thr!
eadPoolExecutor$Worker.run(ThreadPoolExecutor.j! ava:690)
    java.lang.Thread.run(Unknown Source)

 

Reply via email to