[ 
https://issues.apache.org/jira/browse/IGNITE-25078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-25078:
------------------------------------
    Summary: .NET: InvalidProgramException on System.DateTime mapping  (was: 
InvalidProgramException on System.DateTime mapping on .NET platform)

> .NET: InvalidProgramException on System.DateTime mapping
> --------------------------------------------------------
>
>                 Key: IGNITE-25078
>                 URL: https://issues.apache.org/jira/browse/IGNITE-25078
>             Project: Ignite
>          Issue Type: Bug
>          Components: .NET
>    Affects Versions: 3.0
>            Reporter: Eduard Rakhmankulov
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.1
>
>
> Provided you have a table Person with timestamp column birthday and 
> corresponding class where timestamp column mapped to DateTime field.
> {code:c#}
> class Person {
>   string name;
>   DateTime birthday;
> }
> {code}
> When quering through this table using mentioned class 
> (ISql#ExecuteAsync<Person>) causes exception:
> {code}
> Unhandled exception. System.AggregateException: One or more errors occurred. 
> (Common Language Runtime detected an invalid program.)
>  ---> System.InvalidProgramException: Common Language Runtime detected an 
> invalid program.
>    at 
> UninitializedObjectFromBinaryTupleReader_Hatch.Dpd.Ignite.Data.Model.Objects.ObjectPropertyMapping_1(IReadOnlyList`1,
>  BinaryTupleReader&)
>    at Apache.Ignite.Internal.Sql.ResultSet`1.ReadRow(IReadOnlyList`1 cols, 
> MsgPackReader& reader)
>    at 
> Apache.Ignite.Internal.Sql.ResultSet`1.<>c__DisplayClass37_0.<<EnumerateRows>g__EnumeratePage|0>d.MoveNext()
>    at Apache.Ignite.Internal.Sql.ResultSet`1.EnumerateRows()+MoveNext()
>    at 
> Apache.Ignite.Internal.Sql.ResultSet`1.EnumerateRows()+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to