Hi,

I have a test project (for DO 4.4) derived from the WcfSample. Download here: WCF-Test.zip

When running the client I get a NullRef-Exception in WcfSample.ConsoleService.OrderingService.GetThings() (in OrderingService.cs).

It can be solved either by changing InheritanceSchema of WcfSample.Model.ThingDetail (in Model.cs) from ClassTable to ConcreteTable or by commenting out the class-definitions of ThingDetailA and ThingDetailB (in Model.cs) (which aren't used in any way, btw.). Which leads me to believe that either I'm doing something horribly wrong or there's a bug in DO somewhere.

Best Regards, Sebastian

(BTW: my posting in another thread was by accident and I deleted it)

asked Dec 21 '10 at 02:50

Sebastian%20Hauer's gravatar image

Sebastian Hauer
87113

edited Jan 04 '11 at 16:02

Sergey's gravatar image

Sergey
123339


One Answer:

Hello Sebastian,

Thanks for the test project, we will check this shortly.

answered Dec 21 '10 at 02:56

Dmitri%20Maximov's gravatar image

Dmitri Maximov
22111211

UPDATE:

I've investigated the issue and discovered that you are using Prefetch API. In DataObjects.Net 4.4 Beta 1 it does not function properly.

Beta 2 will contain the updated and fixed version of Prefetch API.

(Dec 21 '10 at 07:17) Dmitri Maximov Dmitri%20Maximov's gravatar image

Thanks, Dmitri. Do you have an ETA on Beta 2?

(Dec 21 '10 at 07:37) Sebastian Hauer Sebastian%20Hauer's gravatar image

I suppose, it will be the beginning of the next week.

(Dec 21 '10 at 08:10) Dmitri Maximov Dmitri%20Maximov's gravatar image

Sorry, my prognosis was wrong, Beta 2 is still in work.

(Jan 14 '11 at 07:23) Dmitri Maximov Dmitri%20Maximov's gravatar image

DataObjects.Net 4.3.7 & 4.4 beta 2 is released

(Jan 29 '11 at 04:24) Dmitri Maximov Dmitri%20Maximov's gravatar image
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA