Hello!

Maybe you are doing something wrong which only becomes apparent in the
persistent setup.

Can you share a runnable reproducer project which exhibits the behavior?

Regards,
-- 
Ilya Kasnacheev


пт, 21 мая 2021 г. в 20:20, Josh Katz <josh.katz.contrac...@dodgeandcox.com
>:

> Hi Ilya,
>
>
>
> I’m getting this exception when calling ICache Get method to retrieve the
> object from the Cache. (The object has a DateTime property)
>
> I have no special configuration other than persistence enabled. In another
> project we didn’t use persistence and did not encounter this issue.
>
> Can you please clarify if this issue is only happening when using
> persistence? I’m going to try the IBinarizable approach from the docs.
>
>
>
> Thanks,
>
>
>
> Josh Katz
>
> Dodge & Cox | 415-262-7520
>
>
>
>
>
>
>
> *From:* Ilya Kasnacheev <ilya.kasnach...@gmail.com>
> *Sent:* Friday, May 21, 2021 2:02 AM
> *To:* user@ignite.apache.org
> *Subject:* Re: System.InvalidOperationException: 'No coercion operator is
> defined between types 'Apache.Ignite.Core.Impl.Binary.BinaryObjectBuilder'
> and 'System.DateTime'
>
>
>
> *This is an EXTERNAL EMAIL. Stop and think before clicking a link or
> opening attachments.*
>
> Hello!
>
>
>
> For starters, it looks like you're putting a BinaryObjectBuilder into
> cache instead of BinaryObjectBilder.Build() return value.
>
>
>
> Regards,
>
> --
>
> Ilya Kasnacheev
>
>
>
>
>
> пт, 21 мая 2021 г. в 01:46, Josh Katz <
> josh.katz.contrac...@dodgeandcox.com>:
>
> Using .NET UnitTest to connect to the cluster and persistence enabled.
>
> Put works without errors. When calling Get we get the following exception:
>
> System.InvalidOperationException: 'No coercion operator is defined between
> types 'Apache.Ignite.Core.Impl.Binary.BinaryObjectBuilder' and
> 'System.DateTime'
>
>
>
> We are using System.Runtime.Serialization for the DateTime property with
> DataMemberAttribute.
>
>
>
> Thanks,
>
>
>
> *Josh Katz*
>
> *Dodge & Cox*
>
> 555 California Street | 40th floor | San Francisco, CA 94104
>
> 415-262-7520
>
>
>
> josh.katz.contrac...@dodgeandcox.com
>
> www.dodgeandcox.com
>
>
>
>
> ------------------------------
>
> Please follow the hyperlink to important disclosures.
> https://www.dodgeandcox.com/disclosures/email_disclosure_funds.html
>
>

Reply via email to