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

Pavel Tupitsyn edited comment on IGNITE-16308 at 1/24/22, 12:08 PM:
--------------------------------------------------------------------

Linked pull request 9612 is from IGNITE-15998, which has fix version of 2.13 
and is not included in 2.12.

This error likely indicates that .NET binaries from one version are used with 
Java binaries from another (e.g. a mashup of 2.11 and 2.12).
[~ferdaarikan] please make sure to update all binaries when switching versions. 
If you use NuGet, perform a clean rebuild and check the bin folder.

I've double-checked and Ignite.NET 2.12 starts fine with a custom data region 
configuration.


was (Author: ptupitsyn):
Linked pull request 9612 is from IGNITE-15998, which has fix version of 2.13 
and is not included in 2.12.

This error likely indicates that .NET binaries from one version are used with 
Java binaries from another (e.g. a mashup of 2.11 and 2.12).
[~ferdaarikan] please make sure to update all binaries when switching versions. 
If you use NuGet, perform a clean rebuild and check the bin folder.

> 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