Jordan
Jordan

Reputation: 9901

Getting Exception

I'm getting the following exception when calling 'GetProjectItemSummariesQuery' against my RIA Service. The weird thing is that it only happens once every four or five times I call the function.

System.ServiceModel.DomainServices.Client.DomainOperationException: Load operation failed for query 'GetProjectItemSummaries'. Object reference not set to an instance of an object.
   at System.ServiceModel.DomainServices.Client.OperationBase.Complete(Exception error)
   at System.ServiceModel.DomainServices.Client.LoadOperation.Complete(Exception error)
   at System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult)
   at System.ServiceModel.DomainServices.Client.DomainContext.<>c__DisplayClass1b.<Load>b__17(Object )   

Edits:

I placed a try/catch in both the service that is being called and the calling function. They caught nothing.

Upvotes: 0

Views: 437

Answers (2)

Nikos Tsokos
Nikos Tsokos

Reputation: 3356

A faulty set SortDescriptor or FilterDescriptor could produce the same error

Upvotes: 0

BrandonZeider
BrandonZeider

Reputation: 8152

Configure WCF Tracing and try to catch what's really going on.

Upvotes: 1

Related Questions