Deserialized sort expression problems

Posts   
 
    
stoneyowl avatar
stoneyowl
User
Posts: 62
Joined: 29-Jan-2004
# Posted on: 17-Aug-2006 22:02:02   

Using V 1.0.2005.1 SQL Server DQE File version is 1.0.20051.60516

I have a class that serializes a SortExpression to disk using (for the moment) the Soap Serializer. Another class retrieves the saves sortexpression and deserializes it, then applies it to a collection .GetMulti() method.

I am getting a consistent 'Null reference" exception deep in the Sql Server DQE assembly. Looking at the retrieved SortExpression object, the only thing that is suspicious is that the 'PersistenceInfo' member is null in the one element in the InnerList.

I am using the code in http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=4056 to serialize the expression, and basicalay the inverse to deserialize.

The pertinent trace output is:

'AARTS2006.exe' (Managed): Loaded 'C:\WINNT\assembly\GAC_MSIL\System.Runtime.Serialization.Formatters.Soap\ 2.0.0.0__b03f5f7f11d50a3a\System.Runtime.Serialization.Formatters.Soap.dll', No symbols loaded. Method Enter: DaoBase.PerformGetMultiAction Method Enter: CreatePagingSelectDQ Method Enter: CreateSelectDQ Method Enter: CreateSelectDQ A first chance exception of type 'System.NullReferenceException' occurred in SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll

Is there something I am missing?

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 18-Aug-2006 16:21:19   

Please refer to the following thread: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=7299