[ 
https://issues.apache.org/jira/browse/IGNITE-16308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481082#comment-17481082
 ] 

Ali Ferda Arikan edited comment on IGNITE-16308 at 1/24/22, 1:26 PM:
---------------------------------------------------------------------

Thanks for looking into this. I was trying to build a reproducer as [~isapego] 
recommended.  

Maybe to give some background information.

Normally we deploy our cluster to a kubernetes environment with .net, docker 
images running an ubuntu base. I wasn't getting a stable environment with 2.12 
so I tried to see what is going on locally and came accross this issue. Maybe 
it was a red herring due to my local environment. 

 

My initial attempt with a simple console application in C# with an Ignite 
instance didn't produce the error. I was experimenting with setting the config 
to see if I can reproduce. I will manually clean all binaries as well as 
user/nuget folder to make sure it is a fresh environment.

 

I will also make an attempt to deploy our docker image with 2.12 to have a 
closer inspection.


was (Author: JIRAUSER283605):
Thanks for looking into this. I was trying to build a reproducer as [~isapego] 
recommended.  

Maybe to give some background information. We deploy the cluster to cloud using 
dotnet docker linux images

Normally we deploy our cluster to a kubernetes environment with .net, docker 
images running an ubuntu base. I wasn't getting a stable environment with 2.12 
so I tried to see what is going on locally and came accross this issue. Maybe 
it was a red herring due to my local environment. 

 

My initial attempt with a simple console application in C# with an Ignite 
instance didn't produce the error. I was experimenting with setting the config 
to see if I can reproduce. I will manually clean all binaries as well as 
user/nuget folder to make sure it is a fresh environment.

 

I will also make an attempt to deploy our docker image with 2.12 to have a 
closer inspection.

> BinaryObjectException: Unexpected field type [pos=354, expected=String, 
> actual=0]
> ---------------------------------------------------------------------------------
>
>                 Key: IGNITE-16308
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16308
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.12
>            Reporter: Ali Ferda Arikan
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: newbie
>
> Getting BinaryObjectException error as shown below when running an ignite 
> node using version 2.12. This works fine with version 2.11, it seems the 
> error is coming from readDataRegionConfiguration but I don't have any more 
> information or ways to debug the issue. 
> {code:java}
> class org.apache.ignite.binary.BinaryObjectException: Unexpected field type 
> [pos=354, expected=String, actual=0]
>     at 
> org.apache.ignite.internal.binary.BinaryReaderExImpl.checkFlagNoHandles(BinaryReaderExImpl.java:1684)
>     at 
> org.apache.ignite.internal.binary.BinaryReaderExImpl.readString(BinaryReaderExImpl.java:1058)
>     at 
> org.apache.ignite.internal.processors.platform.utils.PlatformConfigurationUtils.readDataRegionConfiguration(PlatformConfigurationUtils.java:2303)
>     at 
> org.apache.ignite.internal.processors.platform.utils.PlatformConfigurationUtils.readDataStorageConfiguration(PlatformConfigurationUtils.java:2082)
>     at 
> org.apache.ignite.internal.processors.platform.utils.PlatformConfigurationUtils.readIgniteConfiguration(PlatformConfigurationUtils.java:919)
>     at 
> org.apache.ignite.internal.processors.platform.dotnet.PlatformDotNetConfigurationClosure.processPrepareResult(PlatformDotNetConfigurationClosure.java:195)
>     at 
> org.apache.ignite.internal.processors.platform.dotnet.PlatformDotNetConfigurationClosure.prepare(PlatformDotNetConfigurationClosure.java:182)
>     at 
> org.apache.ignite.internal.processors.platform.dotnet.PlatformDotNetConfigurationClosure.apply0(PlatformDotNetConfigurationClosure.java:110)
>     at 
> org.apache.ignite.internal.processors.platform.PlatformAbstractConfigurationClosure.apply(PlatformAbstractConfigurationClosure.java:50)
>     at 
> org.apache.ignite.internal.processors.platform.PlatformAbstractConfigurationClosure.apply(PlatformAbstractConfigurationClosure.java:27)
>     at 
> org.apache.ignite.internal.processors.platform.PlatformAbstractBootstrap.start(PlatformAbstractBootstrap.java:40)
>     at 
> org.apache.ignite.internal.processors.platform.PlatformIgnition.start(PlatformIgnition.java:74)
>  {code}
>  
> This PR might be related with the error as I don't see the changes in the 
> nuget package: https://github.com/apache/ignite/pull/9612/files



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to