New Posts New Posts RSS Feed: IdeaBlade.EntityModel.EntityServerException
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

IdeaBlade.EntityModel.EntityServerException

 Post Reply Post Reply
Author
Deceased View Drop Down
Newbie
Newbie
Avatar

Joined: 17-Aug-2011
Location: South Africa
Posts: 6
Post Options Post Options   Quote Deceased Quote  Post ReplyReply Direct Link To This Post Topic: IdeaBlade.EntityModel.EntityServerException
    Posted: 04-Oct-2011 at 3:21am
Exception message: Destination array is not long enough to copy all the items in the collection. Check array index and length.


Stack:
   at IdeaBlade.EntityModel.RemoteEntityServerProxyBase.CheckConnection(Exception pException)
   at IdeaBlade.EntityModel.EntityServerProxy.ExecFunc[T](Func`1 func, Boolean funcWillHandleException)
   at IdeaBlade.EntityModel.EntityServerProxy.ExecuteOnServer[T](Func`1 func, Boolean funcWillHandleException)
   at IdeaBlade.EntityModel.EntityServerProxy.Fetch(SessionBundle bundle, IEntityQuerySurrogate query)
   at IdeaBlade.EntityModel.EntityManager.AsyncFetchWorker(AsyncEventArgs asyncArgs)

Hi

I get the above mentioned exception when trying to grab roundabout 50 000 records from the database...

Can anybody please give a reason as to why this is being thrown (Except of course the obvious that the destination array is not long enough), and how I can fix this.

Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 04-Oct-2011 at 8:58am
The stack trace here is the standard one for a fetch -- can you drill into either the inner exceptions (if available) or the RemoteStackTrace and post what you find? Here's more information on how to get information from this exception - http://drc.ideablade.com/xwiki/bin/view/Documentation/understand-entityserverexception.
 
We have fixed a bug in current bits (for the 6.1.3 release) where a similar message was raised by our GZip compression/decompression logic in some situations. The additional exception detail should tell us if that's the problem you're seeing.
Back to Top
Deceased View Drop Down
Newbie
Newbie
Avatar

Joined: 17-Aug-2011
Location: South Africa
Posts: 6
Post Options Post Options   Quote Deceased Quote  Post ReplyReply Direct Link To This Post Posted: 04-Oct-2011 at 10:54am
Hi Kimj

I'm not able to reproduce the error, and am not sure how I fixed it O.O

But the problem is resolved, thank you for your response though....
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down